Oops. Remove some debug noise I left in.
This commit is contained in:
parent
94ac244dea
commit
816867858b
6
hush.c
6
hush.c
@ -2473,7 +2473,7 @@ void update_ifs_map(void)
|
|||||||
* The map[] array only really needs two bits each, and on most machines
|
* The map[] array only really needs two bits each, and on most machines
|
||||||
* that would be faster because of the reduced L1 cache footprint.
|
* 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("\\$'\"`", 3); /* never flow through */
|
||||||
mapset("<>;&|(){}#", 1); /* flow through if quoted */
|
mapset("<>;&|(){}#", 1); /* flow through if quoted */
|
||||||
mapset(ifs, 2); /* also 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 };
|
struct jobset joblist_end = { NULL, NULL };
|
||||||
char **e = environ;
|
char **e = environ;
|
||||||
|
|
||||||
/* FIXME */
|
|
||||||
fprintf(stderr, "sizeof(map)=%d\n", sizeof(map));
|
|
||||||
|
|
||||||
|
|
||||||
/* XXX what should these be while sourcing /etc/profile? */
|
/* XXX what should these be while sourcing /etc/profile? */
|
||||||
global_argc = argc;
|
global_argc = argc;
|
||||||
global_argv = argv;
|
global_argv = argv;
|
||||||
|
@ -2473,7 +2473,7 @@ void update_ifs_map(void)
|
|||||||
* The map[] array only really needs two bits each, and on most machines
|
* The map[] array only really needs two bits each, and on most machines
|
||||||
* that would be faster because of the reduced L1 cache footprint.
|
* 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("\\$'\"`", 3); /* never flow through */
|
||||||
mapset("<>;&|(){}#", 1); /* flow through if quoted */
|
mapset("<>;&|(){}#", 1); /* flow through if quoted */
|
||||||
mapset(ifs, 2); /* also 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 };
|
struct jobset joblist_end = { NULL, NULL };
|
||||||
char **e = environ;
|
char **e = environ;
|
||||||
|
|
||||||
/* FIXME */
|
|
||||||
fprintf(stderr, "sizeof(map)=%d\n", sizeof(map));
|
|
||||||
|
|
||||||
|
|
||||||
/* XXX what should these be while sourcing /etc/profile? */
|
/* XXX what should these be while sourcing /etc/profile? */
|
||||||
global_argc = argc;
|
global_argc = argc;
|
||||||
global_argv = argv;
|
global_argv = argv;
|
||||||
|
Loading…
Reference in New Issue
Block a user