This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: patch: telldir() and seekdir()



I've installed this patch.  It may be a while before newlib syncs up with
the sources, though.

Thanks,
Chris

On Sat, Mar 13, 1999 at 04:21:17PM +0100, Corinna Vinschen wrote:
>Chris Faylor wrote:
>> 
>> Could you rewrite this patch and change the name from __find_first_called
>> to something more descriptive?
>> 
>> I removed the dependency on this field a while ago so I think it is safe
>> to change it as long as you replace it with something that is 4 bytes
>> in size in the same location in the structure.
>> 
>> cgf
>
>Ok, done. I have also changed dirent.h, to shift the prototypes to the
>#ifndef _POSIX_SOURCE section. telldir/seekdir are not POSIX, are they?
>
>ChangeLog:
>==========
>
>Sat Mar 13  9:11:00  Corinna Vinschen  <corinna.vinschen@cityweb.de>
>
>	* dir.cc: Changed usage of struct member __d_find_first_called
>	to usage of __d_position.
>	* dir.cc (telldir): Checks for __d_cookie now.
>	* dir.cc (seekdir): Ditto.
>	* newlib/libc/sys/cygwin/sys/dirent.h: Renamed `__d_find_first_called'
>	to `__d_position'. Prototypes of `telldir()' and `seekdir()'
>	are part of `#ifndef _POSIX_SOURCE' section now.
>	
>Fri Mar 12 23:23:00  Corinna Vinschen  <corinna.vinschen@cityweb.de>
>
>	* dir.cc: New functions `telldir()' and `seekdir()'.	
>	* cygwin.def: Ditto.	
>	* newlib/libc/sys/cygwin/sys/dirent.h: Additional prototypes
>	for `telldir()' and `seekdir()'.