This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Comment correction: stdio.h


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. -------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]