[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] nap.h: Fix compilation on non windows platforms
From: |
Pádraig Brady |
Subject: |
[PATCH] nap.h: Fix compilation on non windows platforms |
Date: |
Wed, 26 Apr 2017 21:47:34 -0700 |
* 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 <address@hidden>
+
+ nap.h: Fix compilation on non windows platforms
+ * tests/nap.h: Move misplaced endif.
+
+2017-04-26 Pádraig Brady <address@hidden>
and Paul Eggert <address@hidden>
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] nap.h: Fix compilation on non windows platforms,
Pádraig Brady <=