apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lucian Adrian Grijincu" <lucian.griji...@gmail.com>
Subject [PATCH] apr_dir_remove_recursive
Date Sun, 28 Oct 2007 22:13:39 GMT
Attached a patch that adds apr_dir_remove_recursive for trunk/

I've only tested this on Ubuntu 7.10.
It ads a new "fileutil.c" file in unix/

Someone should test this, I currently cannot (OS not available):
1) I've also added a #SOURCE to apr.dsp and libapr.dsp for windows
    build referencing the unix file.
2) Added a reference in NWGNUmakefile too.
3) For os2 there's a new file fileutil.c that #includes the unix/ equivalent.

There's a testcase too.

BTW, I wanted to add a test for deleting symlinks, but there is no APR
API to create a symlink and on another thread on this list someone
expressed their opposition for platform specific tests. What should be
done in this case?

--
Lucian

Mime
View raw message