Mercurial > hg > octave-lyh > gnulib-hg
changeset 4759:27c6099e6a9f
* strftime.c (tm_diff) [! HAVE_TM_GMTOFF]: Fix arg typo in previous patch.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 30 Sep 2003 06:11:03 +0000 |
parents | 4e83865160b8 |
children | 0bb62f52421d |
files | lib/ChangeLog lib/strftime.c |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2003-09-29 Paul Eggert <eggert@twinsun.com> + + * strftime.c (tm_diff) [! HAVE_TM_GMTOFF]: + Fix arg typo in previous patch. + 2003-09-28 Jim Meyering <jim@meyering.net> * error.c: Correct cpp indentation.
--- a/lib/strftime.c +++ b/lib/strftime.c @@ -273,7 +273,7 @@ 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,