RE: wget 1.9 for windows: no debug support?

2003-10-27 Thread Herold Heiko
Confirmed, missed that. Updated binary available at the usual place.
This does the trick for the 1.9 tree.

Changelog: rename DEBUG to ENABLE_DEBUG in windows\config.h.{ms,bor}

diff -ubBr wget-1.9/windows/config.h.bor wget-1.9+debug/windows/config.h.bor
--- wget-1.9/windows/config.h.bor   Mon Oct 13 15:20:52 2003
+++ wget-1.9+debug/windows/config.h.bor Mon Oct 27 09:47:08 2003
@@ -76,7 +76,7 @@
 #define USE_DIGEST 1

 /* Define if you want the debug output support compiled in.  */
-#define DEBUG
+#define ENABLE_DEBUG

 /* Define if you have sys/time.h header. */
 #undef HAVE_SYS_TIME_H
diff -ubBr wget-1.9/windows/config.h.ms wget-1.9+debug/windows/config.h.ms
--- wget-1.9/windows/config.h.msMon Oct 13 15:20:52 2003
+++ wget-1.9+debug/windows/config.h.ms  Mon Oct 27 09:36:44 2003
@@ -55,7 +55,7 @@
 #define USE_DIGEST 1

 /* Define if you want the debug output support compiled in.  */
-#define DEBUG
+#define ENABLE_DEBUG

 /* Define if you have sys/time.h header. */
 #undef HAVE_SYS_TIME_H

Heiko

-- 
-- PREVINET S.p.A. www.previnet.it
-- Heiko Herold [EMAIL PROTECTED]
-- +39-041-5907073 ph
-- +39-041-5907472 fax

 -Original Message-
 From: Hrvoje Niksic [mailto:[EMAIL PROTECTED]
 Sent: Sunday, October 26, 2003 9:16 PM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: wget 1.9 for windows: no debug support?
 
 
 [EMAIL PROTECTED] writes:
 
  Well, to find out what was happening, I specified -d for the debug
  output. The message was: debug support not compiled in
 [...]
  Is this an oversight or does it serve a purpose?
 
 Heiko will know for sure, but it's most likely an oversight.  The
 Windows config.h.* files still enabled debugging with #define DEBUG,
 which has in the meantime been renamed to ENABLE_DEBUG.
 


Re: wget 1.9 for windows: no debug support?

2003-10-26 Thread Hrvoje Niksic
[EMAIL PROTECTED] writes:

 Well, to find out what was happening, I specified -d for the debug
 output. The message was: debug support not compiled in
[...]
 Is this an oversight or does it serve a purpose?

Heiko will know for sure, but it's most likely an oversight.  The
Windows config.h.* files still enabled debugging with #define DEBUG,
which has in the meantime been renamed to ENABLE_DEBUG.