]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix recent gnutls changes.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Nov 2013 05:32:19 +0000 (21:32 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Nov 2013 05:32:19 +0000 (21:32 -0800)
* gnutls.c (Fgnutls_boot): Don't assume C99.
* process.c (wait_reading_process_output): Fix typo in recent change.

src/ChangeLog
src/gnutls.c
src/process.c

index d0bdc6bee9404b714014cb0441bd4518bf9a3490..bd5688d868f1c67740075d206c702a8df56d2d73 100644 (file)
@@ -1,3 +1,9 @@
+2013-11-05  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Fix recent gnutls changes.
+       * gnutls.c (Fgnutls_boot): Don't assume C99.
+       * process.c (wait_reading_process_output): Fix typo in recent change.
+
 2013-11-05  Teodor Zlatanov  <tzz@lifelogs.com>
 
        * process.c (wait_reading_process_output, read_process_output)
index 5241c91f9cb165a09e120abc352938c976fc6aeb..82b2fc8baa4b5a8210e8d6be43afe42dd201878c 100644 (file)
@@ -1103,7 +1103,7 @@ one trustfile (usually a CA bundle).  */)
       fn_gnutls_x509_crt_deinit (gnutls_verify_cert);
     }
 
-  // Only set this flag if the whole initialization succeeded.
+  /* Set this flag only if the whole initialization succeeded.  */
   XPROCESS (proc)->gnutls_p = 1;
 
   return gnutls_make_error (ret);
index ec4cda77e1c63460ee6e10812485f70ab5920feb..c0c522a1403906a467e13ef591d6f4b0ea95ff3a 100644 (file)
@@ -4623,7 +4623,7 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd,
                {
                  /* Check this specific channel. */
                  if (wait_proc->gnutls_p /* Check for valid process.  */
-                      && p->gnutls_state
+                     && wait_proc->gnutls_state
                      /* Do we have pending data?  */
                      && ((emacs_gnutls_record_check_pending
                           (wait_proc->gnutls_state))