diff options
| author | Jim Meyering <jim@meyering.net> | 2000-07-08 21:48:07 +0000 |
|---|---|---|
| committer | Jim Meyering <jim@meyering.net> | 2000-07-08 21:48:07 +0000 |
| commit | 3f94561e84d2b74a4003036dfec46b8c82d56798 (patch) | |
| tree | 3aa2853857d388b31bce04d933563e3b0ff73dd8 /lib/linebuffer.c | |
| parent | *** empty log message *** (diff) | |
| download | coreutils-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
