Bug 732 - strptime warning cleanup & test improvement
Summary: strptime warning cleanup & test improvement
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.3.4
: P2 normal
Target Milestone: ---
Assignee: Roland McGrath
URL:
Keywords:
Depends on:
Blocks: libc235
  Show dependency treegraph
 
Reported: 2005-02-16 04:36 UTC by Roland McGrath
Modified: 2018-04-20 13:36 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 cvs-commit@gcc.gnu.org 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 cvs-commit@gcc.gnu.org 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.