summaryrefslogtreecommitdiff
path: root/remake.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1999-08-01 08:12:06 +0000
committerPaul Smith <psmith@gnu.org>1999-08-01 08:12:06 +0000
commite34540f79be9c915ce1d6191575267066370f6ec (patch)
tree8418cbb560875512845504a0bd504db81cf4232e /remake.c
parent09f1e4cf83853e3636a19da17e28e7291aac9bbd (diff)
downloadgunmake-e34540f79be9c915ce1d6191575267066370f6ec.tar.gz
* Release 3.77.92.3.77.92
* Complete implementation of new jobserver algorithm. * A few minor fixups.
Diffstat (limited to 'remake.c')
-rw-r--r--remake.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/remake.c b/remake.c
index 6464f34..74c4a9a 100644
--- a/remake.c
+++ b/remake.c
@@ -918,13 +918,10 @@ touch_file (file)
char buf;
int status;
-#ifdef EINTR
do
-#endif
status = fstat (fd, &statbuf);
-#ifdef EINTR
- while (status < 0 && errno == EINTR);
-#endif
+ while (status < 0 && EINTR_SET);
+
if (status < 0)
TOUCH_ERROR ("touch: fstat: ");
/* Rewrite character 0 same as it already is. */