Subject: bug#9874: Fixes for several integer overflow and width issues

From: Andreas Schwab <[email-masked]>
Date: Thu, 27 Oct 2011 10:28:19 +0200

Paul Eggert <[email-masked]> writes:

> * File descriptors are small ints on platforms I regularly use,
>   but POSIX doesn't guarantee this assumption. 

Every function returning a new file descriptor returns the smallest
available one, so if you want to get a very big one you have to have
odles of open files already (unless you force a particular descriptor
with dup2, which Emacs doesn't).

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."