[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] xstrtoimax, xstrtoumax #else #if -> #elif (from coreutils)
From: |
Paul Eggert |
Subject: |
[Bug-gnulib] xstrtoimax, xstrtoumax #else #if -> #elif (from coreutils) |
Date: |
16 Aug 2003 00:08:05 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
I installed this change from coreutils:
2003-08-16 Jim Meyering <address@hidden>
* xstrtoimax.c: #else #if -> #elif.
* xstrtoumax.c: Likewise.
Index: lib/xstrtoumax.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/xstrtoumax.c,v
retrieving revision 1.6
diff -p -u -r1.6 xstrtoumax.c
--- lib/xstrtoumax.c 6 Jan 2003 12:38:36 -0000 1.6
+++ lib/xstrtoumax.c 16 Aug 2003 07:01:51 -0000
@@ -1,5 +1,5 @@
/* xstrtoumax.c -- A more useful interface to strtoumax.
- Copyright 1999, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2003 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
@@ -23,10 +23,8 @@
#if HAVE_INTTYPES_H
# include <inttypes.h>
-#else
-# if HAVE_STDINT_H
-# include <stdint.h>
-# endif
+#elif HAVE_STDINT_H
+# include <stdint.h>
#endif
#define __strtol strtoumax
Index: lib/xstrtoimax.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/xstrtoimax.c,v
retrieving revision 1.2
diff -p -u -r1.2 xstrtoimax.c
--- lib/xstrtoimax.c 6 Jan 2003 12:38:36 -0000 1.2
+++ lib/xstrtoimax.c 16 Aug 2003 07:01:51 -0000
@@ -1,5 +1,5 @@
/* xstrtoimax.c -- A more useful interface to strtoimax.
- Copyright 2001-2002 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2003 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
@@ -23,10 +23,8 @@
#if HAVE_INTTYPES_H
# include <inttypes.h>
-#else
-# if HAVE_STDINT_H
-# include <stdint.h>
-# endif
+#elif HAVE_STDINT_H
+# include <stdint.h>
#endif
#define __strtol strtoimax
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-gnulib] xstrtoimax, xstrtoumax #else #if -> #elif (from coreutils),
Paul Eggert <=