Date: Tue, 2 Sep 2008 08:09:32 GMT From: Konrad Jankowski <konrad@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 149050 for review Message-ID: <200809020809.m8289Wwt038230@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=149050 Change 149050 by konrad@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 *);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809020809.m8289Wwt038230>