Discussion:
[PATCH] nap.h: Fix compilation on non windows platforms
Pádraig Brady
2017-04-27 04:47:34 UTC
Permalink
* tests/nap.h: Move misplaced endif.
---
ChangeLog | 5 +++++
tests/nap.h | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 314f7d9..12ccfc1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
2017-04-26 Pádraig Brady <***@draigBrady.com>
+
+ nap.h: Fix compilation on non windows platforms
+ * tests/nap.h: Move misplaced endif.
+
+2017-04-26 Pádraig Brady <***@draigBrady.com>
and Paul Eggert <***@cs.ucla.edu>

time_rz: fix heap buffer overflow vulnerability
diff --git a/tests/nap.h b/tests/nap.h
index 00de83f..a49befc 100644
--- a/tests/nap.h
+++ b/tests/nap.h
@@ -67,8 +67,8 @@ nap_get_stat (struct stat *st, int do_write)
nap_fd = open (TEMPFILE, O_RDWR, 0600);
ASSERT (nap_fd != -1);
lseek (nap_fd, 0, SEEK_END);
- }
#endif
+ }
ASSERT (fstat (nap_fd, st) == 0);
}
--
2.9.3
Loading...