bug-bash
[Top][All Lists]
Advanced

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

Re: source(builtin) and read(2)


From: Andreas Schwab
Subject: Re: source(builtin) and read(2)
Date: Fri, 23 Mar 2007 19:41:42 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux)

Matthew Woehlke <mw_triad@users.sourceforge.net> writes:

> Um. In fact, it is also an *ERROR* (i.e. read() will fail outright with -
> IIRC - EINVAL) to try to read more than SSIZE_MAX bytes at once. Many, but
> not all, systems define SSIZE_MAX to be a very large value, but it may be
> as small as 32k. I guess I've never tried to source an autoconf configure
> script on such a system.

If your ssize_t is smaller than 32 bits you'll have to worry about more
things than that.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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