[Ohrrpgce] SVN: teeemcee/8049 C+1: merge r7997: Add safety checks to killdir, isdir, findfiles after a

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Mon Jun 6 05:36:08 PDT 2016


teeemcee
2016-06-06 05:36:08 -0700 (Mon, 06 Jun 2016)
474
C+1: merge r7997: Add safety checks to killdir, isdir, findfiles after almost wiping my harddisk!

isdir() now returns false for "", findfiles won't return the contents
of / if you pass "", and killdir won't recursively delete / (note that
it continues on error!).
The fix to isdir is significant because it catches lots of possible bugs,
for example, it prevents get_tmpdir() from considering "" a valid tmpdir
and handshake_with_master() from accepting "" as workingdir.
---
U   rel/callipygous/util.bas
U   rel/callipygous/util.bi


More information about the Ohrrpgce mailing list