Re: LOCALE ERROR

2003-12-07 Thread Yitzchak Scott-Thoennes
On Sun, Dec 07, 2003 at 09:15:28PM -0300, Marcelo Rezende Módolo <[EMAIL PROTECTED]> wrote: > I read the man pages "man setlocale", "man strftime" and find a mistake > in str format. Did you read the part about only the minimum locale support being present? > I use ' if (!strftime((char *)str,

Re: LOCALE ERROR

2003-12-07 Thread Marcelo Rezende Módolo
I read the man pages "man setlocale", "man strftime" and find a mistake in str format. I use ' if (!strftime((char *)str, 100, "%#x", (const struct tm *)thetime))' but the correct is ' if (!strftime((char *)str, 100, "%x", (const struct tm *)thetime))'... But I still have the same output for all

Re: LOCALE ERROR

2003-12-07 Thread Igor Pechtchanski
On Sun, 7 Dec 2003, Marcelo Rezende Módolo wrote: Hi, I have a program that needs the locale support, so I include 'locale.h'. I make the program but the output was wrong. With the cygwin library the setlocale function do not work, but if I link with mingw library it is ok I am sending a sample pr

LOCALE ERROR

2003-12-07 Thread Marcelo Rezende Módolo
Hi, I have a program that needs the locale support, so I include 'locale.h'. I make the program but the output was wrong. With the cygwin library the setlocale function do not work, but if I link with mingw library it is ok I am sending a sample program that demonstrate the error. Linking with