diff options
| author | Glenn Morris | 2012-06-28 23:28:37 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-06-28 23:28:37 -0700 |
| commit | c8d3a25c0981020e1b8aa3bf96a4a0059be82431 (patch) | |
| tree | 46a76faa5df111a6bea439330ea26bea1cc85585 /src | |
| parent | 5437effdb836355436f5f986e46baa6a41ec0966 (diff) | |
| parent | 3d8b9024adf6136edd3f7b7edf70a88b6ab8a61b (diff) | |
| download | emacs-c8d3a25c0981020e1b8aa3bf96a4a0059be82431.tar.gz emacs-c8d3a25c0981020e1b8aa3bf96a4a0059be82431.zip | |
Merge from emacs-24; up to 2012-04-30T11:57:47Z!sdl.web@gmail.com
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 9 | ||||
| -rw-r--r-- | src/charset.c | 10 | ||||
| -rw-r--r-- | src/gnutls.c | 1 |
3 files changed, 17 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 09fc8fbfda2..29fc2561c03 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2012-06-29 Andreas Schwab <schwab@linux-m68k.org> | ||
| 2 | |||
| 3 | * gnutls.c (emacs_gnutls_handshake): | ||
| 4 | Add QUIT to make the loop interruptible. | ||
| 5 | |||
| 6 | 2012-06-29 Glenn Morris <rgm@gnu.org> | ||
| 7 | |||
| 8 | * charset.c (init_charset): Make lack of etc/charsets fatal. | ||
| 9 | |||
| 1 | 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru> | 10 | 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 11 | ||
| 3 | * editfns.c (region_limit): Fix type mismatch. | 12 | * editfns.c (region_limit): Fix type mismatch. |
diff --git a/src/charset.c b/src/charset.c index 8ce972ebf37..04de8a44b4c 100644 --- a/src/charset.c +++ b/src/charset.c | |||
| @@ -2296,11 +2296,15 @@ init_charset (void) | |||
| 2296 | tempdir = Fexpand_file_name (build_string ("charsets"), Vdata_directory); | 2296 | tempdir = Fexpand_file_name (build_string ("charsets"), Vdata_directory); |
| 2297 | if (access (SSDATA (tempdir), 0) < 0) | 2297 | if (access (SSDATA (tempdir), 0) < 0) |
| 2298 | { | 2298 | { |
| 2299 | dir_warning ("Error: charsets directory (%s) does not exist.\n\ | 2299 | /* This used to be non-fatal (dir_warning), but it should not |
| 2300 | happen, and if it does sooner or later it will cause some | ||
| 2301 | obscure problem (eg bug#6401), so better abort. */ | ||
| 2302 | fprintf (stderr, "Error: charsets directory not found:\n\ | ||
| 2303 | %s\n\ | ||
| 2300 | Emacs will not function correctly without the character map files.\n\ | 2304 | Emacs will not function correctly without the character map files.\n\ |
| 2301 | Please check your installation!\n", | 2305 | Please check your installation!\n", |
| 2302 | tempdir); | 2306 | SDATA (tempdir)); |
| 2303 | /* TODO should this be a fatal error? (Bug#909) */ | 2307 | exit (1); |
| 2304 | } | 2308 | } |
| 2305 | 2309 | ||
| 2306 | Vcharset_map_path = Fcons (tempdir, Qnil); | 2310 | Vcharset_map_path = Fcons (tempdir, Qnil); |
diff --git a/src/gnutls.c b/src/gnutls.c index c5e21cc8777..9c96379ff7e 100644 --- a/src/gnutls.c +++ b/src/gnutls.c | |||
| @@ -322,6 +322,7 @@ emacs_gnutls_handshake (struct Lisp_Process *proc) | |||
| 322 | { | 322 | { |
| 323 | ret = fn_gnutls_handshake (state); | 323 | ret = fn_gnutls_handshake (state); |
| 324 | emacs_gnutls_handle_error (state, ret); | 324 | emacs_gnutls_handle_error (state, ret); |
| 325 | QUIT; | ||
| 325 | } | 326 | } |
| 326 | while (ret < 0 && fn_gnutls_error_is_fatal (ret) == 0); | 327 | while (ret < 0 && fn_gnutls_error_is_fatal (ret) == 0); |
| 327 | 328 | ||