This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Fix for PR libc/1591



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]