Mail Archives: djgpp-workers/2002/11/28/16:26:18
Hello.
DJ Delorie wrote:
>
> > What does that gain us? Won't that make finding the sources harder? (_Exit
> > is in <stdlib.h> => sources must be in src/libc/ansi/stdlib.) Surely
> > documenting the functions as C99 is enough?
>
> We already have ansi/stdlib, compat/stdlib, and posix/stdlib.
>
> I originally split the sources up to help me keep track of standards
> issues. We're still very concerned about standards, we should still
> split things up by standard where it makes sense. C99 is a big step
> in standards, it should have its own directory.
There's also the new POSIX standard, which feels like a bigger jump to me. C99
seems to add only a few new non-maths interfaces, so that could be why it
doesn't seem like such a big change to me. Perhaps just the new C99 maths
functions could go in a c99 subdirectory?
What should we do with the existing new-standard code that has been added?
Namely: *snprintf, a64l, l64a, putenv. These have been stuffed in pre-existing
directories.
Should there be a src/libc/posix2001 (posx2001?) directory too?
Note that some of the existing pre-C99 non-ANSI functions exist in ansi/* and
are now in the C99 standard. Should these be moved into the c99 directory?
Bye, Rich =]
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
- Raw text -