Bug 732

Summary: strptime warning cleanup & test improvement
Product: glibc Reporter: Roland McGrath <roland>
Component: libcAssignee: Roland McGrath <roland>
Status: RESOLVED FIXED    
Severity: normal CC: glibc-bugs
Priority: P2 Flags: fweimer: security-
Version: 2.3.4   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 724    

Description Roland McGrath 2005-02-16 04:36:04 UTC
This trunk change is needed on the 2.3 branch.

2005-01-10  Jakub Jelinek  <jakub@redhat.com>

	* time/tst-strptime.c (day_tests): Add 2 new tests.
	(test_tm, main): Issue an error instead of segfaulting if
	strptime returns NULL.

2005-01-09  Andreas Jaeger  <aj@suse.de>

	* time/strptime_l.c (__strptime_internal): Add braces to avoid
	warning.
Comment 1 Sourceware Commits 2005-02-16 10:23:29 UTC
Subject: Bug 732

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-02-16 10:23:14

Modified files:
	time           : strptime_l.c 

Log message:
	2005-01-09  Andreas Jaeger  <aj@suse.de>
	
	[BZ #732]
	* time/strptime_l.c (__strptime_internal): Add braces to avoid
	warning.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/time/strptime_l.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.4&r2=1.4.4.1

Comment 2 Sourceware Commits 2005-02-16 10:23:29 UTC
Subject: Bug 732

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-02-16 10:23:19

Modified files:
	time           : tst-strptime.c 

Log message:
	2005-01-10  Jakub Jelinek  <jakub@redhat.com>
	
	[BZ #732]
	* time/tst-strptime.c (day_tests): Add 2 new tests.
	(test_tm, main): Issue an error instead of segfaulting if
	strptime returns NULL.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/time/tst-strptime.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.8&r2=1.8.4.1

Comment 3 Roland McGrath 2005-04-05 23:59:29 UTC
These changes are in the 2.3 branch as well as the trunk now.