aboutsummaryrefslogtreecommitdiffstats
path: root/lib/linebuffer.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-07-08 21:48:07 +0000
committerJim Meyering <jim@meyering.net>2000-07-08 21:48:07 +0000
commit3f94561e84d2b74a4003036dfec46b8c82d56798 (patch)
tree3aa2853857d388b31bce04d933563e3b0ff73dd8 /lib/linebuffer.c
parent*** empty log message *** (diff)
downloadcoreutils-3f94561e84d2b74a4003036dfec46b8c82d56798.tar.gz
coreutils-3f94561e84d2b74a4003036dfec46b8c82d56798.zip
(xgethostname): Protect against the SunOS5.5 bug
by allocating a larger buffer. Test the gethostname return value for being >= 0, not == 0, for BeOS. Don't exhaust memory if gethostname returns an error and ENAMETOOLONG isn't defined.
Diffstat (limited to 'lib/linebuffer.c')
0 files changed, 0 insertions, 0 deletions