Re: /bin/ls is impure!
On Wed, Sep 19, 2001 at 11:00:31AM -0500, David Starner wrote:
> On Wed, Sep 19, 2001 at 10:46:45AM -0400, Norbert Veber wrote:
> > --> Now run ls.
> >
> > Be prepared to abort it before it consumes all the available memory on your
> > system.
>
> Interesting. It just starts mallocing more and more memory, increasing
> by 4 bytes at a time. gdb worked, but man wasn't happy, and neither
> was top.
Weird, man works fine here. It checks the real window size with ioctl()
before checking $COLUMNS - even if you set $MANWIDTH, though, which is
checked first of all, it's fine. Perhaps it's your pager?
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: