Elbert Pol wrote: > Sorry for that trouble with not sending to bug-gnulib
Thank you. Now it's easy to reply to you. > I run that test file and attach the logs. Thank you. The problem seems to be localized to freadptr. And the absence of output before the abort() indicates an abort() from the library code. The code effectively has a stupid mistake. Fixing it like this. I uploaded a new tarball at http://www.haible.de/bruno/gnu/testdir-stdioext.tar.gz with the fix. Can you try that? Bruno 2008-04-12 Bruno Haible <[EMAIL PROTECTED]> * lib/freadptr.c (freadptr) [__EMX__]: Fix wrong assertion. Reported by Elbert Pol <[EMAIL PROTECTED]>. --- lib/freadptr.c.orig 2008-04-12 17:10:37.000000000 +0200 +++ lib/freadptr.c 2008-04-12 17:10:30.000000000 +0200 @@ -50,7 +50,7 @@ fp->_ungetc_count = 0 implies fp->_rcount >= 0. */ if (fp->_rcount <= 0) return NULL; - if (fp->_ungetc_count == 0) + if (!(fp->_ungetc_count == 0)) abort (); *sizep = fp->_rcount; return fp->_ptr;