(wipename): When repeatedly renaming a file, making the name shorter
authorJim Meyering <jim@meyering.net>
Sat, 18 Dec 1999 16:00:49 +0000 (16:00 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 18 Dec 1999 16:00:49 +0000 (16:00 +0000)
commit04aa739146c8a926aab6da7a046f1844e414899f
tree6fee19b3f9e2df750b5d2afc819e22cdb124cb89
parentac31ad442b696696df0a0b14fa3c70e21c129081
(wipename): When repeatedly renaming a file, making the name shorter
and shorter, skip to the next shorter length length if a rename fails (e.g. due to
permission denied).  Otherwise, this loop would iterate for so long that shred would
appear to be stuck in an infinite loop for any but the shortest file names.
src/shred.c