bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: source(builtin) and read(2)


From: Geoff Clare
Subject: Re: source(builtin) and read(2)
Date: Sat, 31 Mar 2007 10:18:54 +0100
User-agent: Mutt/1.5.9i

Paul Eggert <address@hidden> wrote, on 30 Mar 2007:
>
> So I don't see the point of insisting on a guarantee that SSIZE_MAX
> must be the maximum representable ssize_t value.  What can a portable
> application do with that guarantee that it couldn't do otherwise?

It can use SSIZE_MAX for the same kind of things as INT_MAX et al. are
used, e.g. to check that an arithmetic operation will not overflow
before performing it.

-- 
Geoff Clare <address@hidden>
The Open Group, Thames Tower, Station Road, Reading, RG1 1LX, England




reply via email to

[Prev in Thread] Current Thread [Next in Thread]