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

Re: /bin/ls is impure!



On Wed, Sep 19, 2001 at 11:53:10AM -0400, Chris Danis wrote:
> brooks% echo $COLUMNS
> 49151
...
> purity seems to be causing this. No idea why or how, but it seems to be 
> the culprit.

It would seem this is why:

diff -r purity-1/pt.c purity-1.fix/pt.c
792c792
<       (void) ioctl(0,TIOCSWINSZ,&wsize);
---
>       (void) ioctl(0,TIOCGWINSZ,&wsize);

Ben
-- 
    nSLUG       http://www.nslug.ns.ca      synrg@sanctuary.nslug.ns.ca
    Debian      http://www.debian.org       synrg@debian.org
[ pgp key fingerprint = 7F DA 09 4B BA 2C 0D E0  1B B1 31 ED C6 A9 39 4F ]
[ gpg key fingerprint = 395C F3A4 35D3 D247 1387  2D9E 5A94 F3CA 0B27 13C8 ]



Reply to: