ash: fix warning about _GNU_SOURCE being redefined, fix typo in comment.
This commit is contained in:
parent
648b44fd78
commit
e26b2783a5
@ -51,8 +51,10 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
|
#ifndef _GNU_SOURCE
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#include "busybox.h" /* for applet_names */
|
#include "busybox.h" /* for applet_names */
|
||||||
#include <paths.h>
|
#include <paths.h>
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
@ -6500,7 +6502,7 @@ struct builtincmd {
|
|||||||
/* unsigned flags; */
|
/* unsigned flags; */
|
||||||
};
|
};
|
||||||
#define IS_BUILTIN_SPECIAL(b) ((b)->name[0] & 1)
|
#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 */
|
* regardless of PATH=....%builtin... position */
|
||||||
#define IS_BUILTIN_REGULAR(b) ((b)->name[0] & 2)
|
#define IS_BUILTIN_REGULAR(b) ((b)->name[0] & 2)
|
||||||
#define IS_BUILTIN_ASSIGN(b) ((b)->name[0] & 4)
|
#define IS_BUILTIN_ASSIGN(b) ((b)->name[0] & 4)
|
||||||
|
Loading…
Reference in New Issue
Block a user