X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f Date: Tue, 11 Nov 2003 12:29:13 +0200 (EET) From: Esa A E Peuha Sender: peuha AT sirppi DOT helsinki DOT fi To: djgpp-workers AT delorie DOT com Subject: Suggested improvements Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com I have been thinking of some small possible improvements to djgp's libc. First of these is fgetc/getc and fputc/putc. These two pairs of functions are completely identical, so maybe we could define fgetc to getc and fputc to putc in stdio.h if ANSI allows it (if not, then fgetc/fputc might be just stabs to getc/putc). Second, do we ever expect close do something that _close can't do? I'm asking this because now close is a stub to __close which calls _close... (This reminds me of the joke that every computing science problem can be solved by adding a layer of indirection. :-) It seems to me that it would be more sensible to define close to _close in libc/stabs.h. -- Esa Peuha student of mathematics at the University of Helsinki http://www.helsinki.fi/~peuha/