[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apr-dev
Subject:    [PATCH] apr_dir_remove_recursive
From:       "Lucian Adrian Grijincu" <lucian.grijincu () gmail ! com>
Date:       2007-10-28 22:13:39
Message-ID: acf3f2e60710281513q707b80c9ka8c6055c33887d90 () mail ! gmail ! com
[Download RAW message or body]


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

["remove_recursive" (application/octet-stream)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic