History log of /system/core/toolbox/rm.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
035482976368dea4ddbda62230a6ec69025a65c3 26-Jun-2013 Ken Sumrall <ksumrall@android.com> Do not exit early on errors when -f is specified

When running with the -f option, do not stop recursion or proccessing
command line args if an error occurs. Continue trying to remove all
the items specified on the command line. However, still return an
error status if some files could not be removed.

Change-Id: I83d66babe833da8a68aad68248647ba0601c5d32
/system/core/toolbox/rm.c
391f365c6d64d3223adc4cbd6b2fb558416ccceb 16-Jan-2013 Benoit Goby <benoit@android.com> toolbox: Fix rm -f with multiple files

Only check errno if unlink returns -1.
Continue instead of exiting if one file does not exist.

Change-Id: Iaf01b8523b84e87fcb0d732b89b7be6e24279c0b
/system/core/toolbox/rm.c
0ffc5b37e553f4514121d2775879a153e6ea5ecc 04-May-2012 Tanguy Pruvot <tanguy.pruvot@gmail.com> toolbox: implement rm -f flag

this prevent compatibility errors in scripts (file "-f" not found)
The force flag will not return an error if the file doesnt exist.

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>

Change-Id: I3267963284ee247629da5ab299e900c6e4a4ac68
/system/core/toolbox/rm.c
dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/core/toolbox/rm.c
e54eebbf1a908d65ee8cf80bab62821c05666d70 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/core/toolbox/rm.c
4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/system/core/toolbox/rm.c