summaryrefslogtreecommitdiff
path: root/src/mknod.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 /src/mknod.c
parentc85595bddfde2edcf864877aac77d1e14e684dd6 (diff)
downloadcoreutils-3f94561e84d2b74a4003036dfec46b8c82d56798.tar.xz
(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 'src/mknod.c')
0 files changed, 0 insertions, 0 deletions