summaryrefslogtreecommitdiff
path: root/rpm.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-03-15 19:50:57 +0000
committerjbj <devnull@localhost>2000-03-15 19:50:57 +0000
commitcf68a32ca6fca6aa2118683bd2c7c0cf83bba91c (patch)
treef95f7db855d26786b34d3c66d012c81f7daa1739 /rpm.c
parente806f1865e28bbfd5001bc702214e7081f05a649 (diff)
downloadlibrpm-tizen-cf68a32ca6fca6aa2118683bd2c7c0cf83bba91c.tar.gz
librpm-tizen-cf68a32ca6fca6aa2118683bd2c7c0cf83bba91c.tar.bz2
librpm-tizen-cf68a32ca6fca6aa2118683bd2c7c0cf83bba91c.zip
- fix: noLibio = 0 on Red Hat 4.x and 5.x.
- fix: typo in autodeps/linux.req. CVS patchset: 3630 CVS date: 2000/03/15 19:50:57
Diffstat (limited to 'rpm.c')
-rwxr-xr-xrpm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpm.c b/rpm.c
index 43b47f6ba..e0b7a02a7 100755
--- a/rpm.c
+++ b/rpm.c
@@ -142,7 +142,7 @@ static struct poptOption optionsTable[] = {
{ "nodeps", '\0', 0, &noDeps, 0, NULL, NULL},
{ "nodirtokens", '\0', POPT_ARG_VAL, &_noDirTokens, 1, NULL, NULL},
{ "nogpg", '\0', 0, &noGpg, 0, NULL, NULL},
-#if HAVE_LIBIO_H
+#if HAVE_LIBIO_H && defined(_IO_BAD_SEEN)
{ "nolibio", '\0', POPT_ARG_VAL, &noLibio, 1, NULL, NULL},
#endif
{ "nomd5", '\0', 0, &noMd5, 0, NULL, NULL},
@@ -597,7 +597,7 @@ int main(int argc, const char ** argv)
justdb = 0;
noDeps = 0;
noGpg = 0;
-#if HAVE_LIBIO_H
+#if HAVE_LIBIO_H && defined(_IO_BAD_SEEN)
noLibio = 0;
#else
noLibio = 1;