aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c
index ddac42895..b3d8feb0b 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -2654,7 +2654,7 @@ fix_pathvar(const char *path, int len)
2654} 2654}
2655 2655
2656#define BB_VAR_EXACT 1 /* exact match for name */ 2656#define BB_VAR_EXACT 1 /* exact match for name */
2657#define BB_VAR_ASSIGN 2 /* matches name followed by '=' */ 2657#define BB_VAR_ASSIGN -1 /* matches name followed by '=' */
2658 2658
2659/* Match variables that should be placed in the environment immediately 2659/* Match variables that should be placed in the environment immediately
2660 * they're exported and removed immediately they're no longer exported */ 2660 * they're exported and removed immediately they're no longer exported */
@@ -2688,7 +2688,6 @@ static struct var *
2688setvareq(char *s, int flags) 2688setvareq(char *s, int flags)
2689{ 2689{
2690 struct var *vp, **vpp; 2690 struct var *vp, **vpp;
2691
2692#if ENABLE_PLATFORM_MINGW32 2691#if ENABLE_PLATFORM_MINGW32
2693 const char *paths = "PATH=\0""CDPATH=\0""MANPATH=\0"; 2692 const char *paths = "PATH=\0""CDPATH=\0""MANPATH=\0";
2694 const char *p; 2693 const char *p;