bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Os2


From: Elbert Pol
Subject: Re: Os2
Date: Sat, 12 Apr 2008 18:58:07 +0200
User-agent: Thunderbird 3.0a1pre (OS/2/2008040200)


Hi Bruno,
Bruno Haible wrote:
Elbert Pol wrote:
Sorry for that trouble with not sending to bug-gnulib

Thank you. Now it's easy to reply to you.

ok :P
I run this and now the check complited whitout a error.

I attach logs.


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<address@hidden>

        * lib/freadptr.c (freadptr) [__EMX__]: Fix wrong assertion.
        Reported by Elbert Pol<address@hidden>.

--- 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;



--
          With the best regards,

                                      Elbert Pol

--------------------------------------------------------------------------
         *******  Take a look at www.romeepol.nl  ********
--------------------------------------------------------------------------

Attachment: check.log.bz2
Description: Binary data

Attachment: config.log.bz2
Description: Binary data

Attachment: make.log.bz2
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]