diff options
author | jh <jh@FreeBSD.org> | 2011-02-07 18:10:18 +0000 |
---|---|---|
committer | jh <jh@FreeBSD.org> | 2011-02-07 18:10:18 +0000 |
commit | d8708af48420e2edefa6527dd71ac07b1c5353eb (patch) | |
tree | a18d4881fa1efcaf161e542ce94b84e29f6815c4 /sbin/devfs/devfs.c | |
parent | c19aa41514f081f5b93a92ac8186335bcf420acf (diff) | |
download | FreeBSD-src-d8708af48420e2edefa6527dd71ac07b1c5353eb.zip FreeBSD-src-d8708af48420e2edefa6527dd71ac07b1c5353eb.tar.gz |
- Use LINE_MAX from limits.h as the maximum line length instead of
BUFSIZ. Use LINE_MAX * 2 as the buffer size (BSIZE).
- Error out if we encounter a line longer than LINE_MAX. The previous
behavior was to silently split long lines and produce corrupted
output.
PR: bin/151384
Diffstat (limited to 'sbin/devfs/devfs.c')
0 files changed, 0 insertions, 0 deletions