bug-bash
[Top][All Lists]
Advanced

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

Re: Syntax "checking whether setvbuf arguments are reversed"


From: Chet Ramey
Subject: Re: Syntax "checking whether setvbuf arguments are reversed"
Date: Mon, 10 Dec 2001 09:20:01 -0500

> uname output: Linux localpc 2.4.13 #3 Tue Nov 20 15:27:21 CET 2001 i686 
> unknown
> Machine Type: i686-pc-linux-gnu
> 
> Bash Version: 2.05a
> Patch Level: 0
> Release Status: release
> 
> Description:
> Configure can't check whether setvbuf arguments are reversed,
> because the stvbuf's syntax is wrong.
> 
> Repeat-By:
> Whenever ./configure runs.
> Fix:
> in configure (line 5173) change
> - if (setvbuf(stdout, _IOLBF, (char *) main, BUFSIZ) != 0)
> + if (setvbuf(stdout, (char *) main, _IOLBF, BUFSIZ) != 0)

That's the test, to find out whether some fool system implemented
setvbuf wrong.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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