Re: Patch against src/remove.c for correct handling of negative error codes

2008-03-31 Thread Jim Meyering
"Axel Dörfler" <[EMAIL PROTECTED]> wrote: > the enclosed patch changes the following (remove.c against HEAD): ... Thank you for the patch. Sorry not to have replied sooner. At first I hesitated to make a relatively invasive change to remove.c solely to accommodate a fringe target like BeOS/Haiku.

Patch against src/remove.c for correct handling of negative error codes

2008-03-29 Thread Axel Dörfler
Hi, the enclosed patch changes the following (remove.c against HEAD): * write_protected_non_symlink() now returns -1 for error (errno will be set accordingly), 0 for everything fine, and 1 if it's a write protected file. * prompt() now deals with the changed semantics of the above function. It's

Patch against src/remove.c for correct handling of negative error codes

2008-03-24 Thread Axel Dörfler
Hi, the enclosed patch changes the following (remove.c against HEAD): * write_protected_non_symlink() now returns -1 for error (errno will be set accordingly), 0 for everything fine, and 1 if it's a write protected file. * prompt() now deals with the changed semantics of the above function. It's