bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnulib] strftime.c typo fix for ! HAVE_TM_GMTOFF hosts


From: Paul Eggert
Subject: [Bug-gnulib] strftime.c typo fix for ! HAVE_TM_GMTOFF hosts
Date: 29 Sep 2003 23:37:17 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

I installed this fix to a typo in recent strftime.c changes to
!HAVE_TM_GMTOFF hosts.

2003-09-29  Paul Eggert  <address@hidden>

        * strftime.c (tm_diff) [! HAVE_TM_GMTOFF]:
        Fix arg typo in previous patch.

Index: strftime.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/strftime.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -p -u -r1.73 -r1.74
--- strftime.c  12 Sep 2003 19:22:07 -0000      1.73
+++ strftime.c  30 Sep 2003 06:11:03 -0000      1.74
@@ -273,7 +273,7 @@ memcpy_uppcase (CHAR_T *dest, const CHAR
    measured in seconds, ignoring leap seconds.  */
 # define tm_diff ftime_tm_diff
 static int
-tm_diff (const struct tm *, const struct tm *)
+tm_diff (const struct tm *a, const struct tm *b)
 {
   /* Compute intervening leap days correctly even if year is negative.
      Take care to avoid int overflow in leap day calculations,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]