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 needed because error codes are expressed with negative values on some platforms like Haiku, and BeOS; previously, the code incorrectly assumed error codes would always be positive. Kind Regards, Axel Dörfler.
remove.c.diff
Description: Binary data
_______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
