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