summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-08-10 00:42:10 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-08-10 00:42:10 +0000
commit86039bd4136a48050ac1fe7521180bf967f22569 (patch)
treec78d9187ac59ca9a7eea478d6d25107aa4e776a8 /lib/libc
parentbbdd33e5ecee3792bd6e1f7f5fe3492acf7fa763 (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