diff options
author | Rob Landley <rob@landley.net> | 2016-02-29 11:21:43 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-02-29 11:21:43 -0600 |
commit | 4b141e67eefc396687f22f8c136267c0f8081e05 (patch) | |
tree | 29811b3e46116ca0ae7650e3a46acb3dcc2f039c /scripts/mktags.c | |
parent | 44c7958214e1690e820aaddf808267e0bf78df46 (diff) | |
download | toybox-4b141e67eefc396687f22f8c136267c0f8081e05.tar.gz |
Fix a typo from last time, and Isaac Dunham's todo list:
- per POSIX, 'cannot open' must be in the 'type' string if open() fails
(both EPERM and ENOENT); we only do that if open() succeeds and fstat(fd)
fails.
- symlink detection (as per POSIX) won't work: opening them O_RDONLY
results in following the link, then we fstat() the fd.
- file 'FIFO' causes a hang; open() won't return till there's a writer.
Diffstat (limited to 'scripts/mktags.c')
0 files changed, 0 insertions, 0 deletions