This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 14/17] * time/mktime.c (compile-command): Add "-I.".
- From: Paul Eggert <eggert at cs dot ucla dot edu>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 16 Mar 2012 03:39:52 -0700
- Subject: [PATCH 14/17] * time/mktime.c (compile-command): Add "-I.".
---
ChangeLog | 2 ++
time/mktime.c | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 1bca44b..0d38f4e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2012-03-16 Paul Eggert <eggert@cs.ucla.edu>
+ * time/mktime.c (compile-command): Add "-I.".
+
mktime: avoid signed integer overflow
* time/mktime.c (__mktime_internal): Do not mishandle the case
where diff == INT_MIN.
diff --git a/time/mktime.c b/time/mktime.c
index 3775c68..7e8c9df 100644
--- a/time/mktime.c
+++ b/time/mktime.c
@@ -736,6 +736,6 @@ main (int argc, char **argv)
/*
Local Variables:
-compile-command: "gcc -DDEBUG -Wall -W -O -g mktime.c -o mktime"
+compile-command: "gcc -DDEBUG -I. -Wall -W -O2 -g mktime.c -o mktime"
End:
*/
--
1.7.6.5