diff options
| author | Paul Eggert | 2011-07-27 17:48:01 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-07-27 17:48:01 -0700 |
| commit | 044c22e545acef592ed95e4e3bb9f8aeff67291a (patch) | |
| tree | 167a4c706b62b12ea979bdf6ad47e70b66bb0394 /nt | |
| parent | dbf38e02c9ade4979418f24a99962cfef170b957 (diff) | |
| parent | 8265d3bb30544e58683fc16e23f9908f3d5d0abc (diff) | |
| download | emacs-044c22e545acef592ed95e4e3bb9f8aeff67291a.tar.gz emacs-044c22e545acef592ed95e4e3bb9f8aeff67291a.zip | |
Merge: Integer signedness and overflow and related fixes.
Fixes: debbugs:9079
Diffstat (limited to 'nt')
| -rw-r--r-- | nt/ChangeLog | 7 | ||||
| -rw-r--r-- | nt/config.nt | 8 |
2 files changed, 7 insertions, 8 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog index 087f006b88b..edbd1a1c1d4 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2011-07-28 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Assume freestanding C89 headers, string.h, stdlib.h. | ||
| 4 | * config.nt (HAVE_LIMITS_H, HAVE_STRING_H, HAVE_STDLIB_H) | ||
| 5 | (STDC_HEADERS): Remove. | ||
| 6 | Iinclude string.h, stdlib.h unconditionally. | ||
| 7 | |||
| 1 | 2011-06-07 Eli Zaretskii <eliz@gnu.org> | 8 | 2011-06-07 Eli Zaretskii <eliz@gnu.org> |
| 2 | 9 | ||
| 3 | * inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX) | 10 | * inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX) |
diff --git a/nt/config.nt b/nt/config.nt index 2ba76df4446..3436bc989e0 100644 --- a/nt/config.nt +++ b/nt/config.nt | |||
| @@ -131,12 +131,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 131 | #undef HAVE_LINUX_VERSION_H | 131 | #undef HAVE_LINUX_VERSION_H |
| 132 | #undef HAVE_SYS_SYSTEMINFO_H | 132 | #undef HAVE_SYS_SYSTEMINFO_H |
| 133 | #undef HAVE_TERMIOS_H | 133 | #undef HAVE_TERMIOS_H |
| 134 | #undef HAVE_LIMITS_H | ||
| 135 | #undef HAVE_STRING_H | ||
| 136 | #undef HAVE_STRINGS_H | 134 | #undef HAVE_STRINGS_H |
| 137 | #undef HAVE_STDLIB_H | ||
| 138 | #undef HAVE_PWD_H | 135 | #undef HAVE_PWD_H |
| 139 | #undef STDC_HEADERS | ||
| 140 | 136 | ||
| 141 | #undef HAVE_LIBDNET | 137 | #undef HAVE_LIBDNET |
| 142 | #undef HAVE_LIBPTHREADS | 138 | #undef HAVE_LIBPTHREADS |
| @@ -506,15 +502,11 @@ extern char *getenv (); | |||
| 506 | #define PROTOTYPES 1 | 502 | #define PROTOTYPES 1 |
| 507 | #endif | 503 | #endif |
| 508 | 504 | ||
| 509 | #ifdef HAVE_STRING_H | ||
| 510 | #include "string.h" | 505 | #include "string.h" |
| 511 | #endif | ||
| 512 | #ifdef HAVE_STRINGS_H | 506 | #ifdef HAVE_STRINGS_H |
| 513 | #include "strings.h" | 507 | #include "strings.h" |
| 514 | #endif | 508 | #endif |
| 515 | #ifdef HAVE_STDLIB_H | ||
| 516 | #include <stdlib.h> | 509 | #include <stdlib.h> |
| 517 | #endif | ||
| 518 | 510 | ||
| 519 | #ifndef NO_RETURN | 511 | #ifndef NO_RETURN |
| 520 | #if defined __GNUC__ && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR >= 5)) | 512 | #if defined __GNUC__ && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR >= 5)) |