[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: source(builtin) and read(2)
From: |
Paul Eggert |
Subject: |
Re: source(builtin) and read(2) |
Date: |
Fri, 23 Mar 2007 16:28:05 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Eric Blake <address@hidden> writes:
> I'm seeking backup from those more knowledgeable about the C
> and POSIX standards as to whether NSK is allowed to define SSIZE_MAX to
> something smaller than what the underlying type can hold,
Yes, that's my understanding. To back this up,
<http://www.opengroup.org/susv3/basedefs/sys/types.h.html> says "The
type ssize_t shall be capable of storing values at least in the range
[-1, {SSIZE_MAX}]" which has the clear implication that ssize_t might
be able to store values greater than SSIZE_MAX.
> whether it is worth auditing gnulib to find any places that have
> previously assumed that SSIZE_MAX is ((1<<(sizeof(ssize_t)*CHAR_BIT -
> 2))-1)*2+1.
My kneejerk reaction is that it's not worth _my_ time but it might be
worth _Matthew's_....
- Re: source(builtin) and read(2), Eric Blake, 2007/03/23
- Re: source(builtin) and read(2),
Paul Eggert <=
- Re: source(builtin) and read(2), Bruno Haible, 2007/03/23
- Re: source(builtin) and read(2), Eric Blake, 2007/03/24
- RE: source(builtin) and read(2), Schwarz, Konrad, 2007/03/26
- Re: source(builtin) and read(2), Clive D.W. Feather, 2007/03/26
- RE: source(builtin) and read(2), Schwarz, Konrad, 2007/03/26
- Re: source(builtin) and read(2), Clive D.W. Feather, 2007/03/26
- RE: source(builtin) and read(2), Nick Stoughton, 2007/03/27
- Re: source(builtin) and read(2), Clive D.W. Feather, 2007/03/27
- Re: source(builtin) and read(2), Matthew Woehlke, 2007/03/27
- RE: source(builtin) and read(2), Matthew Woehlke, 2007/03/27