From: Paul Eggert Date: Fri, 8 Jul 2005 22:57:09 +0000 (+0000) Subject: Fix porting problems reported by Eric Blake. X-Git-Tag: CPPI-1_12~287 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1d0de4ba95893434ec576984ab232a0c6d361d01;p=thirdparty%2Fcoreutils.git Fix porting problems reported by Eric Blake. --- diff --git a/ChangeLog b/ChangeLog index e73030873e..0b105183c9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,20 @@ -2005-07-05 Paul Eggert +2005-07-08 Paul Eggert * Version 5.3.1. + Fix porting problems reported by Eric Blake. + + * configure.ac: Add check for HAVE_FIONREAD_IN_SYS_IOCTL. + * src/cat.c, src/ls.c, src/stty.c: Include stropt.h if available, + because POSIX says that's where ioctl is declared. + * src/cat.c: Use HAVE_FIONREAD_IN_SYS_IOCTL instead of _POSIX_SOURCE + to decide whether to include . + + * src/id.c (print_user): Don't assume uid fits in unsigned int. + (print_group): Likewise, for gid. + +2005-07-05 Paul Eggert + * src/system.h (DECIMAL_DIGIT_ACCUMULATE): Generate a hard error (not just a warning) if GCC is used and the types don't match.