summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-11-15 16:00:42 +0000
committerjbj <devnull@localhost>2000-11-15 16:00:42 +0000
commita17b1cd86cd3e7f76a178111c591404cf9f63fd5 (patch)
tree54e8df167e963f63d8b059bc2332bff4a71fb54f
parent5a3203d4851f69e47be2797ffa98fe97085ed6e1 (diff)
downloadlibrpm-tizen-a17b1cd86cd3e7f76a178111c591404cf9f63fd5.tar.gz
librpm-tizen-a17b1cd86cd3e7f76a178111c591404cf9f63fd5.tar.bz2
librpm-tizen-a17b1cd86cd3e7f76a178111c591404cf9f63fd5.zip
- hpux w/o -D_OPEN_SOURCE has not h_errno.
CVS patchset: 4271 CVS date: 2000/11/15 16:00:42
-rw-r--r--CHANGES1
-rw-r--r--rpmio/rpmio.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 1265365e4..8fe0f0952 100644
--- a/CHANGES
+++ b/CHANGES
@@ -32,6 +32,7 @@
- fine-grained Requires, remove install PreReq's from Requires db.
- fix: duplicate headerFree() on installBinaryPackage() error return.
- fix: segfault on exit of "rpm -qp --qf '%{#fsnames}' pkg" (#20595).
+ - hpux w/o -D_OPEN_SOURCE has not h_errno.
3.0.6 -> 4.0
- use DIRNAMES/BASENAMES/DIRINDICES not FILENAMES in packages and db.
diff --git a/rpmio/rpmio.c b/rpmio/rpmio.c
index 06f982228..dc83da849 100644
--- a/rpmio/rpmio.c
+++ b/rpmio/rpmio.c
@@ -35,7 +35,7 @@ typedef unsigned int uint32_t;
#endif /* __LCLINT__ */
-#if HAVE_HERRNO && defined(__hpux) /* XXX HP-UX w/o -D_XOPEN_SOURCE needs */
+#if !defined(HAVE_HERRNO) && defined(__hpux) /* XXX HP-UX w/o -D_XOPEN_SOURCE needs */
extern int h_errno;
#endif