Fix for PR libc/1591
Andreas Jaeger
aj@suse.de
Wed Feb 9 00:54:00 GMT 2000
I'm appending a patch for a small typo. The patch is against glibc
2.1.3 and should go into both branches.
Andreas
2000-02-09 Andreas Jaeger <aj@suse.de>
* time/strptime.c (strptime_internal): Fix pointer dereference.
Patch by Juergen Heinzl <juergen@monocerus.demon.co.uk>, closes PR
libc/1591.
--- glibc-2-1-branch/time/strptime.c.~1~ Sat Jan 22 09:03:09 2000
+++ glibc-2-1-branch/time/strptime.c Wed Feb 9 09:32:38 2000
@@ -451,7 +451,7 @@
}
else
{
- if (decided == not
+ if (*decided == not
&& strcmp (_NL_CURRENT (LC_TIME, D_FMT), HERE_D_FMT))
*decided = loc;
want_xday = 1;
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de
More information about the Libc-hacker
mailing list