Minor changes to make make dist work correctly.
authorWerner Koch <wk@gnupg.org>
Fri, 4 Jul 2003 09:40:19 +0000 (09:40 +0000)
committerWerner Koch <wk@gnupg.org>
Fri, 4 Jul 2003 09:40:19 +0000 (09:40 +0000)
agent/ChangeLog
agent/gpg-agent.c
common/Makefile.am

index bb9c9b0..894bb58 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-04  Werner Koch  <wk@gnupg.org>
+
+       * gpg-agent.c (handle_connections): Kludge to allow use of Pth 1
+       and 2.
+
 2003-06-30  Werner Koch  <wk@gnupg.org>
 
        * call-scd.c (learn_status_cb): Store the serialno in PARM.
index b8c69fb..675f2be 100644 (file)
@@ -1034,7 +1034,11 @@ handle_connections (int listen_fd)
       fd = pth_accept_ev (listen_fd, (struct sockaddr *)&paddr, &plen, ev);
       if (fd == -1)
         {
+#ifdef PTH_STATUS_OCCURRED     /* This is Pth 2 */
           if (pth_event_status (ev) == PTH_STATUS_OCCURRED)
+#else
+          if (pth_event_occurred (ev))
+#endif
             {
               handle_signal (signo);
               continue;
index 11dc79a..d6e7d4d 100644 (file)
@@ -21,7 +21,6 @@
 
 EXTRA_DIST = mkerrors mkerrtok
 #INCLUDES = 
-BUILT_SOURCES = errors.c 
 
 noinst_LIBRARIES = libcommon.a