From: jmichel AT schur DOT institut DOT math DOT jussieu DOT fr (Jean Michel) Newsgroups: comp.os.msdos.djgpp Subject: Bug in djgpp libc Date: 31 Dec 2000 21:13:21 +0100 Organization: A poorly-installed InterNetNews site Lines: 25 Message-ID: <92o411$em$1@schur.institut.math.jussieu.fr> NNTP-Posting-Host: schur.institut.math.jussieu.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: vishnu.jussieu.fr 978293215 2690 134.157.13.71 (31 Dec 2000 20:06:55 GMT) X-Complaints-To: Newsmaster AT jussieu DOT fr. NNTP-Posting-Date: 31 Dec 2000 20:06:55 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello, there is a bug in the djgpp libc library. #include #include main() { printf("\032\n"); fprintf(stderr, "%s\n", strerror(errno)); } produces No space left on drive (ENOSPC) I checked that write(fileno(stdout),"\032\n",2); Has the same effect. [For people who may wonder why one would want to do the above, this is the end result of trying to find the smallest example which shows a bug occuring in the djgpp port of the ruby interpreter] Best regards, Jean MICHEL