[pacman-dev] _alpm_rmrf is not the same as rm -rf

Aaron Griffin aaronmgriffin at gmail.com
Thu Mar 8 10:33:35 EST 2007

On 3/8/07, Nagy Gabor <ngaba at petra.hos.u-szeged.hu> wrote:
> Hi!
> _alpm_rmrf deletes only regular files and directories recursively.
> See line 316:
> 'if (S_ISREG(st.st_mode))' should be 'if (!S_ISDIR(st.st_mode))' or at
> least 'if (S_ISREG(st.st_mode) || S_ISLNK(st.st_mode))' (<- I need
> this, because I started to implement my speed up ideas .-)

Please read 'submitting-patches' in the CVS root directory.

More information about the pacman-dev mailing list