summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-07-08 22:57:09 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-07-08 22:57:09 +0000
commit1d0de4ba95893434ec576984ab232a0c6d361d01 (patch)
tree75848dfd09eb6318badcc2b6123546d28d59daca
parent648e937e89d85eac8b04494fb176e88b928c84d4 (diff)
downloadcoreutils-1d0de4ba95893434ec576984ab232a0c6d361d01.tar.xz
Fix porting problems reported by Eric Blake.
-rw-r--r--ChangeLog15
1 files changed, 14 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e73030873..0b105183c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,20 @@
-2005-07-05 Paul Eggert <eggert@cs.ucla.edu>
+2005-07-08 Paul Eggert <eggert@cs.ucla.edu>
* 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 <sys/ioctl.h>.
+
+ * src/id.c (print_user): Don't assume uid fits in unsigned int.
+ (print_group): Likewise, for gid.
+
+2005-07-05 Paul Eggert <eggert@cs.ucla.edu>
+
* src/system.h (DECIMAL_DIGIT_ACCUMULATE): Generate a hard error
(not just a warning) if GCC is used and the types don't match.