This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Comment correction: stdio.h
- To: Andreas Schwab <schwab at suse dot de>
- Subject: Re: Comment correction: stdio.h
- From: "Adam D. Bradley" <artdodge at cs dot bu dot edu>
- Date: Thu, 13 Jul 2000 13:32:08 -0400 (EDT)
- cc: libc-alpha at sourceware dot cygnus dot com
On Thu, 13 Jul 2000, Andreas Schwab wrote:
> "Adam D. Bradley" <artdodge@cs.bu.edu> writes:
>
> |> All,
> |>
> |> This patch changes a comment in the stdio.h header about the FOPEN_MAX
> |> value imported from bits/stdio_lim.h.
>
> The value is not a maximum, but a minimum maximum.
Then let's say _that_. It's very different from a "minimum".
TMP_MAX, a few lines above, has the same ambiguity... the security
implication of the value there is: "do not depend on more than this many
unique values existing!", so "minimum" conveys the wrong message.
Similarly, the meaning of "FOPEN_MAX" as "do not depend on opening more
than this many files simultaneously".
Perhaps "Maximum number of files you can depend on being able to have open
at once"?
Adam
-- Adam D. Bradley - artdodge@cs.bu.edu - 617/353-8921 MCS211 - <>< --
---- http://cs-people.bu.edu/artdodge/ ----- http://www.adbp.org/ ----
------- Anything that is good and useful is made of chocolate. -------