4f4f18901b
- make the packet contain explicit 32bit data for compatibility with clients on machines with 32bit time_t. - replace ctime() calls on such changed former time_t values by a shim that does the translation. This does not start to work after 2038 yet - that would need a change of the collection protocol.
12 lines
315 B
Text
12 lines
315 B
Text
$NetBSD: patch-am,v 1.1 2011/01/18 12:28:25 is Exp $
|
|
|
|
--- include/os.h.orig 2011-01-18 11:18:06.000000000 +0000
|
|
+++ include/os.h
|
|
@@ -76,4 +76,7 @@ char *tty_lookup ();
|
|
/* Strip ttyname to compact format */
|
|
char *strip_ttyname ();
|
|
|
|
+/* ctime() that always reads 32bit */
|
|
+char *ctime32 ();
|
|
+
|
|
#endif /* _OS_H_ */
|