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()
- To: Corinna Vinschen <corinna.vinschen@cityweb.de>
- Subject: Re: patch: telldir() and seekdir()
- From: Chris Faylor <cgf@cygnus.com>
- Date: Tue, 16 Mar 1999 14:58:49 -0500
- Cc: cygwin-developers@sourceware.cygnus.com
- Delivered-To: listarch-cygwin-developers@sourceware.cygnus.com
- Delivered-To: mailing list cygwin-developers@sourceware.cygnus.com
- In-Reply-To: <36EA826D.7477DBA6@cityweb.de>; from Corinna Vinschen on Sat, Mar 13, 1999 at 04:21:17PM +0100
- Mailing-List: contact cygwin-developers-help@sourceware.cygnus.com; run by ezmlm
- References: <36E9955A.19238FA5@cityweb.de> <19990312233927.A7402@cygnus.com> <36EA826D.7477DBA6@cityweb.de>
- Sender: cygwin-developers-owner@sourceware.cygnus.com
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()'.