aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-02-29 11:21:43 -0600
committerRob Landley <rob@landley.net>2016-02-29 11:21:43 -0600
commit4b141e67eefc396687f22f8c136267c0f8081e05 (patch)
tree29811b3e46116ca0ae7650e3a46acb3dcc2f039c /main.c
parent44c7958214e1690e820aaddf808267e0bf78df46 (diff)
downloadtoybox-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 'main.c')
0 files changed, 0 insertions, 0 deletions