char *stpcpy ();
char *xmalloc ();
char *xrealloc ();
-int eaccess_stat ();
+int euidaccess ();
int yesno ();
void strip_trailing_slashes ();
struct stat *statp;
{
if (!ignore_missing_files && (interactive || stdin_tty)
- && eaccess_stat (statp, W_OK, pathname)
+ && euidaccess (pathname, W_OK)
#ifdef S_ISLNK
&& !S_ISLNK (statp->st_mode)
#endif
}
if (!ignore_missing_files && (interactive || stdin_tty)
- && eaccess_stat (statp, W_OK, pathname))
+ && euidaccess (pathname, W_OK))
{
fprintf (stderr,
"%s: descend directory `%s', overriding mode %04o? ",