diff options
| author | Paul Eggert | 2013-11-04 21:32:19 -0800 |
|---|---|---|
| committer | Paul Eggert | 2013-11-04 21:32:19 -0800 |
| commit | 693698093480628b7438ca0fd1614b00acfd1137 (patch) | |
| tree | 8c371136f57cbb561ccadb1bf92de7404c42654b /src | |
| parent | 2d748773b27daf6a8462705f382aa48942e3c883 (diff) | |
| download | emacs-693698093480628b7438ca0fd1614b00acfd1137.tar.gz emacs-693698093480628b7438ca0fd1614b00acfd1137.zip | |
Fix recent gnutls changes.
* gnutls.c (Fgnutls_boot): Don't assume C99.
* process.c (wait_reading_process_output): Fix typo in recent change.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/gnutls.c | 2 | ||||
| -rw-r--r-- | src/process.c | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d0bdc6bee94..bd5688d868f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2013-11-05 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Fix recent gnutls changes. | ||
| 4 | * gnutls.c (Fgnutls_boot): Don't assume C99. | ||
| 5 | * process.c (wait_reading_process_output): Fix typo in recent change. | ||
| 6 | |||
| 1 | 2013-11-05 Teodor Zlatanov <tzz@lifelogs.com> | 7 | 2013-11-05 Teodor Zlatanov <tzz@lifelogs.com> |
| 2 | 8 | ||
| 3 | * process.c (wait_reading_process_output, read_process_output) | 9 | * process.c (wait_reading_process_output, read_process_output) |
diff --git a/src/gnutls.c b/src/gnutls.c index 5241c91f9cb..82b2fc8baa4 100644 --- a/src/gnutls.c +++ b/src/gnutls.c | |||
| @@ -1103,7 +1103,7 @@ one trustfile (usually a CA bundle). */) | |||
| 1103 | fn_gnutls_x509_crt_deinit (gnutls_verify_cert); | 1103 | fn_gnutls_x509_crt_deinit (gnutls_verify_cert); |
| 1104 | } | 1104 | } |
| 1105 | 1105 | ||
| 1106 | // Only set this flag if the whole initialization succeeded. | 1106 | /* Set this flag only if the whole initialization succeeded. */ |
| 1107 | XPROCESS (proc)->gnutls_p = 1; | 1107 | XPROCESS (proc)->gnutls_p = 1; |
| 1108 | 1108 | ||
| 1109 | return gnutls_make_error (ret); | 1109 | return gnutls_make_error (ret); |
diff --git a/src/process.c b/src/process.c index ec4cda77e1c..c0c522a1403 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -4623,7 +4623,7 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd, | |||
| 4623 | { | 4623 | { |
| 4624 | /* Check this specific channel. */ | 4624 | /* Check this specific channel. */ |
| 4625 | if (wait_proc->gnutls_p /* Check for valid process. */ | 4625 | if (wait_proc->gnutls_p /* Check for valid process. */ |
| 4626 | && p->gnutls_state | 4626 | && wait_proc->gnutls_state |
| 4627 | /* Do we have pending data? */ | 4627 | /* Do we have pending data? */ |
| 4628 | && ((emacs_gnutls_record_check_pending | 4628 | && ((emacs_gnutls_record_check_pending |
| 4629 | (wait_proc->gnutls_state)) | 4629 | (wait_proc->gnutls_state)) |