}
#endif
- if (safe_stat (file->name, &st) == 0
+ if (stat (file->name, &st) == 0
&& S_ISREG (st.st_mode)
&& (time_t) st.st_mtime != file->last_mtime)
{
perror_with_name ("unlink: ", file->name);
}
}
-
+
/* Delete all non-precious targets of CHILD unless they were already deleted.
Set the flag in CHILD to say they've been deleted. */
{
struct stat st;
- if (safe_stat (name, &st) < 0)
+ if (stat (name, &st) < 0)
return (time_t) -1;
return (time_t) st.st_mtime;
/* Implementation of pattern-matching file search paths for GNU Make.
-Copyright (C) 1988, 1989, 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
+Copyright (C) 1988, 89, 91, 92, 93, 94, 95 Free Software Foundation, Inc.
This file is part of GNU Make.
GNU Make is free software; you can redistribute it and/or modify
*n = '/';
if (!exists_in_cache /* Makefile-mentioned file need not exist. */
- || safe_stat (name, &st) == 0) /* Does it really exist? */
+ || stat (name, &st) == 0) /* Does it really exist? */
{
/* We have found a file.
Store the name we found into *FILE for the caller. */