pkgsrc/net/icsi-finger/patches/patch-am
is 4f4f18901b Fix for 64bit time_t:
- 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.
2011-01-18 12:28:25 +00:00

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_ */