This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH]: Implement fwide (was Re: swprintf() and friends?)


On December 11, 2008 4:06 AM, Corinna Vinschen wrote:
>
> On Dec 10 18:32, Jeff Johnston wrote:
> >
> > I think Craig's idea to move the functions to a wchar directory is a
> > reasonable idea.  ...
>
> I would rather keep them in stdio for the simple reason that they are
> in stdio on the *BSD systems as well.

Just because they arrange things poorly such that they are confusing to
find doesn't seem a good reason for Newlib to leave them that way.  It's
not just the ones that were just put into stdio.  The are also many
wchar.h functions that are under the stdlib and string directories in
newlib, meaning that they are presently scattered into (at least) 3
places.  (FreeBSD appears to have the ones under stdio and string, but
not
the ones under stdlib.)  This is obviously not a priority, but I think
it
would be a good workability aid.
 
On a new subtopic, attached is a small cleanup patch for the new
wide-character I/O stuff, dealing with getting proper function
prototypes.
  
Craig

Attachment: wc.patch
Description: wc.patch


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]