[or-cvs] patch strptime warning -- reduce portability!

Roger Dingledine arma at seul.org
Tue Sep 30 18:47:31 UTC 2003


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or

Modified Files:
	routers.c 
Log Message:
patch strptime warning -- reduce portability!


Index: routers.c
===================================================================
RCS file: /home/or/cvsroot/src/or/routers.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- routers.c	30 Sep 2003 08:18:10 -0000	1.58
+++ routers.c	30 Sep 2003 18:47:29 -0000	1.59
@@ -7,6 +7,11 @@
 #define OR_SIGNATURE_BEGIN_TAG "-----BEGIN SIGNATURE-----\n"
 #define OR_SIGNATURE_END_TAG "-----END SIGNATURE-----\n"
 
+#define _GNU_SOURCE
+/* XXX this is required on rh7 to make strptime not complain. how bad
+ * is this for portability?
+ */
+
 #include "or.h"
 
 /****************************************************************************/



More information about the tor-commits mailing list