diff options
author | jbj <devnull@localhost> | 2002-10-26 14:43:43 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-10-26 14:43:43 +0000 |
commit | e99358b753e1f8b12474e0b15097af79bf49cc8c (patch) | |
tree | 6a879110e5c874bfae98800a68422c436482baaf /lib/rpminstall.c | |
parent | 76cc00093491cab018afbdfe74cee7676159cd70 (diff) | |
download | librpm-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 'lib/rpminstall.c')
-rw-r--r-- | lib/rpminstall.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/rpminstall.c b/lib/rpminstall.c index 3995c0256..75ee05304 100644 --- a/lib/rpminstall.c +++ b/lib/rpminstall.c @@ -339,7 +339,10 @@ int rpmInstall(rpmts ts, /*@=temptrans@*/ av = _free(av); ac = 0; rc = rpmGlob(*eiu->fnp, &ac, &av); - if (rc || ac == 0) continue; + if (rc || ac == 0) { + rpmError(RPMERR_OPEN, _("File not found by glob: %s\n"), *eiu->fnp); + continue; + } eiu->argv = xrealloc(eiu->argv, (eiu->argc+ac+1) * sizeof(*eiu->argv)); memcpy(eiu->argv+eiu->argc, av, ac * sizeof(*av)); |