X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3FB3EEDB.56542438@phekda.freeserve.co.uk> Date: Thu, 13 Nov 2003 20:51:39 +0000 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: Suggested improvements References: <3FB15D6E DOT E3FFCC07 AT phekda DOT freeserve DOT co DOT uk> <3FB287FC DOT 6676B3A7 AT phekda DOT freeserve DOT co DOT uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com 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