Craig A. Berry [Wed, 1 Aug 2007 12:35:11 +0000 (12:35 +0000)]
p4raw-id: //depot/perl@31671
PerlMem_free(dirfile);
return -1;
}
- if (flex_lstat(dirfile, &st) || !S_ISDIR(st.st_mode)) {
+ if (Perl_flex_lstat(aTHX_ dirfile, &st) || !S_ISDIR(st.st_mode)) {
errno = ENOTDIR;
retval = -1;
}
* This needs special handling to work with the ACL hacks.
*/
if (flex_stat(name, &st) && S_ISDIR(st.st_mode)) {
- rmsts = Perl_do_rmdir(name);
+ rmsts = Perl_do_rmdir(aTHX_ name);
return rmsts;
}