[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnulib] getline & getline_safe
From: |
Paul Eggert |
Subject: |
Re: [Bug-gnulib] getline & getline_safe |
Date: |
15 Jul 2003 10:31:24 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Derek Robert Price <address@hidden> writes:
> Don't most modern operating systems allow ulimit to limit process size?
Yes, but that's a crude weapon, whereas getline_safe() is aimed just
at this particular problem.
Personally, I don't like functions whose name ends in "_safe".
Nothing is 100% safe. It's better to end their name in "_safer".
Or better yet, why not call it "getnline" as per the original bug report:
<http://www.mail-archive.com/address@hidden/msg00326.html>
> If getline_safe() _is_ necessary, is there interest in importing it
> into GNULIB (it really just wraps a call to getdelim2())?
I'd have interest, though I don't see how you can just wrap a call to
getdelim2. Don't you also need to modify getdelim2's signature?
- [Bug-gnulib] getline & getline_safe, Derek Robert Price, 2003/07/15
- Re: [Bug-gnulib] getline & getline_safe,
Paul Eggert <=
- Re: [Bug-gnulib] getline & getline_safe, Derek Robert Price, 2003/07/15
- Re: [Bug-gnulib] getline & getline_safe, Derek Robert Price, 2003/07/15
- Re: [Bug-gnulib] getline & getline_safe, Paul Eggert, 2003/07/15
- 01-getnline.diff (was Re: [Bug-gnulib] getline & getline_safe), Derek Robert Price, 2003/07/16
- Re: 01-getnline.diff (was Re: [Bug-gnulib] getline & getline_safe), Steve McIntyre, 2003/07/16
- Re: 01-getnline.diff (was Re: [Bug-gnulib] getline & getline_safe), Derek Robert Price, 2003/07/16
- [Bug-gnulib] Re: 01-getnline.diff, Jim Meyering, 2003/07/17
- Re: [Bug-gnulib] getline & getline_safe, Bruno Haible, 2003/07/17
- Re: [Bug-gnulib] getline & getline_safe, Bruno Haible, 2003/07/17
- Re: [Bug-gnulib] getline & getline_safe, Derek Robert Price, 2003/07/17