[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13054: Assume POSIX 1003.1-1988 or later for execve.
From: |
Paul Eggert |
Subject: |
bug#13054: Assume POSIX 1003.1-1988 or later for execve. |
Date: |
Sun, 02 Dec 2012 10:17:11 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
On 12/02/2012 12:27 AM, Andreas Schwab wrote:
> How does this have anything to do with POSIX?
The patched version uses execve, the unpatched version doesn't.
Long ago, it made sense to avoid execve, because some pre-POSIX
platforms lacked execve. (The FreeBSD man pages say that
execve was introduced in 4.2BSD, so I assume 4.1BSD lacked it.)
execve was standardized in POSIX 1003.1-1988, though. It's
safe to assume execve now on all POSIXish platforms, and doing
so simplifies Emacs a bit.
bug#13054: Assume POSIX 1003.1-1988 or later for execve., Eli Zaretskii, 2012/12/02