PERFORCE change 149050 for review

Konrad Jankowski konrad at FreeBSD.org
Tue Sep 2 08:09:33 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=149050

Change 149050 by konrad at vspredator on 2008/09/02 08:09:04

	Some bugfixes to the debug printing functions.

Affected files ...

.. //depot/projects/soc2008/konrad_collation/libc/locale/lmessages.c#5 edit
.. //depot/projects/soc2008/konrad_collation/libc/locale/lmonetary.c#5 edit
.. //depot/projects/soc2008/konrad_collation/libc/locale/lnumeric.c#5 edit

Differences ...

==== //depot/projects/soc2008/konrad_collation/libc/locale/lmessages.c#5 (text+ko) ====

@@ -31,6 +31,9 @@
 
 #include "ldpart.h"
 #include "lmessages.h"
+#ifdef LOCALE_DEBUG
+#include <stdio.h>
+#endif
 
 #define LCMESSAGES_SIZE_FULL (sizeof(struct lc_messages_T) / sizeof(char *))
 #define LCMESSAGES_SIZE_MIN \

==== //depot/projects/soc2008/konrad_collation/libc/locale/lmonetary.c#5 (text+ko) ====

@@ -30,6 +30,9 @@
 #include <limits.h>
 #include <stddef.h>
 #include <stdlib.h>
+#ifdef LOCALE_DEBUG
+#include <stdio.h>
+#endif
 
 #include "ldpart.h"
 #include "lmonetary.h"
@@ -159,13 +162,14 @@
 	"n_cs_precedes = %d\n"
 	"n_sep_by_space = %d\n"
 	"p_sign_posn = %d\n"
-	"n_sign_posn = %d\n",
+	"n_sign_posn = %d\n"
 	"int_p_cs_precedes = %d\n"
 	"int_p_sep_by_space = %d\n"
 	"int_n_cs_precedes = %d\n"
 	"int_n_sep_by_space = %d\n"
 	"int_p_sign_posn = %d\n"
 	"int_n_sign_posn = %d\n",
+
 	_monetary_locale.int_curr_symbol,
 	_monetary_locale.currency_symbol,
 	_monetary_locale.mon_decimal_point,

==== //depot/projects/soc2008/konrad_collation/libc/locale/lnumeric.c#5 (text+ko) ====

@@ -31,6 +31,9 @@
 
 #include "ldpart.h"
 #include "lnumeric.h"
+#ifdef LOCALE_DEBUG
+#include <stdio.h>
+#endif
 
 extern int __nlocale_changed;
 extern const char *__fix_locale_grouping_str(const char *);


More information about the p4-projects mailing list