summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1995-12-12 03:27:28 +0000
committerRoland McGrath <roland@redhat.com>1995-12-12 03:27:28 +0000
commitbfa6ab6a0c37908f91a1bdffd66f678b461d04e5 (patch)
tree2c0d77a17f47bd2cc6b005bc6d1bc10e351a111d /misc.c
parent4e6de57b8fec02cb77043b3d856cf40f2663f0c2 (diff)
downloadgunmake-bfa6ab6a0c37908f91a1bdffd66f678b461d04e5.tar.gz
(safe_stat): Function removed.
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/misc.c b/misc.c
index a27c240..a7e9e71 100644
--- a/misc.c
+++ b/misc.c
@@ -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;
-}