Bug 734

Summary: telldir wrong after rewinddir
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:
Project(s) to access: ssh public key:
Bug Depends on:    
Bug Blocks: 724    

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

2005-01-16  GOTO Masanori  <gotom@debian.or.jp>

	* sysdeps/unix/rewinddir.c: Reset filepos.
	* dirent/tst-seekdir.c: Check telldir value after calling rewinddir.
Comment 1 Sourceware Commits 2005-02-16 10:43:16 UTC
Subject: Bug 734

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

Modified files:
	dirent         : tst-seekdir.c 
	sysdeps/unix   : rewinddir.c 

Log message:
	2005-01-16  GOTO Masanori  <gotom@debian.or.jp>
	
	[BZ #734]
	* sysdeps/unix/rewinddir.c: Reset filepos.
	* dirent/tst-seekdir.c: Check telldir value after calling rewinddir.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/dirent/tst-seekdir.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.6&r2=1.6.6.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/rewinddir.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.8&r2=1.8.6.1

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