1
0
mirror of https://github.com/mirror/make.git synced 2025-04-24 12:00:35 +08:00

(safe_stat): Function removed.

This commit is contained in:
Roland McGrath 1995-12-12 03:27:28 +00:00
parent 4e6de57b8f
commit bfa6ab6a0c

20
misc.c
View File

@ -734,23 +734,3 @@ get_path_max ()
return value;
}
#endif
/* On some systems, stat can return EINTR. */
int
safe_stat (name, buf)
char *name;
struct stat *buf;
{
int ret;
#ifdef EINTR
do
#endif
ret = stat (name, buf);
#ifdef EINTR
while (ret < 0 && errno == EINTR);
#endif
return ret;
}