Comment correction: stdio.h
Adam D. Bradley
artdodge@cs.bu.edu
Thu Jul 13 10:30:00 GMT 2000
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. -------
More information about the Libc-alpha
mailing list