Fixes warning about _GNU_SOURCE being redefined.
Typo in comment.

Cheers,

-- 
Cristian
Index: shell/ash.c
===================================================================
--- shell/ash.c	(revision 20984)
+++ shell/ash.c	(working copy)
@@ -51,8 +51,10 @@
 #endif
 
 #if DEBUG
+#ifndef _GNU_SOURCE
 #define _GNU_SOURCE
 #endif
+#endif
 #include "busybox.h" /* for applet_names */
 #include <paths.h>
 #include <setjmp.h>
@@ -6500,7 +6502,7 @@
 	/* unsigned flags; */
 };
 #define IS_BUILTIN_SPECIAL(b) ((b)->name[0] & 1)
-/* "regular" bltins always take precedence over commands,
+/* "regular" builtins always take precedence over commands,
  * regardless of PATH=....%builtin... position */
 #define IS_BUILTIN_REGULAR(b) ((b)->name[0] & 2)
 #define IS_BUILTIN_ASSIGN(b)  ((b)->name[0] & 4)
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to