(safe_stat): Function removed.
authorRoland McGrath <roland@redhat.com>
Tue, 12 Dec 1995 03:27:28 +0000 (03:27 +0000)
committerRoland McGrath <roland@redhat.com>
Tue, 12 Dec 1995 03:27:28 +0000 (03:27 +0000)
misc.c

diff --git a/misc.c b/misc.c
index a27c2402232bbe70d9d0dfdce7b024cb6b72c591..a7e9e711f4f131ab967fd50ea1324f1417f00989 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -734,23 +734,3 @@ get_path_max ()
   return value;
 }
 #endif
-\f
-/* 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;
-}