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

Nagy Gabor ngaba at petra.hos.u-szeged.hu
Thu Mar 8 06:31:29 EST 2007


_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 .-)

Bye, Nagy Gabor

More information about the pacman-dev mailing list