aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-02-12 07:40:29 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-02-12 07:40:29 +0000
commite26b2783a5d8e69d14e5531244c4f2c93312e715 (patch)
tree65649191937df813732eda47200d1fb8faba3a7e /shell
parent648b44fd785f8d23e363886ff306e8ef70d148ba (diff)
downloadbusybox-w32-e26b2783a5d8e69d14e5531244c4f2c93312e715.tar.gz
busybox-w32-e26b2783a5d8e69d14e5531244c4f2c93312e715.tar.bz2
busybox-w32-e26b2783a5d8e69d14e5531244c4f2c93312e715.zip
ash: fix warning about _GNU_SOURCE being redefined, fix typo in comment.
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index a877b5bab..0634f1868 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -51,8 +51,10 @@
51#endif 51#endif
52 52
53#if DEBUG 53#if DEBUG
54#ifndef _GNU_SOURCE
54#define _GNU_SOURCE 55#define _GNU_SOURCE
55#endif 56#endif
57#endif
56#include "busybox.h" /* for applet_names */ 58#include "busybox.h" /* for applet_names */
57#include <paths.h> 59#include <paths.h>
58#include <setjmp.h> 60#include <setjmp.h>
@@ -6500,7 +6502,7 @@ struct builtincmd {
6500 /* unsigned flags; */ 6502 /* unsigned flags; */
6501}; 6503};
6502#define IS_BUILTIN_SPECIAL(b) ((b)->name[0] & 1) 6504#define IS_BUILTIN_SPECIAL(b) ((b)->name[0] & 1)
6503/* "regular" bltins always take precedence over commands, 6505/* "regular" builtins always take precedence over commands,
6504 * regardless of PATH=....%builtin... position */ 6506 * regardless of PATH=....%builtin... position */
6505#define IS_BUILTIN_REGULAR(b) ((b)->name[0] & 2) 6507#define IS_BUILTIN_REGULAR(b) ((b)->name[0] & 2)
6506#define IS_BUILTIN_ASSIGN(b) ((b)->name[0] & 4) 6508#define IS_BUILTIN_ASSIGN(b) ((b)->name[0] & 4)