aboutsummaryrefslogtreecommitdiff
path: root/toys/other/clear.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2012-12-10 01:48:02 -0600
committerRob Landley <rob@landley.net>2012-12-10 01:48:02 -0600
commitb9bde7b403a8dcf8e8a1417383bb70816a7c1958 (patch)
tree8c8c55d4b26bdb8b322ce1b481f535ddbeb1143e /toys/other/clear.c
parentd52e76d50879542702b89cc8cc873358232d2e3f (diff)
downloadtoybox-b9bde7b403a8dcf8e8a1417383bb70816a7c1958.tar.gz
essat's flag not to follow symlinks isn't in the system call, and if libc is supposed to implement this as a wrapper uClibc gets it wrong. So use the stat info about symlinks instead. (Doesn't check the parent directory, but if that's read only we can't delete the file anyway so prompting is moot.)
Diffstat (limited to 'toys/other/clear.c')
0 files changed, 0 insertions, 0 deletions