diff options
| author | Paul Eggert | 2013-01-22 17:47:44 -0800 |
|---|---|---|
| committer | Paul Eggert | 2013-01-22 17:47:44 -0800 |
| commit | ea78b8829899bfd61f9a495fca198efdd797ef50 (patch) | |
| tree | 6fcfc9e7ab58a7920323158d4e92ec78cf408c1e | |
| parent | 9d93ce29bdf8aa277123170ef37f942f87e5073b (diff) | |
| download | emacs-ea78b8829899bfd61f9a495fca198efdd797ef50.tar.gz emacs-ea78b8829899bfd61f9a495fca198efdd797ef50.zip | |
Merge from gnulib.
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | lib/unistd.in.h | 20 | ||||
| -rw-r--r-- | src/unexmacosx.c | 2 |
3 files changed, 8 insertions, 19 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-01-23 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Merge from gnulib, incorporating: | ||
| 4 | 2013-01-16 unistd: port to recent mingw | ||
| 5 | |||
| 1 | 2013-01-19 Glenn Morris <rgm@gnu.org> | 6 | 2013-01-19 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * Makefile.in (install-arch-indep): Put back a chmod that was | 8 | * Makefile.in (install-arch-indep): Put back a chmod that was |
diff --git a/lib/unistd.in.h b/lib/unistd.in.h index f011b71d5f5..a870fe7b4a3 100644 --- a/lib/unistd.in.h +++ b/lib/unistd.in.h | |||
| @@ -14,29 +14,13 @@ | |||
| 14 | You should have received a copy of the GNU General Public License | 14 | You should have received a copy of the GNU General Public License |
| 15 | along with this program; if not, see <http://www.gnu.org/licenses/>. */ | 15 | along with this program; if not, see <http://www.gnu.org/licenses/>. */ |
| 16 | 16 | ||
| 17 | #ifndef _@GUARD_PREFIX@_UNISTD_H | ||
| 18 | |||
| 17 | #if __GNUC__ >= 3 | 19 | #if __GNUC__ >= 3 |
| 18 | @PRAGMA_SYSTEM_HEADER@ | 20 | @PRAGMA_SYSTEM_HEADER@ |
| 19 | #endif | 21 | #endif |
| 20 | @PRAGMA_COLUMNS@ | 22 | @PRAGMA_COLUMNS@ |
| 21 | 23 | ||
| 22 | /* Special invocation convention: | ||
| 23 | - On mingw, several headers, including <winsock2.h>, include <unistd.h>, | ||
| 24 | but we need to ensure that both the system <unistd.h> and <winsock2.h> | ||
| 25 | are completely included before we replace gethostname. */ | ||
| 26 | #if @GNULIB_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@ \ | ||
| 27 | && !defined _GL_WINSOCK2_H_WITNESS && defined _WINSOCK2_H | ||
| 28 | /* <unistd.h> is being indirectly included for the first time from | ||
| 29 | <winsock2.h>; avoid declaring any overrides. */ | ||
| 30 | # if @HAVE_UNISTD_H@ | ||
| 31 | # @INCLUDE_NEXT@ @NEXT_UNISTD_H@ | ||
| 32 | # else | ||
| 33 | # error unexpected; report this to bug-gnulib@gnu.org | ||
| 34 | # endif | ||
| 35 | # define _GL_WINSOCK2_H_WITNESS | ||
| 36 | |||
| 37 | /* Normal invocation. */ | ||
| 38 | #elif !defined _@GUARD_PREFIX@_UNISTD_H | ||
| 39 | |||
| 40 | /* The include_next requires a split double-inclusion guard. */ | 24 | /* The include_next requires a split double-inclusion guard. */ |
| 41 | #if @HAVE_UNISTD_H@ | 25 | #if @HAVE_UNISTD_H@ |
| 42 | # @INCLUDE_NEXT@ @NEXT_UNISTD_H@ | 26 | # @INCLUDE_NEXT@ @NEXT_UNISTD_H@ |
diff --git a/src/unexmacosx.c b/src/unexmacosx.c index 8d4e636fa5c..bec1d0a1b04 100644 --- a/src/unexmacosx.c +++ b/src/unexmacosx.c | |||
| @@ -437,7 +437,7 @@ build_region_list (void) | |||
| 437 | } | 437 | } |
| 438 | 438 | ||
| 439 | 439 | ||
| 440 | #define MAX_UNEXEC_REGIONS 400 | 440 | #define MAX_UNEXEC_REGIONS 800 |
| 441 | 441 | ||
| 442 | static int num_unexec_regions; | 442 | static int num_unexec_regions; |
| 443 | typedef struct { | 443 | typedef struct { |