From: "Juan Manuel Guerrero" Organization: Darmstadt University of Technology To: djgpp-workers AT delorie DOT com Date: Thu, 3 Apr 2003 08:11:53 +0100 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: %n$, *m$ and some other c99 support for doprnt.c In-reply-to: <3E8B51E9.CADBBDB0@phekda.freeserve.co.uk> X-mailer: Pegasus Mail for Windows (v2.54DE) Message-ID: <9E5FDF71AD@HRZ1.hrz.tu-darmstadt.de> X-MailScanner: Found to be clean 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 Richard Dawe wrote: > Excellent! That was next on my to-do list, after some work on printfs and > NaNs. > > Are you planning to make a version of this patch against DJGPP CVS? Yes, I will start today doing this. It may take one or two days. > > 1) New flag added: > > ': (thousands' grouping flag) The code checks if locale support is > > available or not. If not available this flag has no influence at all > > on output. > > > > 2) New length modifiers added: > > hh: conversion specifiers: d, i, o, ,u, x, or X applies to a > > signed/unsigned char. > > ll: conversion specifiers: d, i, o, ,u, x, or X applies to a > > signed/unsigned long long int. > > j: conversion specifiers: d, i, o, ,u, x, or X applies to a intmax_t > > or uintmax_t. > > t: conversion specifiers: d, i, o, ,u, x, or X applies to a ptrdiff_t. > > z: conversion specifiers: d, i, o, ,u, x, or X applies to a size_t. > > doprnt.c in CVS already has these. Since you basically rewrote printf ;) , we > need to revert some (if not all) of the C99 patches I made and apply your > patch. Unfortunately I have been very busy the last few months so I had to stop following this newsgroup completely. This seems to have lead to some double efforts. I will checkout actual CVS versions of _doprnt.c today and I will try to adapt my patch against actual work. The important issue is that my code contains the functionality needed for get GNU gettext working (especially the %n$ and *n$ issue). Because I had to submit that version to the GNU gettext maintainer, I would like to see my code getting syncronized with actual CVS _doprnt.c I will either remove my code, or adjust it, or in a last resort, I will have to remove your code from _doprnt.c Please let _doprnt.c one or two days unaltered, so I can adjust and submit my proposed changes. TIA, Juan Manuel Guerrero