Roman Rakus 0e58898
diff -up bash-4.0-rc1/error.h.no_debug_output bash-4.0-rc1/error.h
Roman Rakus 0e58898
--- bash-4.0-rc1/error.h.no_debug_output	2009-01-08 14:32:45.000000000 +0100
Roman Rakus 0e58898
+++ bash-4.0-rc1/error.h	2009-01-29 14:39:16.000000000 +0100
Roman Rakus 0e58898
@@ -51,8 +51,10 @@ extern void internal_error __P((const ch
Roman Rakus 0e58898
 extern void internal_warning __P((const char *, ...))  __attribute__((__format__ (printf, 1, 2)));
Roman Rakus 0e58898
 
Roman Rakus 0e58898
 /* Debugging functions, not enabled in released version. */
Roman Rakus 0e58898
+#if defined (DEBUG)
Roman Rakus 0e58898
 extern void itrace __P((const char *, ...)) __attribute__ ((__format__ (printf, 1, 2)));
Roman Rakus 0e58898
 extern void trace __P((const char *, ...)) __attribute__ ((__format__ (printf, 1, 2)));
Roman Rakus 0e58898
+#endif
Roman Rakus 0e58898
 
Roman Rakus 0e58898
 /* Report an error having to do with command parsing or execution. */
Roman Rakus 0e58898
 extern void command_error __P((const char *, int, int, int));
Roman Rakus 0e58898
diff -up bash-4.0-rc1/builtins/evalstring.c.no_debug_output bash-4.0-rc1/builtins/evalstring.c
Roman Rakus 0e58898
--- bash-4.0-rc1/builtins/evalstring.c.no_debug_output	2009-01-04 20:32:22.000000000 +0100
Roman Rakus 0e58898
+++ bash-4.0-rc1/builtins/evalstring.c	2009-01-29 14:39:16.000000000 +0100
Roman Rakus 0e58898
@@ -268,7 +268,9 @@ parse_and_execute (string, from_file, fl
Roman Rakus 87b6511
 	      if ((subshell_environment & SUBSHELL_COMSUB) && comsub_ignore_return)
Roman Rakus 87b6511
 {
Roman Rakus 87b6511
 		command->flags |= CMD_IGNORE_RETURN;
Roman Rakus 0e58898
+#if defined (DEBUG)
Roman Rakus 0e58898
 itrace("parse_and_execute: turned on CMD_IGNORE_RETURN from comsub_ignore_return");
Roman Rakus 0e58898
+#endif
Roman Rakus 87b6511
 }
Roman Rakus 87b6511
 
Roman Rakus 87b6511
 #if defined (ONESHOT)
Roman Rakus 0e58898
diff -up bash-4.0-rc1/Makefile.in.no_debug_output bash-4.0-rc1/Makefile.in
Roman Rakus 0e58898
--- bash-4.0-rc1/Makefile.in.no_debug_output	2009-01-29 14:40:11.000000000 +0100
Roman Rakus 0e58898
+++ bash-4.0-rc1/Makefile.in	2009-01-29 14:40:54.000000000 +0100
Roman Rakus 0e58898
@@ -112,7 +112,7 @@ VENDOR = @host_vendor@
Roman Rakus 0e58898
 MACHTYPE = @host@
Roman Rakus 0e58898
 
Roman Rakus 0e58898
 # comment out for release
Roman Rakus 0e58898
-DEBUG = @DEBUG@
Roman Rakus 0e58898
+#DEBUG = @DEBUG@
Roman Rakus 0e58898
 MALLOC_DEBUG = @MALLOC_DEBUG@
Roman Rakus 0e58898
 
Roman Rakus 0e58898
 THIS_SH = $(BUILD_DIR)/$(Program)