Check for orphan'ed chnages in rpm-4.1.
authorjbj <devnull@localhost>
Thu, 19 Sep 2002 16:30:25 +0000 (16:30 +0000)
committerjbj <devnull@localhost>
Thu, 19 Sep 2002 16:30:25 +0000 (16:30 +0000)
CVS patchset: 5718
CVS date: 2002/09/19 16:30:25

.exclude
Makefile.am
lib/psm.c
python/rpmts-py.c

index d3b66d8..4690ee6 100644 (file)
--- a/.exclude
+++ b/.exclude
@@ -32,6 +32,7 @@ config.log
 config.status
 config.sub
 configure
+db
 doxygen
 libtool
 ltconfig
index 0a20d37..601e35e 100644 (file)
@@ -12,7 +12,7 @@ EXTRA_DIST = CHANGES CREDITS Doxyheader GROUPS README.amiga INSTALL \
        po/*.in po/*.po po/rpm.pot \
        rpm.magic rpmpopt-$(VERSION) rpmqv.c rpm.c
 
-SUBDIRS = intl po @WITH_ZLIB_SUBDIR@ @WITH_LIBELF_SUBDIR@ @WITH_DB_SUBDIR@ popt beecrypt rpmio rpmdb lib build misc @WITH_PYTHON_SUBDIR@ tools scripts tests doc .
+SUBDIRS = intl po @WITH_ZLIB_SUBDIR@ libelf @WITH_DB_SUBDIR@ popt beecrypt rpmio rpmdb lib build misc @WITH_PYTHON_SUBDIR@ tools scripts tests doc .
 
 INCLUDES = \
        -I$(top_srcdir)/build \
@@ -25,7 +25,7 @@ INCLUDES = \
        @WITH_ZLIB_INCLUDE@ \
        @INCPATH@
 
-myLDFLAGS = @LDFLAGS_STATIC@
+myLDFLAGS = @LDFLAGS_STATIC@
 
 # XXX libtool can/should generate dependent libs.
 # XXX solaris2.6 cannot use *.la with --all-static (downrev binutils/egcs?)
index 1a8744b..252cdd3 100644 (file)
--- a/lib/psm.c
+++ b/lib/psm.c
@@ -5,6 +5,9 @@
 
 #include "system.h"
 
+#include <signal.h>
+#include <sys/signal.h>
+
 #include <rpmio_internal.h>
 #include <rpmlib.h>
 #include <rpmmacro.h>
index 677ce32..12f7204 100644 (file)
@@ -555,7 +555,7 @@ fprintf(stderr, "*** rpmts_IDTXglob(%p) ts %p\n", s, s->ts);
     globstr = _free(globstr);
     Py_END_ALLOW_THREADS
 
-    if (idtx->nidt <= 0) {
+    if (idtx == NULL || idtx->nidt <= 0) {
        Py_INCREF(Py_None);
        result = Py_None;
     } else {