Mercurial > hg > toybox
comparison toys/toysh.c @ 90:7c77c6ec17ee
Add "make defconfig". Modify global options to start with CONFIG_TOYBOX_.
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 31 Jan 2007 14:37:01 -0500 |
parents | eb46bb5626cb |
children | 19b5567f0a1b |
comparison
equal
deleted
inserted
replaced
89:4f5cdc6552da | 90:7c77c6ec17ee |
---|---|
210 for (;;) { | 210 for (;;) { |
211 if (!f) putchar('$'); | 211 if (!f) putchar('$'); |
212 if (1 > getline(&command, &cmdlen, f ? : stdin)) break; | 212 if (1 > getline(&command, &cmdlen, f ? : stdin)) break; |
213 handle(command); | 213 handle(command); |
214 } | 214 } |
215 if (CFG_TOYS_FREE) free(command); | 215 if (CFG_TOYBOX_FREE) free(command); |
216 } | 216 } |
217 | 217 |
218 return 1; | 218 return 1; |
219 } | 219 } |