projects
/
platform
/
upstream
/
make.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e6de57
)
(safe_stat): Function removed.
author
Roland McGrath
<roland@redhat.com>
Tue, 12 Dec 1995 03:27:28 +0000
(
03:27
+0000)
committer
Roland McGrath
<roland@redhat.com>
Tue, 12 Dec 1995 03:27:28 +0000
(
03:27
+0000)
misc.c
patch
|
blob
|
history
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;
-}