diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2005-08-10 00:42:10 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2005-08-10 00:42:10 +0000 |
commit | 86039bd4136a48050ac1fe7521180bf967f22569 (patch) | |
tree | c78d9187ac59ca9a7eea478d6d25107aa4e776a8 /lib/libc | |
parent | bbdd33e5ecee3792bd6e1f7f5fe3492acf7fa763 (diff) |
Call open(2) with O_NONBLOCK and O_NOFOLLOW to make sure mtree can't
be halted by a FIFO or special device.
Use fgetln() instead of fgets() to handle arbitrarily long lines.
If a line starts with a comment char, don't check for line continuation char.
Adapted from a diff by Solar Designer. OK deraadt@ henning@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions