Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATH_MAX used dangerously -- do we care?
- X-seq: zsh-workers 1772
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- Subject: Re: PATH_MAX used dangerously -- do we care?
- Date: Thu, 25 Jul 1996 13:52:05 -0700
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: Zoltan Hidvegi <hzoli@xxxxxxxxxx> "Re: PATH_MAX used dangerously -- do we care?" (Jul 25, 10:13pm)
- References: <199607252013.WAA29731@xxxxxxxxxxxxxxxxx>
- Reply-to: schaefer@xxxxxxx
On Jul 25, 10:13pm, Zoltan Hidvegi wrote:
} Subject: Re: PATH_MAX used dangerously -- do we care?
}
} > Finally, the last hunk below makes use of DIGBUFSIZE in a couple of
} > places in params.c where it appeared it should have been used.
}
} That's wrong. DIGBUFSIZE should be be used when a buffer has to store
} things like -2#101100001011101... DIGBUFSIZE is for decimal digit buffers
} only.
Yes, decimal digits ARE what's being written into the buffers in the two
cases where I made the change. Compare lines 651-656, which I changed,
to lines 708-711, which I did not change. Why should DIGBUFSIZE be used
on 708 but not on 651?
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.nbn.com/people/lantern
New male in /home/schaefer:
>N 2 Justin William Schaefer Sat May 11 03:43 53/4040 "Happy Birthday"
Messages sorted by:
Reverse Date,
Date,
Thread,
Author