diff options
| author | Joakim Verona | 2013-03-26 16:20:17 +0100 |
|---|---|---|
| committer | Joakim Verona | 2013-03-26 16:20:17 +0100 |
| commit | 6f6db22fc74ffb7fbdd4d805545b7e28cd59f0c8 (patch) | |
| tree | 4a58903b4c3d010e90fc37fe10ea4d9895876d01 /lib-src | |
| parent | 62dd123f7c11ddbe156bc0e84dcb7ca1da5368bb (diff) | |
| parent | 48c226c2c2592e31a47559bd1689fcc4354d9479 (diff) | |
| download | emacs-6f6db22fc74ffb7fbdd4d805545b7e28cd59f0c8.tar.gz emacs-6f6db22fc74ffb7fbdd4d805545b7e28cd59f0c8.zip | |
conflict resolve
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 26 | ||||
| -rw-r--r-- | lib-src/makefile.w32-in | 2 | ||||
| -rw-r--r-- | lib-src/ntlib.c | 4 | ||||
| -rw-r--r-- | lib-src/pop.c | 2 |
4 files changed, 29 insertions, 5 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index d8ec0579422..10758d80872 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,23 @@ | |||
| 1 | 2013-03-26 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | Fix incompatibilities between MinGW.org and MinGW64 headers. | ||
| 4 | * ntlib.c (struct timespec) [!_TIMEZONE_DEFINED]: Define the | ||
| 5 | struct only if _TIMEZONE_DEFINED is not defined. | ||
| 6 | |||
| 7 | 2013-03-23 cg <chengang31@gmail.com> (tiny change) | ||
| 8 | |||
| 9 | * makefile.w32-in (LIB_SRC): Move before first use. | ||
| 10 | |||
| 11 | 2013-03-16 Paul Eggert <eggert@cs.ucla.edu> | ||
| 12 | |||
| 13 | * pop.c: Fix ERRMAX typo (Bug#13925). | ||
| 14 | (socket_connection) [!HAVE_KRB5_ERROR_TEXT && HAVE_KRB5_ERROR_E_TEXT]: | ||
| 15 | Use ERROR_MAX, not ERRMAX. | ||
| 16 | |||
| 17 | 2013-03-16 Glenn Morris <rgm@gnu.org> | ||
| 18 | |||
| 19 | * Version 24.3 released. | ||
| 20 | |||
| 1 | 2013-03-13 Paul Eggert <eggert@cs.ucla.edu> | 21 | 2013-03-13 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 22 | ||
| 3 | File synchronization fixes (Bug#13944). | 23 | File synchronization fixes (Bug#13944). |
| @@ -6,8 +26,8 @@ | |||
| 6 | * emacsclient.c (main): Use fdatasync, not fsync, since we don't | 26 | * emacsclient.c (main): Use fdatasync, not fsync, since we don't |
| 7 | care about metadata. Keep trying if interrupted. | 27 | care about metadata. Keep trying if interrupted. |
| 8 | * movemail.c (main, popmail): Don't worry about BSD_SYSTEM, since | 28 | * movemail.c (main, popmail): Don't worry about BSD_SYSTEM, since |
| 9 | fsync is available everywhere (or there is a substitute). Don't | 29 | fsync is available everywhere (or there is a substitute). |
| 10 | report an error if fsync returns EINVAL. | 30 | Don't report an error if fsync returns EINVAL. |
| 11 | 31 | ||
| 12 | Static checking by Sun C 5.12. | 32 | Static checking by Sun C 5.12. |
| 13 | * etags.c (analyse_regex): Omit unreachable code. | 33 | * etags.c (analyse_regex): Omit unreachable code. |
| @@ -5182,7 +5202,7 @@ | |||
| 5182 | (longopts): New long options without short counterpart are | 5202 | (longopts): New long options without short counterpart are |
| 5183 | globals, members, no-globals, no-members. Regexp options are now | 5203 | globals, members, no-globals, no-members. Regexp options are now |
| 5184 | defined conditionally to ETAGS_REGEXPS. | 5204 | defined conditionally to ETAGS_REGEXPS. |
| 5185 | (print_help): Updated. | 5205 | (print_help): Update. |
| 5186 | 5206 | ||
| 5187 | 1997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it> | 5207 | 1997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
| 5188 | 5208 | ||
diff --git a/lib-src/makefile.w32-in b/lib-src/makefile.w32-in index 8d016bc16be..5ec559ff985 100644 --- a/lib-src/makefile.w32-in +++ b/lib-src/makefile.w32-in | |||
| @@ -27,6 +27,7 @@ LOCAL_FLAGS = -DNO_LDAV=1 -DNO_ARCHIVES=1 -I../lib \ | |||
| 27 | -I../nt/inc -I../src $(EMACS_EXTRA_C_FLAGS) | 27 | -I../nt/inc -I../src $(EMACS_EXTRA_C_FLAGS) |
| 28 | 28 | ||
| 29 | LIBS = $(BASE_LIBS) $(ADVAPI32) | 29 | LIBS = $(BASE_LIBS) $(ADVAPI32) |
| 30 | LIB_SRC = . | ||
| 30 | 31 | ||
| 31 | # The following target is used by makefile.w32-in files in other directories. | 32 | # The following target is used by makefile.w32-in files in other directories. |
| 32 | make-docfile: $(BLD)/make-docfile.exe | 33 | make-docfile: $(BLD)/make-docfile.exe |
| @@ -360,7 +361,6 @@ TAGS: $(BLD)/etags.exe *.c *.h | |||
| 360 | ### DEPENDENCIES ### | 361 | ### DEPENDENCIES ### |
| 361 | 362 | ||
| 362 | EMACS_ROOT = .. | 363 | EMACS_ROOT = .. |
| 363 | LIB_SRC = . | ||
| 364 | SRC = $(EMACS_ROOT)/src | 364 | SRC = $(EMACS_ROOT)/src |
| 365 | NT_INC = $(EMACS_ROOT)/nt/inc | 365 | NT_INC = $(EMACS_ROOT)/nt/inc |
| 366 | GNU_LIB = $(EMACS_ROOT)/lib | 366 | GNU_LIB = $(EMACS_ROOT)/lib |
diff --git a/lib-src/ntlib.c b/lib-src/ntlib.c index f43117457cb..849abc2ede5 100644 --- a/lib-src/ntlib.c +++ b/lib-src/ntlib.c | |||
| @@ -34,11 +34,15 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 34 | 34 | ||
| 35 | #include "ntlib.h" | 35 | #include "ntlib.h" |
| 36 | 36 | ||
| 37 | /* MinGW64 defines _TIMEZONE_DEFINED and defines 'struct timespec' in | ||
| 38 | its system headers. */ | ||
| 39 | #ifndef _TIMEZONE_DEFINED | ||
| 37 | struct timezone | 40 | struct timezone |
| 38 | { | 41 | { |
| 39 | int tz_minuteswest; /* minutes west of Greenwich */ | 42 | int tz_minuteswest; /* minutes west of Greenwich */ |
| 40 | int tz_dsttime; /* type of dst correction */ | 43 | int tz_dsttime; /* type of dst correction */ |
| 41 | }; | 44 | }; |
| 45 | #endif | ||
| 42 | 46 | ||
| 43 | #define MAXPATHLEN _MAX_PATH | 47 | #define MAXPATHLEN _MAX_PATH |
| 44 | 48 | ||
diff --git a/lib-src/pop.c b/lib-src/pop.c index ba384db3d19..1f3f82baa68 100644 --- a/lib-src/pop.c +++ b/lib-src/pop.c | |||
| @@ -1198,7 +1198,7 @@ socket_connection (char *host, int flags) | |||
| 1198 | } | 1198 | } |
| 1199 | #elif defined HAVE_KRB5_ERROR_E_TEXT | 1199 | #elif defined HAVE_KRB5_ERROR_E_TEXT |
| 1200 | if (err_ret && err_ret->e_text && **err_ret->e_text) | 1200 | if (err_ret && err_ret->e_text && **err_ret->e_text) |
| 1201 | snprintf (pop_error + pop_error_len, ERRMAX - pop_error_len, | 1201 | snprintf (pop_error + pop_error_len, ERROR_MAX - pop_error_len, |
| 1202 | " [server says '%s']", *err_ret->e_text); | 1202 | " [server says '%s']", *err_ret->e_text); |
| 1203 | #endif | 1203 | #endif |
| 1204 | if (err_ret) | 1204 | if (err_ret) |