delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/03/16/14:57:58

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Date: Tue, 16 Mar 1999 14:58:49 -0500
From: Chris Faylor <cgf AT cygnus DOT com>
To: Corinna Vinschen <corinna DOT vinschen AT cityweb DOT de>
Cc: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: patch: telldir() and seekdir()
Message-ID: <19990316145849.A1647@cygnus.com>
References: <36E9955A DOT 19238FA5 AT cityweb DOT de> <19990312233927 DOT A7402 AT cygnus DOT com> <36EA826D DOT 7477DBA6 AT cityweb DOT de>
Mime-Version: 1.0
X-Mailer: Mutt 0.95.3i
In-Reply-To: <36EA826D.7477DBA6@cityweb.de>; from Corinna Vinschen on Sat, Mar 13, 1999 at 04:21:17PM +0100

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 DOT vinschen AT cityweb DOT 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 DOT vinschen AT cityweb DOT de>
>
>	* dir.cc: New functions `telldir()' and `seekdir()'.	
>	* cygwin.def: Ditto.	
>	* newlib/libc/sys/cygwin/sys/dirent.h: Additional prototypes
>	for `telldir()' and `seekdir()'.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019