X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f Date: Fri, 07 Jan 2005 16:29:28 -0700 From: Brian Inglis Subject: Re: setlocal... In-reply-to: To: DJGPP-workers Message-id: Organization: Systematic Software MIME-version: 1.0 X-Mailer: Forte Agent 1.93/32.576 English (American) Content-type: text/plain; charset=us-ascii References: <200501071809 DOT j07I93ON007030 AT speedy DOT ludd DOT ltu DOT se> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j07NTWoR003601 Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Fri, 07 Jan 2005 16:26:21 -0700, Brian Inglis wrote: >On Fri, 07 Jan 2005 19:09:03 +0100 (CET), ams AT ludd DOT ltu DOT se wrote: >>It would be great if you could whip up two small texinfo entries for >>wc204.txi too, as I'm not sure what the changes means exactly. (There >>is some text about strftime() there already: >>@findex strftime AT r{, and z format} >>Corrected problem with negative gmt offsets with z format in @code{strftime}. >>... >>@findex strftime AT r{, and the x type conversion} >>@findex strftime AT r{, and the X type conversion} >>@code{strftime} now uses the date format (for @code{%x}) >>and time format (for @code{%X}) from the current locale. >>This means that @code{%T} and @code{%X} are no longer equivalent. >> >>which perhaps should be changed. Don't forget setlocale() too.) > >I'll pull my patch summaries and edit those into new patches to wc204. >The setlocale() patch contains only minor bug fixes for resetting >the locale and returning the correct name. Documentation patch appended. What about documentation for tests? Where do those go? Thanks. Take care, Brian Inglis Index: src/docs/kb/wc204.txi =================================================================== RCS file: /cvs/djgpp/djgpp/src/docs/kb/wc204.txi,v retrieving revision 1.169 diff -p -u -t -r1.169 wc204.txi --- src/docs/kb/wc204.txi 20 Jan 2004 08:53:18 -0000 1.169 +++ src/docs/kb/wc204.txi 7 Jan 2005 23:22:24 -0000 @@ -1053,3 +1053,22 @@ fails, if that function is compiled with @cindex @file{stdbool.h} added @cindex C99 compliance, @file{stdbool.h} The C99 file @file{stdbool.h} was added. + +@findex setlocale AT r{, liblocal[e]} +Fixed problem with resetting the standard locale +and returning the locale name. + +@findex strftime AT r{, liblocal[e]} +Liblocal[e] @code{strftime} is now identical to libc @code{strftime}. + +@findex strftime AT r{, C99 compliance} +Now @code{strftime} accepts and ignores %E and %O modifiers, +and accepts and handles new C99 %F, %G, %g, %V formats +and %s (GNU) POSIX time format. +Also fixes %z ISO 8601/RFC 822 format time zone results. + +@findex strftime AT r{, documentation} +Info documentation was added for %E, %O and GNU modifiers, +C99 %F, %G, %g, %V formats and %s (GNU) POSIX time format. +Documentation was made more consistent. + -- Thanks. Take care, Brian Inglis Business: +1(403)547-8816 Brian DOT Inglis AT SystematicSW DOT ab DOT ca Residence: +1(403)239-6520 BWInglis AT Shaw DOT ca