diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-02 21:52:07 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-02 21:52:07 +0000 |
commit | c87d825fd35999ef6d23ccceafe154d1ee5c4ef2 (patch) | |
tree | f503cd6dffaf8a90329ee11d26398d414ac66832 /INSTALL | |
parent | 27454c431f877bc8c4d5e71f5d0d1b244b681d46 (diff) | |
download | coreutils-c87d825fd35999ef6d23ccceafe154d1ee5c4ef2.tar.xz |
Don't include <sys/types.h> or "exit.h"; no longer needed.
(errno): Remove decl; we now assume C89 or better.
Include unistd.h if available, for gethostname.
(ENAMETOOLONG): Define to 0, not 9999, to avoid colliding with
existing errno values if any.
(gethostname): Remove decl, since unistd.h declares it (or doesn't,
in which case it's an older system and it should just work).
(xgethostname): Don't assume host name length is less than INT_MAX.
Exit if malloc fails, just as the comment says.
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions