[Top][All Lists]

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

RE: [bash-testers] Bash-4.2-beta available for FTP

From: Joachim Schmitz
Subject: RE: [bash-testers] Bash-4.2-beta available for FTP
Date: Wed, 22 Dec 2010 11:49:01 +0100

Hi Bruno

I believe I did this earlier and sent you some patches, back in early October 
this year and from my company email account (address@hidden), in connection 
with getting ACL support to work for HP-NonStop.

Anyway, here it goes, it is not finished, but I'm not sure how to go forward. 
'make check' reports 4 failures, due to failed assertions:
/usr/local/Floss/testdir-stdioext/gltests/test-freadable.c:52: assertion failed
/usr/local/Floss/testdir-stdioext/gltests/test-freading.c:48: assertion failed
/usr/local/Floss/testdir-stdioext/gltests/test-fwritable.c:41: assertion failed
/usr/local/Floss/testdir-stdioext/gltests/test-fwriting.c:41: assertion failed
And this is because I 'forced' them thru the compiler... but see the attached 
diff. The Problem is I don't know that the proper values for _IORW, _IOREAD, 
_IOWRT are, for _IOERR I believe to have found it to be 64 on our platform by 
experiment. I found no hints in stdio.h about these (attached too, in the hope 
you can see something there)

Bye, Jojo

-----Original Message-----
From: Bruno Haible [mailto:address@hidden 
Sent: Tuesday, December 21, 2010 9:10 PM
To: address@hidden
Cc: Eric Blake; Joachim Schmitz; Chet Ramey
Subject: Re: [bash-testers] Bash-4.2-beta available for FTP

[removing bash-testers]

Hello Joachim,

> > "/usr/local/Floss/bash-4.2-beta/lib/sh/fpurge.c", line 143: warning(1852):
> >           #warning directive: "Please port gnulib fpurge.c to your platform!
> >           Look at the definitions of fflush, setvbuf and ungetc on your
> >           system, then report this to bug-gnulib."
> Can you help us fix the upstream copy of fpurge.c in gnulib to 
> appropriately cover your platform?  We would also like to port the 
> other FILE wrapper functions to work with your platform

fpurge is part of a family of functions that are best ported together.
To do so, please fetch
  - Unpack the package, configure it. Try "make" and fix the problems.
  - Run "make check" to see the test results.
  - The recommended order of porting (from easy to harder) is:
    fbufmode, fseterr, freadable, fwritable, freading, fwriting,
    fpending, fpurge, freadptr, freadseek, freadahead.
It requires a deep look at the 'struct FILE' and related macros from <stdio.h>.

Please use "#if defined __TANDEM" as condition for your added code (see 


Attachment: testdir-stdioext.diff
Description: Binary data

Attachment: stdio.h
Description: Text document

reply via email to

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