comparison toys/which.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 bb6048c923ec
comparison
equal deleted inserted replaced
89:4f5cdc6552da 90:7c77c6ec17ee
59 if (!*toys.optargs) rc++; 59 if (!*toys.optargs) rc++;
60 else { 60 else {
61 int i; 61 int i;
62 for (i=0; toys.optargs[i]; i++) rc |= which_in_path(toys.optargs[i]); 62 for (i=0; toys.optargs[i]; i++) rc |= which_in_path(toys.optargs[i]);
63 } 63 }
64 // if (CFG_TOYS_FREE) free(argv); 64 // if (CFG_TOYBOX_FREE) free(argv);
65 65
66 return rc; 66 return rc;
67 } 67 }