[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Os2
From: |
Bruno Haible |
Subject: |
Re: Os2 |
Date: |
Sat, 12 Apr 2008 17:20:39 +0200 |
User-agent: |
KMail/1.5.4 |
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 <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;
- Fwd: Os2, Bruno Haible, 2008/04/12
- Os2, Elbert Pol, 2008/04/12
- Re: Os2,
Bruno Haible <=
- Re: Os2, Elbert Pol, 2008/04/13
- Re: Os2, Elbert Pol, 2008/04/13
- Re: Os2, Bruno Haible, 2008/04/13
- Re: Os2, Bruno Haible, 2008/04/13
- Re: Os2, Simon Josefsson, 2008/04/13
- Re: Os2, Simon Josefsson, 2008/04/13