svn commit: trunk/busybox/shell
vda at busybox.net
vda at busybox.net
Mon Feb 11 23:40:31 PST 2008
Author: vda
Date: 2008-02-11 23:40:29 -0800 (Mon, 11 Feb 2008)
New Revision: 20990
Log:
ash: fix warning about _GNU_SOURCE being redefined, fix typo in comment.
Modified:
trunk/busybox/shell/ash.c
Changeset:
Modified: trunk/busybox/shell/ash.c
===================================================================
--- trunk/busybox/shell/ash.c 2008-02-12 06:04:06 UTC (rev 20989)
+++ trunk/busybox/shell/ash.c 2008-02-12 07:40:29 UTC (rev 20990)
@@ -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)
More information about the busybox-cvs
mailing list