Return to strip.c CVS log | Up to [local] / src / usr.bin / strip |
version 1.7, 1997/02/09 16:37:13 | version 1.8, 1997/04/03 19:33:50 | ||
---|---|---|---|
|
|
||
argv += optind; | argv += optind; | ||
errors = 0; | errors = 0; | ||
#define ERROR(x) errors |= 1; warn(fn); continue; | #define ERROR(x) errors |= 1; warnx("%s: %s", fn, strerror(x)); continue; | ||
while (fn = *argv++) { | while (fn = *argv++) { | ||
if ((fd = open(fn, O_RDWR)) < 0) { | if ((fd = open(fn, O_RDWR)) < 0) { | ||
ERROR(errno); | ERROR(errno); |