diff options
author | jbj <devnull@localhost> | 2005-01-23 20:44:57 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2005-01-23 20:44:57 +0000 |
commit | 9e1bfe0af5fd0183f882f60ebbb670f867682425 (patch) | |
tree | 4c9b6be8c414b95b076e2e26ac2f300f025ffea3 /python | |
parent | 15d076fc8ff97ea14a78d78bf4ddab8939bf6a50 (diff) | |
download | rpm-9e1bfe0af5fd0183f882f60ebbb670f867682425.tar.gz rpm-9e1bfe0af5fd0183f882f60ebbb670f867682425.tar.bz2 rpm-9e1bfe0af5fd0183f882f60ebbb670f867682425.zip |
- blueprint rpm-4_4 and HEAD to minimize diff spew.
CVS patchset: 7706
CVS date: 2005/01/23 20:44:57
Diffstat (limited to 'python')
-rw-r--r-- | python/Makefile.am | 4 | ||||
-rw-r--r-- | python/rpmts-py.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/python/Makefile.am b/python/Makefile.am index 2f3841a64..ffaaf605b 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -12,13 +12,13 @@ SUBDIRS = rpmdb rpm EXTRA_DIST = system.h rpmdebug-py.c INCLUDES = -I. \ - -I$(top_srcdir) \ + -I$(top_srcdir)/build \ -I$(top_srcdir)/lib \ -I$(top_srcdir)/rpmdb \ -I$(top_srcdir)/rpmio \ @WITH_BEECRYPT_INCLUDE@ \ -I$(top_srcdir)/popt \ - -I$(top_srcdir)/build \ + -I$(top_srcdir)/misc \ -I$(pyincdir) \ @WITH_LIBELF_INCLUDE@ \ @INCPATH@ diff --git a/python/rpmts-py.c b/python/rpmts-py.c index 56d386af7..30a8de55c 100644 --- a/python/rpmts-py.c +++ b/python/rpmts-py.c @@ -1073,6 +1073,8 @@ rpmtsCallback(/*@unused@*/ const void * hd, const rpmCallbackType what, if (_rpmts_debug) fprintf(stderr, "\t%p = fdDup(%d)\n", fd, fdno); + fcntl(Fileno(fd), F_SETFD, FD_CLOEXEC); + return fd; } else if (what == RPMCALLBACK_INST_CLOSE_FILE) { |