Paul Eggert <[EMAIL PROTECTED]> wrote:
> Please let me know if there are problems (there will undoubtedly
> be some, as it's a disruptive change)....
One small bit of fallout:
2006-08-21 Jim Meyering <[EMAIL PROTECTED]>
* src/od.c: Now that HAVE_UNSIGNED_LONG_LONG is no longer defined
in config.h, change the uses to HAVE_UNSIGNED_LONG_LONG_INT.
Otherwise, on a system with 4-byte longs, "od -t u8" fails with this:
od: invalid type string `u8';
this system doesn't provide a 8-byte integral type
FIXME: add a test for this, but skip it when sizeof uintmax < 8.
Index: src/od.c
===================================================================
RCS file: /fetish/cu/src/od.c,v
retrieving revision 1.170
diff -u -r1.170 od.c
--- src/od.c 9 Jul 2006 17:08:55 -0000 1.170
+++ src/od.c 21 Aug 2006 13:18:37 -0000
@@ -1,5 +1,5 @@
/* od -- dump files in octal and other formats
- Copyright (C) 92, 1995-2005 Free Software Foundation, Inc.
+ Copyright (C) 92, 1995-2006 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -59,7 +59,7 @@
# define LDBL_DIG DBL_DIG
#endif
-#if HAVE_UNSIGNED_LONG_LONG
+#if HAVE_UNSIGNED_LONG_LONG_INT
typedef unsigned long long int unsigned_long_long_int;
#else
/* This is just a place-holder to avoid a few `#if' directives.
@@ -1581,7 +1581,7 @@
integral_type_size[sizeof (short int)] = SHORT;
integral_type_size[sizeof (int)] = INT;
integral_type_size[sizeof (long int)] = LONG;
-#if HAVE_UNSIGNED_LONG_LONG
+#if HAVE_UNSIGNED_LONG_LONG_INT
/* If `long int' and `long long int' have the same size, it's fine
to overwrite the entry for `long' with this one. */
integral_type_size[sizeof (unsigned_long_long_int)] = LONG_LONG;
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils