Mail Archives: djgpp-workers/2003/11/13/17:34:52
Hello.
Esa A E Peuha wrote:
>
> On Wed, 12 Nov 2003, Richard Dawe wrote:
>
> > So the macro definitions of fgetc and fputc would be compatible with C99.
> > Please send a patch, if you have one.
>
> I'm not sure that's worth it, since we must have them as functions in
> libc anyway. My intent was to avoid duplicating code, but these
> functions are less than 200 bytes, so it's not significant. Also I'd
> rather not see questions about why we define fgetc to getc and is that
> really allowed by ANSI.
It sounds like the macros in POSIX/SUSv3 was defined very carefully, so as not
to break usages of fgetc & fputc. But I agree there's not much point changing
it.
> > If you have some time, please choose something from the 2.04 status page:
> >
> > http://www.phekda.freeserve.co.uk/richdawe/djgpp/2.04/status204.html
> >
> > If you're feeling really brave, perhaps you could integrate KB Williams's
> > C99 maths stuff? Or work out why memalign segfaults, when using nmalloc?
>
> I'll take a look at nmalloc (I've been meaning to do that for some time).
Please start with my integration patch, which is here:
http://www.phekda.freeserve.co.uk/richdawe/djgpp/2.04/
This has nmalloc integrated into the build system and some new test cases that
CB Falconer wrote specially for nmalloc.
Also, please look at the integration notes I posted to djgpp-workers.
Thanks, bye, Rich =]
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
"You can't evaluate a man by logic alone." -- McCoy, "I, Mudd", Star Trek
- Raw text -