diff options
-rw-r--r-- | misc.c | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -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; -} |