diff options
author | Rob Landley <rob@landley.net> | 2007-01-31 14:37:01 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2007-01-31 14:37:01 -0500 |
commit | de05a7024f4be6826d05c40aa029fe2bbf6d2818 (patch) | |
tree | d4e96051360dd047d2fccbc6b4b1e6773b2c2199 /toys | |
parent | bcfad872188d993efc8d1da4b79058b69e43f019 (diff) | |
download | toybox-de05a7024f4be6826d05c40aa029fe2bbf6d2818.tar.gz |
Add "make defconfig". Modify global options to start with CONFIG_TOYBOX_.
Diffstat (limited to 'toys')
-rw-r--r-- | toys/catv.c | 2 | ||||
-rw-r--r-- | toys/df.c | 2 | ||||
-rw-r--r-- | toys/pwd.c | 2 | ||||
-rw-r--r-- | toys/toysh.c | 2 | ||||
-rw-r--r-- | toys/which.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/toys/catv.c b/toys/catv.c index 9097c065..ee23061d 100644 --- a/toys/catv.c +++ b/toys/catv.c @@ -53,7 +53,7 @@ int catv_main(void) putchar(c); } } - if (CFG_TOYS_FREE && fd) close(fd); + if (CFG_TOYBOX_FREE && fd) close(fd); } while (*++argv); return retval; @@ -113,7 +113,7 @@ int df_main(void) } } - if (CFG_TOYS_FREE) llist_free(mtlist, NULL); + if (CFG_TOYBOX_FREE) llist_free(mtlist, NULL); return 0; } @@ -10,7 +10,7 @@ int pwd_main(void) char *pwd = xgetcwd(); xprintf("%s\n", pwd); - if (CFG_TOYS_FREE) free(pwd); + if (CFG_TOYBOX_FREE) free(pwd); return 0; } diff --git a/toys/toysh.c b/toys/toysh.c index 074907ef..c383b89a 100644 --- a/toys/toysh.c +++ b/toys/toysh.c @@ -212,7 +212,7 @@ int toysh_main(void) if (1 > getline(&command, &cmdlen, f ? : stdin)) break; handle(command); } - if (CFG_TOYS_FREE) free(command); + if (CFG_TOYBOX_FREE) free(command); } return 1; diff --git a/toys/which.c b/toys/which.c index 16e19d00..df7566c0 100644 --- a/toys/which.c +++ b/toys/which.c @@ -61,7 +61,7 @@ int which_main(void) int i; for (i=0; toys.optargs[i]; i++) rc |= which_in_path(toys.optargs[i]); } - // if (CFG_TOYS_FREE) free(argv); + // if (CFG_TOYBOX_FREE) free(argv); return rc; } |