bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Define DEBUG by default in mktime.c


From: Siddhesh Poyarekar
Subject: Define DEBUG by default in mktime.c
Date: Thu, 26 Jun 2014 23:32:00 +0530
User-agent: Mutt/1.5.22.1-rc1 (2013-10-16)

Hi,

The DEBUG macro in mktime.c is not defined, but the checks on that
macro are as if it is.  Instead of commenting out the definition of
DEBUG, define it to 0 by default and adjust the comment to reflect
that debugging needs the macro to be set to 1.

Siddhesh

        * lib/mktime.c: Define DEBUG to 0.

diff --git a/lib/mktime.c b/lib/mktime.c
index f10e530..077f9c4 100644
--- a/lib/mktime.c
+++ b/lib/mktime.c
@@ -17,9 +17,9 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-/* Define this to have a standalone program to test this implementation of
+/* Define this to 1 to have a standalone program to test this implementation of
    mktime.  */
-/* #define DEBUG 1 */
+#define DEBUG 0
 
 #ifndef _LIBC
 # include <config.h>

Attachment: pgpLE56fkpQ1x.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]