Minor changes to make make dist work correctly.

This commit is contained in:
Werner Koch 2003-07-04 09:40:19 +00:00
parent 8b9f0bda3d
commit 274e121399
3 changed files with 9 additions and 1 deletions

View 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> 2003-06-30 Werner Koch <wk@gnupg.org>
* call-scd.c (learn_status_cb): Store the serialno in PARM. * call-scd.c (learn_status_cb): Store the serialno in PARM.

View File

@ -1034,7 +1034,11 @@ handle_connections (int listen_fd)
fd = pth_accept_ev (listen_fd, (struct sockaddr *)&paddr, &plen, ev); fd = pth_accept_ev (listen_fd, (struct sockaddr *)&paddr, &plen, ev);
if (fd == -1) if (fd == -1)
{ {
#ifdef PTH_STATUS_OCCURRED /* This is Pth 2 */
if (pth_event_status (ev) == PTH_STATUS_OCCURRED) if (pth_event_status (ev) == PTH_STATUS_OCCURRED)
#else
if (pth_event_occurred (ev))
#endif
{ {
handle_signal (signo); handle_signal (signo);
continue; continue;

View File

@ -21,7 +21,6 @@
EXTRA_DIST = mkerrors mkerrtok EXTRA_DIST = mkerrors mkerrtok
#INCLUDES = #INCLUDES =
BUILT_SOURCES = errors.c
noinst_LIBRARIES = libcommon.a noinst_LIBRARIES = libcommon.a