summaryrefslogtreecommitdiff
path: root/rpmqv.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-10-26 14:43:43 +0000
committerjbj <devnull@localhost>2002-10-26 14:43:43 +0000
commite99358b753e1f8b12474e0b15097af79bf49cc8c (patch)
tree6a879110e5c874bfae98800a68422c436482baaf /rpmqv.c
parent76cc00093491cab018afbdfe74cee7676159cd70 (diff)
downloadlibrpm-tizen-e99358b753e1f8b12474e0b15097af79bf49cc8c.tar.gz
librpm-tizen-e99358b753e1f8b12474e0b15097af79bf49cc8c.tar.bz2
librpm-tizen-e99358b753e1f8b12474e0b15097af79bf49cc8c.zip
- fix: permit build with --disable-nls (#76258).
- add error message on glob failure (#76012). CVS patchset: 5821 CVS date: 2002/10/26 14:43:43
Diffstat (limited to 'rpmqv.c')
-rwxr-xr-xrpmqv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpmqv.c b/rpmqv.c
index bab810fdb..3b4865657 100755
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -271,6 +271,7 @@ int main(int argc, const char ** argv)
freeSpecVec = freeSpec;
/*@=type@*/
+#if defined(ENABLE_NLS)
/* set up the correct locale */
(void) setlocale(LC_ALL, "" );
@@ -279,6 +280,7 @@ int main(int argc, const char ** argv)
#endif
bindtextdomain(PACKAGE, LOCALEDIR);
textdomain(PACKAGE);
+#endif
rpmSetVerbosity(RPMMESS_NORMAL); /* XXX silly use by showrc */