unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: 9874@debbugs.gnu.org
Subject: bug#9874: Fixes for several integer overflow and width issues
Date: Thu, 27 Oct 2011 10:28:19 +0200	[thread overview]
Message-ID: <m3ty6udejg.fsf@hase.home> (raw)
In-Reply-To: <4EA8FB27.7090700@cs.ucla.edu> (Paul Eggert's message of "Wed, 26 Oct 2011 23:33:11 -0700")

Paul Eggert <eggert@cs.ucla.edu> 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, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





  reply	other threads:[~2011-10-27  8:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-26  7:51 bug#9874: Fixes for several integer overflow and width issues Paul Eggert
2011-10-26  8:04 ` Andreas Schwab
2011-10-26 14:09 ` Stefan Monnier
2011-10-26 14:26   ` Juanma Barranquero
2011-10-26 17:02     ` David De La Harpe Golden
2011-10-26 17:16     ` Stefan Monnier
2011-10-26 19:22       ` Andreas Schwab
2011-10-27  6:33   ` Paul Eggert
2011-10-27  8:28     ` Andreas Schwab [this message]
2011-10-27 15:14       ` Paul Eggert
2012-04-09 23:38     ` Paul Eggert
2012-05-25 20:50       ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3ty6udejg.fsf@hase.home \
    --to=schwab@linux-m68k.org \
    --cc=9874@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).