[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."
- source(builtin) and read(2), hooanon05, 2007/03/23
- Re: source(builtin) and read(2), Andreas Schwab, 2007/03/23
- Re: source(builtin) and read(2), Matthew Woehlke, 2007/03/23
- Re: source(builtin) and read(2),
Andreas Schwab <=
- Re: source(builtin) and read(2), Matthew Woehlke, 2007/03/23
- Re: source(builtin) and read(2), Eric Blake, 2007/03/23
- Re: source(builtin) and read(2), Matthew Woehlke, 2007/03/23
- Re: source(builtin) and read(2), Eric Blake, 2007/03/23
- Re: source(builtin) and read(2), Matthew Woehlke, 2007/03/23
- Re: source(builtin) and read(2), Andreas Schwab, 2007/03/23