diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-05-22 19:23:35 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-05-22 19:23:35 +0000 |
commit | 816867858b90485df6c304673cbd01d9664007b4 (patch) | |
tree | a00c332baec5f573c657a545a31cea542dd874fb | |
parent | 94ac244dea54fca088b12665bc5862875c43e8c2 (diff) | |
download | busybox-w32-816867858b90485df6c304673cbd01d9664007b4.tar.gz busybox-w32-816867858b90485df6c304673cbd01d9664007b4.tar.bz2 busybox-w32-816867858b90485df6c304673cbd01d9664007b4.zip |
Oops. Remove some debug noise I left in.
-rw-r--r-- | hush.c | 6 | ||||
-rw-r--r-- | shell/hush.c | 6 |
2 files changed, 2 insertions, 10 deletions
@@ -2473,7 +2473,7 @@ void update_ifs_map(void) | |||
2473 | * The map[] array only really needs two bits each, and on most machines | 2473 | * The map[] array only really needs two bits each, and on most machines |
2474 | * that would be faster because of the reduced L1 cache footprint. | 2474 | * that would be faster because of the reduced L1 cache footprint. |
2475 | */ | 2475 | */ |
2476 | memset(map,0,256); /* most characters flow through always */ | 2476 | memset(map,0,sizeof(map)); /* most characters flow through always */ |
2477 | mapset("\\$'\"`", 3); /* never flow through */ | 2477 | mapset("\\$'\"`", 3); /* never flow through */ |
2478 | mapset("<>;&|(){}#", 1); /* flow through if quoted */ | 2478 | mapset("<>;&|(){}#", 1); /* flow through if quoted */ |
2479 | mapset(ifs, 2); /* also flow through if quoted */ | 2479 | mapset(ifs, 2); /* also flow through if quoted */ |
@@ -2541,10 +2541,6 @@ int shell_main(int argc, char **argv) | |||
2541 | struct jobset joblist_end = { NULL, NULL }; | 2541 | struct jobset joblist_end = { NULL, NULL }; |
2542 | char **e = environ; | 2542 | char **e = environ; |
2543 | 2543 | ||
2544 | /* FIXME */ | ||
2545 | fprintf(stderr, "sizeof(map)=%d\n", sizeof(map)); | ||
2546 | |||
2547 | |||
2548 | /* XXX what should these be while sourcing /etc/profile? */ | 2544 | /* XXX what should these be while sourcing /etc/profile? */ |
2549 | global_argc = argc; | 2545 | global_argc = argc; |
2550 | global_argv = argv; | 2546 | global_argv = argv; |
diff --git a/shell/hush.c b/shell/hush.c index 2b100983e..46f1a77bd 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -2473,7 +2473,7 @@ void update_ifs_map(void) | |||
2473 | * The map[] array only really needs two bits each, and on most machines | 2473 | * The map[] array only really needs two bits each, and on most machines |
2474 | * that would be faster because of the reduced L1 cache footprint. | 2474 | * that would be faster because of the reduced L1 cache footprint. |
2475 | */ | 2475 | */ |
2476 | memset(map,0,256); /* most characters flow through always */ | 2476 | memset(map,0,sizeof(map)); /* most characters flow through always */ |
2477 | mapset("\\$'\"`", 3); /* never flow through */ | 2477 | mapset("\\$'\"`", 3); /* never flow through */ |
2478 | mapset("<>;&|(){}#", 1); /* flow through if quoted */ | 2478 | mapset("<>;&|(){}#", 1); /* flow through if quoted */ |
2479 | mapset(ifs, 2); /* also flow through if quoted */ | 2479 | mapset(ifs, 2); /* also flow through if quoted */ |
@@ -2541,10 +2541,6 @@ int shell_main(int argc, char **argv) | |||
2541 | struct jobset joblist_end = { NULL, NULL }; | 2541 | struct jobset joblist_end = { NULL, NULL }; |
2542 | char **e = environ; | 2542 | char **e = environ; |
2543 | 2543 | ||
2544 | /* FIXME */ | ||
2545 | fprintf(stderr, "sizeof(map)=%d\n", sizeof(map)); | ||
2546 | |||
2547 | |||
2548 | /* XXX what should these be while sourcing /etc/profile? */ | 2544 | /* XXX what should these be while sourcing /etc/profile? */ |
2549 | global_argc = argc; | 2545 | global_argc = argc; |
2550 | global_argv = argv; | 2546 | global_argv = argv; |