ping [PATCH]: Allow _rename_r to be re-classified as a system call, [PATCH]: Remove "is closed check" in fclose.c and fwalk.c

Jeff Johnston jjohnstn@redhat.com
Wed Aug 8 14:22:00 GMT 2007


Antony KING wrote:
> Hi,
> 
> Its been a while :-) since I posted these patches so I thought I might
> try again.
> 
> The original submissions can be found on the newlib mailing list at the
> following URLs:
> 
> http://www.sourceware.org/ml/newlib/2006/msg00872.html

For the rename problem, I propose an alternate patch.  This treats it 
like fcntl.  The existing flags HAVE_RENAME and 
REENTRANT_SYSCALLS_PROVIDED flags are used.  If you say HAVE_RENAME and 
REENTRANT_SYSCALLS_PROVIDED, then you are assumed to provide _rename_r 
like the other syscalls.  This should not cause any problems for 
existing platforms.

> http://www.sourceware.org/ml/newlib/2006/msg00871.html
> 

Please explain the scenario further.  I don't understand why locking 
and, more importantly, subsequently unlocking the file causes a problem 
for you.

> Even though the patches are against a pre- 1.15.0 version of newlib they
> are still valid against the current wave front.
> 
> Cheers,
> 
> Antony.
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rename.patch
Type: text/x-patch
Size: 7149 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20070808/840ebc75/attachment.bin>


More information about the Newlib mailing list