diff options
author | jbj <devnull@localhost> | 2002-07-14 21:23:29 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-07-14 21:23:29 +0000 |
commit | 3ea74aa3c7203c10ad97326778e22b1e654eefc7 (patch) | |
tree | 6968b695ccf7c4b0e8539eff13a1263770a72a70 | |
parent | 8caf68303188699c1a1d9499c53a43794a86d922 (diff) | |
download | librpm-tizen-3ea74aa3c7203c10ad97326778e22b1e654eefc7.tar.gz librpm-tizen-3ea74aa3c7203c10ad97326778e22b1e654eefc7.tar.bz2 librpm-tizen-3ea74aa3c7203c10ad97326778e22b1e654eefc7.zip |
- python: sanity check fixes on rpmts/rpmte methods.
CVS patchset: 5554
CVS date: 2002/07/14 21:23:29
98 files changed, 1033 insertions, 505 deletions
@@ -14,9 +14,9 @@ # --- in progress +bounds -#+boundswrite +slovak-fcns -redecl +-bufferoverflowhigh -macroparams -declundef @@ -170,6 +170,7 @@ - revert headerFree/headerLink/headerUnlink debugging. - popt: mingw32 portability configure check (#67911). - teach gendiff about unreadable files (#42666). + - python: sanity check fixes on rpmts/rpmte methods. 4.0.3 -> 4.0.4: - solaris: translate i86pc to i386 (#57182). diff --git a/beecrypt/.lclintrc b/beecrypt/.lclintrc index 652a59960..0bdce8391 100644 --- a/beecrypt/.lclintrc +++ b/beecrypt/.lclintrc @@ -14,6 +14,7 @@ # --- in progress +bounds +-bufferoverflowhigh # --- not-yet at strict level -exportconst # 4 diff --git a/build/.lclintrc b/build/.lclintrc index 8b1d44a03..94897f6ee 100644 --- a/build/.lclintrc +++ b/build/.lclintrc @@ -14,6 +14,7 @@ # --- in progress +bounds +-bufferoverflowhigh # --- +partial artifacts -declundef diff --git a/lib/.lclintrc b/lib/.lclintrc index b591159c8..169628e33 100644 --- a/lib/.lclintrc +++ b/lib/.lclintrc @@ -16,6 +16,7 @@ +bounds +slovak-fcns -redecl +-bufferoverflowhigh # --- +partial artifacts -declundef diff --git a/lib/depends.c b/lib/depends.c index 1c95d6a03..813cf7168 100644 --- a/lib/depends.c +++ b/lib/depends.c @@ -243,7 +243,7 @@ int rpmtsAddInstallElement(rpmts ts, Header h, goto exit; /* Do lazy (readonly?) open of rpm database. */ - if (rpmtsGetRdb(ts) == NULL) { + if (rpmtsGetRdb(ts) == NULL && ts->dbmode != -1) { if ((ec = rpmtsOpenDB(ts, ts->dbmode)) != 0) goto exit; } @@ -1557,17 +1557,7 @@ assert(newOrderCount == ts->orderCount); ts->orderAlloced = ts->orderCount; orderList = _free(orderList); -#ifdef DYING - /* Clean up after dependency checks */ - pi = rpmtsiInit(ts); - while ((p = rpmtsiNext(pi, 0)) != NULL) { - rpmteCleanDS(p); - } - pi = rpmtsiFree(pi); - - ts->addedPackages = rpmalFree(ts->addedPackages); - ts->numAddedPackages = 0; -#else +#ifdef DYING /* XXX now done at the CLI level just before rpmtsRun(). */ rpmtsClean(ts); #endif freeBadDeps(); @@ -1585,7 +1575,7 @@ int rpmtsCheck(rpmts ts) int rc; /* Do lazy, readonly, open of rpm database. */ - if (rpmtsGetRdb(ts) == NULL) { + if (rpmtsGetRdb(ts) == NULL && ts->dbmode != -1) { if ((rc = rpmtsOpenDB(ts, ts->dbmode)) != 0) goto exit; closeatexit = 1; diff --git a/lib/rpminstall.c b/lib/rpminstall.c index 51691561e..bbf5c7828 100644 --- a/lib/rpminstall.c +++ b/lib/rpminstall.c @@ -570,6 +570,9 @@ restart: rpmMessage(RPMMESS_DEBUG, _("installing binary packages\n")); + /* Drop added/available package indices and dependency sets. */ + rpmtsClean(ts); + rc = rpmtsRun(ts, NULL, probFilter); ps = rpmtsProblems(ts); @@ -694,6 +697,10 @@ int rpmErase(rpmts ts, if (!stopUninstall) { (void) rpmtsSetFlags(ts, (rpmtsFlags(ts) | RPMTRANS_FLAG_REVERSE)); + + /* Drop added/available package indices and dependency sets. */ + rpmtsClean(ts); + numPackages = rpmtsRun(ts, NULL, 0); ps = rpmtsProblems(ts); if (rpmpsNumProblems(ps) > 0) @@ -1069,6 +1076,9 @@ int rpmRollback(rpmts ts, if (rc != 0) goto exit; + /* Drop added/available package indices and dependency sets. */ + rpmtsClean(ts); + rc = rpmtsRun(ts, NULL, (ia->probFilter|RPMPROB_FILTER_OLDPACKAGE)); ps = rpmtsProblems(ts); if (rc > 0 && rpmpsNumProblems(ps) > 0) diff --git a/lib/verify.c b/lib/verify.c index b8edc74f7..ea2721af2 100644 --- a/lib/verify.c +++ b/lib/verify.c @@ -386,7 +386,7 @@ static int verifyDependencies(/*@unused@*/ QVA_t qva, rpmts ts, /*@-boundswrite@*/ *te = '\0'; pkgNEVR = (ps->probs->pkgNEVR ? ps->probs->pkgNEVR : "?pkgNEVR?"); - sprintf(te, _("Unsatisifed dependencies for %s: "), pkgNEVR); + sprintf(te, _("Unsatisfied dependencies for %s: "), pkgNEVR); te += strlen(te); for (i = 0; i < numProblems; i++) { p = ps->probs + i; @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: 2001-07-24 10:02+0100\n" "Last-Translator: Milan Kerslager <kerslage@linux.cz>\n" "Language-Team: Czech <cs@li.org>\n" @@ -2223,7 +2223,7 @@ msgid "can't query %s: %s\n" msgstr "nemohu provést dotaz %s: %s\n" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "otevření %s selhalo: %s\n" @@ -2306,7 +2306,7 @@ msgstr "záznam balíčku číslo: %u\n" msgid "record %u could not be read\n" msgstr "záznam %u nelze přečíst\n" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "balíček %s není nainstalován\n" @@ -2515,7 +2515,7 @@ msgstr "chyba při vytváření dočasného souboru %s\n" msgid "file %s requires a newer version of RPM\n" msgstr "" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, fuzzy, c-format msgid "%s cannot be installed\n" msgstr "neinstalován " @@ -2525,7 +2525,7 @@ msgstr "neinstalován " msgid "found %d source and %d binary packages\n" msgstr "vytvoření zdrojového a binárního balíčku z <tar_soubor>" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 #, fuzzy msgid "Failed dependencies:\n" @@ -2540,27 +2540,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "nainstalovat balíček" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, fuzzy, c-format msgid "cannot open file %s: %s\n" msgstr "nemohu vytvořit %s: %s\n" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, fuzzy, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "Položka %s musí být v balíčku přítomna: %s\n" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, fuzzy, c-format msgid "cannot open %s: %s\n" msgstr "nemohu vytvořit %s: %s\n" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, fuzzy, c-format msgid "Installing %s\n" msgstr "řádek: %s\n" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, c-format msgid "rollback %d packages to %s" msgstr "" @@ -2948,7 +2948,7 @@ msgstr "chybí { po %" #: lib/verify.c:389 #, fuzzy, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "chybné závislosti při sestavování:\n" #: rpmdb/db3.c:156 @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: 2001-04-05 23:03GMT\n" "Last-Translator: Claus Hindsgaul <claus_h@image.dk>\n" "Language-Team: Danish <dansk@klid.dk>\n" @@ -2239,7 +2239,7 @@ msgid "can't query %s: %s\n" msgstr "kunne ikke forespřrge %s: %s\n" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "ĺbning af %s mislykkedes %s\n" @@ -2322,7 +2322,7 @@ msgstr "pakkens post-nummer: %u\n" msgid "record %u could not be read\n" msgstr "post %d kunne ikke lćses\n" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "pakken %s er ikke installeret\n" @@ -2529,7 +2529,7 @@ msgstr "fejl ved lćsning fra filen %s\n" msgid "file %s requires a newer version of RPM\n" msgstr "filen %s krćver en nyere version af RPM\n" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, c-format msgid "%s cannot be installed\n" msgstr "%s kunne ikke installeres\n" @@ -2539,7 +2539,7 @@ msgstr "%s kunne ikke installeres\n" msgid "found %d source and %d binary packages\n" msgstr "fandt %d kilde- og %d binćrpakker\n" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 #, fuzzy msgid "Failed dependencies:\n" @@ -2553,27 +2553,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "installerer binćrpakker\n" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, c-format msgid "cannot open file %s: %s\n" msgstr "kunne ikke ĺbne fil %s: %s\n" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "\"%s\" angiver flere pakker\n" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, c-format msgid "cannot open %s: %s\n" msgstr "kunne ikke ĺbne %s: %s\n" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "Installerer %s\n" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, c-format msgid "rollback %d packages to %s" msgstr "" @@ -2957,7 +2957,7 @@ msgstr "manglende %s" #: lib/verify.c:389 #, fuzzy, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "Ikke-tilfredsstillede afhćngighedskrav for %s-%s-%s: " #: rpmdb/db3.c:156 @@ -37,7 +37,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: 1998-08-03 18:02+02:00\n" "Last-Translator: Karl Eichwalder <ke@SuSE.DE>\n" "Language-Team: German <de@li.org>\n" @@ -2402,7 +2402,7 @@ msgid "can't query %s: %s\n" msgstr "Fehler: kann %s nicht öffnen\n" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, fuzzy, c-format msgid "open of %s failed: %s\n" msgstr "öffnen von %s fehlgeschlagen: %s\n" @@ -2489,7 +2489,7 @@ msgstr "ungültige Paket-Nummer: %s\n" msgid "record %u could not be read\n" msgstr "Eintrag %d konnte nicht gelesen werden\n" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "Paket %s ist nicht installiert\n" @@ -2700,7 +2700,7 @@ msgstr "Fehler beim Anlegen des Verzeichnisses %s: %s" msgid "file %s requires a newer version of RPM\n" msgstr "" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, fuzzy, c-format msgid "%s cannot be installed\n" msgstr "Fehler: %s kann nicht installiert werden\n" @@ -2710,7 +2710,7 @@ msgstr "Fehler: %s kann nicht installiert werden\n" msgid "found %d source and %d binary packages\n" msgstr "Gruppe %s beinhaltet kein einziges Paket\n" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 #, fuzzy msgid "Failed dependencies:\n" @@ -2725,27 +2725,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "Paket installieren" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, fuzzy, c-format msgid "cannot open file %s: %s\n" msgstr "kann Datei %s nicht öffnen: " -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "\"%s\" bezeichnet mehrere Pakete\n" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, fuzzy, c-format msgid "cannot open %s: %s\n" msgstr "Fehler: kann %s nicht öffnen\n" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "Installiere %s\n" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, fuzzy, c-format msgid "rollback %d packages to %s" msgstr "Es wurden keine Pakete für die Deinstallation angegeben" @@ -3140,7 +3140,7 @@ msgstr "fehlende { nach %{" #: lib/verify.c:389 #, fuzzy, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "Nicht erfüllte Abhängigkeiten von %s-%s-%s: " #: rpmdb/db3.c:156 diff --git a/po/en_RN.po b/po/en_RN.po index 4ed2edd81..328c9ba2a 100644 --- a/po/en_RN.po +++ b/po/en_RN.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -2162,7 +2162,7 @@ msgid "can't query %s: %s\n" msgstr "" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "" @@ -2245,7 +2245,7 @@ msgstr "" msgid "record %u could not be read\n" msgstr "" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "" @@ -2447,7 +2447,7 @@ msgstr "" msgid "file %s requires a newer version of RPM\n" msgstr "" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, c-format msgid "%s cannot be installed\n" msgstr "" @@ -2457,7 +2457,7 @@ msgstr "" msgid "found %d source and %d binary packages\n" msgstr "" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 msgid "Failed dependencies:\n" msgstr "" @@ -2470,27 +2470,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, c-format msgid "cannot open file %s: %s\n" msgstr "" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, c-format msgid "cannot open %s: %s\n" msgstr "" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, c-format msgid "rollback %d packages to %s" msgstr "" @@ -2866,7 +2866,7 @@ msgstr "" #: lib/verify.c:389 #, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "" #: rpmdb/db3.c:156 @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -2162,7 +2162,7 @@ msgid "can't query %s: %s\n" msgstr "" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "" @@ -2245,7 +2245,7 @@ msgstr "" msgid "record %u could not be read\n" msgstr "" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "" @@ -2447,7 +2447,7 @@ msgstr "" msgid "file %s requires a newer version of RPM\n" msgstr "" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, c-format msgid "%s cannot be installed\n" msgstr "" @@ -2457,7 +2457,7 @@ msgstr "" msgid "found %d source and %d binary packages\n" msgstr "" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 msgid "Failed dependencies:\n" msgstr "" @@ -2470,27 +2470,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, c-format msgid "cannot open file %s: %s\n" msgstr "" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, c-format msgid "cannot open %s: %s\n" msgstr "" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, c-format msgid "rollback %d packages to %s" msgstr "" @@ -2866,7 +2866,7 @@ msgstr "" #: lib/verify.c:389 #, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "" #: rpmdb/db3.c:156 diff --git a/po/eu_ES.po b/po/eu_ES.po index 4ed2edd81..328c9ba2a 100644 --- a/po/eu_ES.po +++ b/po/eu_ES.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -2162,7 +2162,7 @@ msgid "can't query %s: %s\n" msgstr "" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "" @@ -2245,7 +2245,7 @@ msgstr "" msgid "record %u could not be read\n" msgstr "" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "" @@ -2447,7 +2447,7 @@ msgstr "" msgid "file %s requires a newer version of RPM\n" msgstr "" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, c-format msgid "%s cannot be installed\n" msgstr "" @@ -2457,7 +2457,7 @@ msgstr "" msgid "found %d source and %d binary packages\n" msgstr "" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 msgid "Failed dependencies:\n" msgstr "" @@ -2470,27 +2470,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, c-format msgid "cannot open file %s: %s\n" msgstr "" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, c-format msgid "cannot open %s: %s\n" msgstr "" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, c-format msgid "rollback %d packages to %s" msgstr "" @@ -2866,7 +2866,7 @@ msgstr "" #: lib/verify.c:389 #, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "" #: rpmdb/db3.c:156 @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "Last-Translator: Raimo Koski <rkoski@pp.weppi.fi>\n" "Language-Team: Finnish <linux@sot.com>\n" "Content-Type: text/plain; charset=\n" @@ -2283,7 +2283,7 @@ msgid "can't query %s: %s\n" msgstr "virhe: en voi avata %s\n" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, fuzzy, c-format msgid "open of %s failed: %s\n" msgstr "%s:n avaus ei onnistunut: %s\n" @@ -2367,7 +2367,7 @@ msgstr "virheellinen paketin numero: %s\n" msgid "record %u could not be read\n" msgstr "tietuetta %d ei voitu lukea\n" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "paketti %s ei ole asennettu\n" @@ -2573,7 +2573,7 @@ msgstr "virhe luotaessa hakemistoa %s: %s" msgid "file %s requires a newer version of RPM\n" msgstr "" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, fuzzy, c-format msgid "%s cannot be installed\n" msgstr "virhe: %s ei voida asentaa\n" @@ -2583,7 +2583,7 @@ msgstr "virhe: %s ei voida asentaa\n" msgid "found %d source and %d binary packages\n" msgstr "ryhmässä %s ei ole paketteja\n" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 #, fuzzy msgid "Failed dependencies:\n" @@ -2598,27 +2598,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "asenna paketti" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, fuzzy, c-format msgid "cannot open file %s: %s\n" msgstr "en voinut avata tiedostoa %s: " -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "\"%s\" määrittää useita paketteja\n" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, fuzzy, c-format msgid "cannot open %s: %s\n" msgstr "virhe: en voi avata %s\n" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "Asennan: %s\n" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, fuzzy, c-format msgid "rollback %d packages to %s" msgstr "poistolle ei määritelty paketteja" @@ -3006,7 +3006,7 @@ msgstr "puuttuva '{' '%':n jälkeen" #: lib/verify.c:389 #, fuzzy, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "%s-%s-%s:n tyydyttämättömät riippuvuudet:" #: rpmdb/db3.c:156 @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -2328,7 +2328,7 @@ msgid "can't query %s: %s\n" msgstr "impossible d'ouvrir: %s\n" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, fuzzy, c-format msgid "open of %s failed: %s\n" msgstr "La construction a chou.\n" @@ -2412,7 +2412,7 @@ msgstr "" msgid "record %u could not be read\n" msgstr "" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, fuzzy, c-format msgid "package %s is not installed\n" msgstr "aucun package n'a t spcifi pour l'installation" @@ -2617,7 +2617,7 @@ msgstr "" msgid "file %s requires a newer version of RPM\n" msgstr "" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, fuzzy, c-format msgid "%s cannot be installed\n" msgstr "aucun package n'a t spcifi pour l'installation" @@ -2627,7 +2627,7 @@ msgstr "aucun package n'a t spcifi pour l'installation" msgid "found %d source and %d binary packages\n" msgstr "" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 #, fuzzy msgid "Failed dependencies:\n" @@ -2641,27 +2641,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, fuzzy, c-format msgid "cannot open file %s: %s\n" msgstr "impossible d'ouvrir: %s\n" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, fuzzy, c-format msgid "cannot open %s: %s\n" msgstr "impossible d'ouvrir: %s\n" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, fuzzy, c-format msgid "rollback %d packages to %s" msgstr "aucun package n'a t spcifi pour la dsinstallation" @@ -3045,7 +3045,7 @@ msgstr "" #: lib/verify.c:389 #, fuzzy, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "impossible d'ouvrir: %s\n" #: rpmdb/db3.c:156 @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.1\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: 2001-01-13 22:31+0100\n" "Last-Translator: Jesús Bravo Álvarez <jba@pobox.com>\n" "Language-Team: Galician <trasno@ceu.fi.udc.es>\n" @@ -2157,7 +2157,7 @@ msgid "can't query %s: %s\n" msgstr "" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "" @@ -2240,7 +2240,7 @@ msgstr "" msgid "record %u could not be read\n" msgstr "" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "" @@ -2442,7 +2442,7 @@ msgstr "" msgid "file %s requires a newer version of RPM\n" msgstr "" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, c-format msgid "%s cannot be installed\n" msgstr "" @@ -2452,7 +2452,7 @@ msgstr "" msgid "found %d source and %d binary packages\n" msgstr "" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 msgid "Failed dependencies:\n" msgstr "" @@ -2465,27 +2465,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, c-format msgid "cannot open file %s: %s\n" msgstr "" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, c-format msgid "cannot open %s: %s\n" msgstr "" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, c-format msgid "rollback %d packages to %s" msgstr "" @@ -2861,7 +2861,7 @@ msgstr "" #: lib/verify.c:389 #, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "" #: rpmdb/db3.c:156 @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -2162,7 +2162,7 @@ msgid "can't query %s: %s\n" msgstr "" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "" @@ -2245,7 +2245,7 @@ msgstr "" msgid "record %u could not be read\n" msgstr "" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "" @@ -2447,7 +2447,7 @@ msgstr "" msgid "file %s requires a newer version of RPM\n" msgstr "" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, c-format msgid "%s cannot be installed\n" msgstr "" @@ -2457,7 +2457,7 @@ msgstr "" msgid "found %d source and %d binary packages\n" msgstr "" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 msgid "Failed dependencies:\n" msgstr "" @@ -2470,27 +2470,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, c-format msgid "cannot open file %s: %s\n" msgstr "" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, c-format msgid "cannot open %s: %s\n" msgstr "" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, c-format msgid "rollback %d packages to %s" msgstr "" @@ -2866,7 +2866,7 @@ msgstr "" #: lib/verify.c:389 #, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "" #: rpmdb/db3.c:156 @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -2162,7 +2162,7 @@ msgid "can't query %s: %s\n" msgstr "" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "" @@ -2245,7 +2245,7 @@ msgstr "" msgid "record %u could not be read\n" msgstr "" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "" @@ -2447,7 +2447,7 @@ msgstr "" msgid "file %s requires a newer version of RPM\n" msgstr "" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, c-format msgid "%s cannot be installed\n" msgstr "" @@ -2457,7 +2457,7 @@ msgstr "" msgid "found %d source and %d binary packages\n" msgstr "" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 msgid "Failed dependencies:\n" msgstr "" @@ -2470,27 +2470,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, c-format msgid "cannot open file %s: %s\n" msgstr "" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, c-format msgid "cannot open %s: %s\n" msgstr "" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, c-format msgid "rollback %d packages to %s" msgstr "" @@ -2866,7 +2866,7 @@ msgstr "" #: lib/verify.c:389 #, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "" #: rpmdb/db3.c:156 @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: 2001-07-12 13:25+0000\n" "Last-Translator: Richard Allen <ra@hp.is>\n" "Language-Team: is <kde-isl@mmedia.is>\n" @@ -2178,7 +2178,7 @@ msgid "can't query %s: %s\n" msgstr "" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "" @@ -2261,7 +2261,7 @@ msgstr "" msgid "record %u could not be read\n" msgstr "" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "" @@ -2463,7 +2463,7 @@ msgstr "" msgid "file %s requires a newer version of RPM\n" msgstr "" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, c-format msgid "%s cannot be installed\n" msgstr "" @@ -2473,7 +2473,7 @@ msgstr "" msgid "found %d source and %d binary packages\n" msgstr "" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 #, fuzzy msgid "Failed dependencies:\n" @@ -2487,27 +2487,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, c-format msgid "cannot open file %s: %s\n" msgstr "" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, c-format msgid "cannot open %s: %s\n" msgstr "" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, c-format msgid "rollback %d packages to %s" msgstr "" @@ -2884,7 +2884,7 @@ msgstr "vantar %s" #: lib/verify.c:389 #, fuzzy, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "Óuppfyllt pakkaskilyrđi fyrir %s-%s-%s: " #: rpmdb/db3.c:156 @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -2162,7 +2162,7 @@ msgid "can't query %s: %s\n" msgstr "" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "" @@ -2245,7 +2245,7 @@ msgstr "" msgid "record %u could not be read\n" msgstr "" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "" @@ -2447,7 +2447,7 @@ msgstr "" msgid "file %s requires a newer version of RPM\n" msgstr "" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, c-format msgid "%s cannot be installed\n" msgstr "" @@ -2457,7 +2457,7 @@ msgstr "" msgid "found %d source and %d binary packages\n" msgstr "" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 msgid "Failed dependencies:\n" msgstr "" @@ -2470,27 +2470,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, c-format msgid "cannot open file %s: %s\n" msgstr "" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, c-format msgid "cannot open %s: %s\n" msgstr "" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, c-format msgid "rollback %d packages to %s" msgstr "" @@ -2866,7 +2866,7 @@ msgstr "" #: lib/verify.c:389 #, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "" #: rpmdb/db3.c:156 @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: 1999-12-01 22:49 +JST\n" "Last-Translator: Kanda Mitsuru <kanda@nn.iij4u.or.jp>\n" "Language-Team: JRPM <jrpm@linux.or.jp>\n" @@ -2320,7 +2320,7 @@ msgid "can't query %s: %s\n" msgstr "%s ¤ňşď˝ü(unlink)¤Ç¤¤Ţ¤ť¤ó: %s\n" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "%s ¤ÎĽŞĄźĽ×Ľó¤ËźşÇÔ: %s\n" @@ -2404,7 +2404,7 @@ msgstr "ĽŃĽĂĽąĄźĽ¸ĽěĽłĄźĽÉČÖšć %d\n" msgid "record %u could not be read\n" msgstr "ĽěĽłĄźĽÉ %d ¤ňĆɤळ¤Č¤Ź¤Ç¤¤Ţ¤ť¤ó¤Ç¤ˇ¤ż\n" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "ĽŃĽĂĽąĄźĽ¸ %s ¤ĎĽ¤ĽóĽšĽČĄźĽë¤ľ¤ě¤Ć¤¤¤Ţ¤ť¤ó\n" @@ -2613,7 +2613,7 @@ msgstr "ĽŐĽĄĽ¤Ľë %s ¤Ť¤é¤ÎĆɤߚţ¤ßĽ¨ĽéĄź " msgid "file %s requires a newer version of RPM\n" msgstr "ĽŐĽĄĽ¤Ľë %s ¤Ë¤Ď¤č¤ężˇ¤ˇ¤¤ RPM ¤ÎĽĐĄźĽ¸ĽçĽó¤ŹÉŹÍפǤš\n" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, fuzzy, c-format msgid "%s cannot be installed\n" msgstr "%s ¤ňĽ¤ĽóĽšĽČĄźĽë¤Ç¤¤Ţ¤ť¤ó\n" @@ -2623,7 +2623,7 @@ msgstr "%s ¤ňĽ¤ĽóĽšĽČĄźĽë¤Ç¤¤Ţ¤ť¤ó\n" msgid "found %d source and %d binary packages\n" msgstr "%d ¸Ä¤ÎĽ˝ĄźĽš¤Č %d ¸Ä¤ÎĽĐĽ¤ĽĘĽęĽŃĽĂĽąĄźĽ¸¤Ź¸Ť¤Ä¤Ť¤ę¤Ţ¤ˇ¤ż\n" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 #, fuzzy msgid "Failed dependencies:\n" @@ -2637,27 +2637,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "ĽĐĽ¤ĽĘĽęĽŃĽĂĽąĄźĽ¸¤ňĽ¤ĽóĽšĽČĄźĽëĂć\n" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, fuzzy, c-format msgid "cannot open file %s: %s\n" msgstr "ĽŐĽĄĽ¤Ľë %s ¤ňĽŞĄźĽ×Ľó¤Ç¤¤Ţ¤ť¤ó: %s" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "\"%s\" ¤ĎĘŁżô¤ÎĽŃĽĂĽąĄźĽ¸¤ňťŘÄꤡ¤Ć¤¤¤Ţ¤š\n" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, fuzzy, c-format msgid "cannot open %s: %s\n" msgstr "%s ¤ňĽŞĄźĽ×Ľó¤Ç¤¤Ţ¤ť¤ó\n" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "%s ¤ňĽ¤ĽóĽšĽČĄźĽëĂć\n" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, c-format msgid "rollback %d packages to %s" msgstr "" @@ -3054,7 +3054,7 @@ msgstr "%s ¤Ź¸Ť¤Ä¤Ť¤ę¤Ţ¤ť¤ó\n" #: lib/verify.c:389 #, fuzzy, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "%s-%s-%s ¤Î¤ż¤á¤Î°Í¸Ŕ¤ňËţ¤ż¤ˇ¤Ć¤¤¤Ţ¤ť¤ó:" #: rpmdb/db3.c:156 @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.4\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: 2002-03-04 17:17+0900\n" "Last-Translator: Jong-Hoon Ryu <redhat4u@netian.com>\n" "Language-Team: GNU Translation project <ko@li.org>\n" @@ -2212,7 +2212,7 @@ msgid "can't query %s: %s\n" msgstr "%s(Ŕť)¸Ś ÁúŔÇÇŇ źö žřŔ˝: %s\n" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "%s(Ŕť)¸Ś żŠ´ÂľĽ ˝ÇĆĐÇÔ: %s\n" @@ -2296,7 +2296,7 @@ msgstr "ĆĐĹ°Áö ąâˇĎ(record) šřČŁ: %u\n" msgid "record %u could not be read\n" msgstr "ąâˇĎ(record) šřČŁ %u(Ŕş)´Â ŔĐŔť źö žř˝Ŕ´Ď´Ů\n" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "%s ĆĐĹ°Áö°Ą źłÄĄľÇžî ŔÖÁö žĘ˝Ŕ´Ď´Ů\n" @@ -2502,7 +2502,7 @@ msgstr "%s ĆÄŔĎŔť ŔĐ´Â ľľÁß żŔˇů°Ą šßťýÇß˝Ŕ´Ď´Ů\n" msgid "file %s requires a newer version of RPM\n" msgstr "%s ĆÄŔĎŔş ĂֽŠšöŔüŔÇ RPMŔť ÇĘżäˇÎ ÇŐ´Ď´Ů\n" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, c-format msgid "%s cannot be installed\n" msgstr "%s(Ŕş)´Â źłÄĄÇŇ źö žř˝Ŕ´Ď´Ů\n" @@ -2512,7 +2512,7 @@ msgstr "%s(Ŕş)´Â źłÄĄÇŇ źö žř˝Ŕ´Ď´Ů\n" msgid "found %d source and %d binary packages\n" msgstr "%dŔÇ źŇ˝şżÍ %dŔÇ šŮŔ̳ʸŽ ĆĐĹ°Áö°Ą °ËťöľÇžú˝Ŕ´Ď´Ů\n" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 #, fuzzy msgid "Failed dependencies:\n" @@ -2526,27 +2526,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "šŮŔ̳ʸŽ ĆĐĹ°Áö¸Ś źłÄĄÇŐ´Ď´Ů\n" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, c-format msgid "cannot open file %s: %s\n" msgstr "%s ĆÄŔĎŔť ż źö žřŔ˝: %s\n" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "\"%s\" żŠˇŻ°łŔÇ ĆĐĹ°Áö¸Ś ÁöÁ¤ÇŐ´Ď´Ů\n" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, c-format msgid "cannot open %s: %s\n" msgstr "%s(Ŕť)¸Ś ż źö žřŔ˝: %s\n" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "%s(Ŕť)¸Ś źłÄĄÇŐ´Ď´Ů\n" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, fuzzy, c-format msgid "rollback %d packages to %s" msgstr "(+%d,-%d) ĆĐĹ°Áö¸Ś %sŔ¸ˇÎ ˇŃšé(rollback)ÇŐ´Ď´Ů" @@ -2933,7 +2933,7 @@ msgstr "´ŮŔ˝Ŕť ĂŁŔť źö žřŔ˝ %s" #: lib/verify.c:389 #, fuzzy, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "%s-%s-%sżĄ ŔÇÁ¸źş šŽÁŚ šßťý: " #: rpmdb/db3.c:156 @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: 2001-06-27 12:24+0200\n" "Last-Translator: Kjartan Maraas <kmaraas@gnome.org>\n" "Language-Team: Norwegian <no@li.org>\n" @@ -2203,7 +2203,7 @@ msgid "can't query %s: %s\n" msgstr "kan ikke spřrre pĺ %s: %s\n" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "feil under ĺpning av %s: %s\n" @@ -2286,7 +2286,7 @@ msgstr "" msgid "record %u could not be read\n" msgstr "" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "pakke %s er ikke installert\n" @@ -2488,7 +2488,7 @@ msgstr "feil under lesing fra fil %s\n" msgid "file %s requires a newer version of RPM\n" msgstr "fil %s trenger en nyere versjon av RPM\n" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, c-format msgid "%s cannot be installed\n" msgstr "" @@ -2498,7 +2498,7 @@ msgstr "" msgid "found %d source and %d binary packages\n" msgstr "fant %d kilde- og %d binćrpakker\n" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 #, fuzzy msgid "Failed dependencies:\n" @@ -2512,27 +2512,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "installerer binćrpakker\n" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, c-format msgid "cannot open file %s: %s\n" msgstr "" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "\"%s\" spesifiserer flere pakker\n" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, c-format msgid "cannot open %s: %s\n" msgstr "kan ikke ĺpne %s: %s\n" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "Installerer %s\n" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, c-format msgid "rollback %d packages to %s" msgstr "" @@ -2912,7 +2912,7 @@ msgstr "mangler %s" #: lib/verify.c:389 #, fuzzy, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "feilede avhengigheter:\n" #: rpmdb/db3.c:156 @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: 1999-05-25 17:00+0100\n" "Last-Translator: Paweł Dziekoński <pdziekonski@mml.ch.pwr.wroc.pl>\n" "Language-Team: Polish <pl@li.org>\n" @@ -2283,7 +2283,7 @@ msgid "can't query %s: %s\n" msgstr "nie można odwiązać %s: %s\n" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "otwarcie %s nie powiodło się: %s\n" @@ -2367,7 +2367,7 @@ msgstr "numer rekordu pakietu: %d\n" msgid "record %u could not be read\n" msgstr "nie można odczytać rekordu %d\n" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "pakiet %s nie jest zainstalowany\n" @@ -2573,7 +2573,7 @@ msgstr "błąd czytania z pliku %s\n" msgid "file %s requires a newer version of RPM\n" msgstr "plik %s wymaga nowszej wersji RPM\n" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, c-format msgid "%s cannot be installed\n" msgstr "%s nie może być zainstalowany\n" @@ -2583,7 +2583,7 @@ msgstr "%s nie może być zainstalowany\n" msgid "found %d source and %d binary packages\n" msgstr "znaleziono %d pakietów źródłowych i %d binarnych\n" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 #, fuzzy msgid "Failed dependencies:\n" @@ -2597,27 +2597,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "instalacja pakietów binarnych\n" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, fuzzy, c-format msgid "cannot open file %s: %s\n" msgstr "nie można otworzyć pliku %s: %s" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "\"%s\" określa wiele pakietów\n" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, fuzzy, c-format msgid "cannot open %s: %s\n" msgstr "nie można otworzyć %s\n" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "Instalacja %s\n" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, c-format msgid "rollback %d packages to %s" msgstr "" @@ -3006,7 +3006,7 @@ msgstr "brak %s\n" #: lib/verify.c:389 #, fuzzy, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "Niespełnione zależności dla %s-%s-%s: " #: rpmdb/db3.c:156 @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: 2002-02-14 10:51+0000\n" "Last-Translator: José Nuno Coelho Sanarra Pires <jncp@rnl.ist.utl.pt>\n" "Language-Team: pt <morais@kde.org\n" @@ -2224,7 +2224,7 @@ msgid "can't query %s: %s\n" msgstr "năo consigo pesquisar o %s: %s\n" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "o acesso ao %s falhou: %s\n" @@ -2308,7 +2308,7 @@ msgstr "número de registo do pacote: %u\n" msgid "record %u could not be read\n" msgstr "o registo %u năo pôde ser lido\n" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "o pacote %s năo está instalado\n" @@ -2514,7 +2514,7 @@ msgstr "erro ao ler do ficheiros %s\n" msgid "file %s requires a newer version of RPM\n" msgstr "o %s precisa duma versăo mais recente do RPM\n" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, c-format msgid "%s cannot be installed\n" msgstr "o %s năo pode ser instalado\n" @@ -2524,7 +2524,7 @@ msgstr "o %s năo pode ser instalado\n" msgid "found %d source and %d binary packages\n" msgstr "encontrados %d pacotes com código-fonte e %d binários\n" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 #, fuzzy msgid "Failed dependencies:\n" @@ -2538,27 +2538,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "a instalar os pacotes binários\n" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, c-format msgid "cannot open file %s: %s\n" msgstr "năo consigo aceder ao ficheiro %s: %s\n" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "o \"%s\" especifica vários pacotes\n" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, c-format msgid "cannot open %s: %s\n" msgstr "năo consigo aceder ao %s: %s\n" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "A instalar o %s\n" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, fuzzy, c-format msgid "rollback %d packages to %s" msgstr "a efectuar o 'rollback' (+%d,-%d) pacotes para %s" @@ -2944,7 +2944,7 @@ msgstr "falta %s" #: lib/verify.c:389 #, fuzzy, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "Dependęncias năo satisfeitas para o %s-%s-%s: " #: rpmdb/db3.c:156 diff --git a/po/pt_BR.po b/po/pt_BR.po index 39f688607..1ebc71254 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" #: build.c:40 #, fuzzy @@ -2412,7 +2412,7 @@ msgid "can't query %s: %s\n" msgstr "No consegui abrir: %s\n" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, fuzzy, c-format msgid "open of %s failed: %s\n" msgstr "Construo falhou.\n" @@ -2497,7 +2497,7 @@ msgstr "" msgid "record %u could not be read\n" msgstr "" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, fuzzy, c-format msgid "package %s is not installed\n" msgstr "no foi passado pacote para instalao" @@ -2744,7 +2744,7 @@ msgstr "" msgid "file %s requires a newer version of RPM\n" msgstr "" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, fuzzy, c-format msgid "%s cannot be installed\n" msgstr "no foi passado pacote para instalao" @@ -2754,7 +2754,7 @@ msgstr "no foi passado pacote para instalao" msgid "found %d source and %d binary packages\n" msgstr "" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 #, fuzzy msgid "Failed dependencies:\n" @@ -2770,28 +2770,28 @@ msgid "installing binary packages\n" msgstr "instale pacote" # , c-format -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, fuzzy, c-format msgid "cannot open file %s: %s\n" msgstr "No consegui abrir: %s\n" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "" # , c-format -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, fuzzy, c-format msgid "cannot open %s: %s\n" msgstr "No consegui abrir: %s\n" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, fuzzy, c-format msgid "rollback %d packages to %s" msgstr "no foi passado pacote para desinstalao" @@ -3194,7 +3194,7 @@ msgstr "" #: lib/verify.c:389 #, fuzzy, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "lista dependncias do pacote" #: rpmdb/db3.c:156 @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: 1999-04-10 12:00+EST\n" "Last-Translator: Cristian Gafton <gafton@redhat.com>\n" "Language-Team: Romanian <ro@li.org>\n" @@ -2157,7 +2157,7 @@ msgid "can't query %s: %s\n" msgstr "" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "" @@ -2240,7 +2240,7 @@ msgstr "" msgid "record %u could not be read\n" msgstr "" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "" @@ -2442,7 +2442,7 @@ msgstr "" msgid "file %s requires a newer version of RPM\n" msgstr "" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, c-format msgid "%s cannot be installed\n" msgstr "" @@ -2452,7 +2452,7 @@ msgstr "" msgid "found %d source and %d binary packages\n" msgstr "" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 msgid "Failed dependencies:\n" msgstr "" @@ -2465,27 +2465,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, c-format msgid "cannot open file %s: %s\n" msgstr "" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, c-format msgid "cannot open %s: %s\n" msgstr "" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, c-format msgid "rollback %d packages to %s" msgstr "" @@ -2861,7 +2861,7 @@ msgstr "" #: lib/verify.c:389 #, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "" #: rpmdb/db3.c:156 diff --git a/po/rpm.pot b/po/rpm.pot index 099fdab7c..1c9d6c8df 100644 --- a/po/rpm.pot +++ b/po/rpm.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -2163,7 +2163,7 @@ msgid "can't query %s: %s\n" msgstr "" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "" @@ -2246,7 +2246,7 @@ msgstr "" msgid "record %u could not be read\n" msgstr "" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "" @@ -2448,7 +2448,7 @@ msgstr "" msgid "file %s requires a newer version of RPM\n" msgstr "" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, c-format msgid "%s cannot be installed\n" msgstr "" @@ -2458,7 +2458,7 @@ msgstr "" msgid "found %d source and %d binary packages\n" msgstr "" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 msgid "Failed dependencies:\n" msgstr "" @@ -2471,27 +2471,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, c-format msgid "cannot open file %s: %s\n" msgstr "" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, c-format msgid "cannot open %s: %s\n" msgstr "" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, c-format msgid "rollback %d packages to %s" msgstr "" @@ -2867,7 +2867,7 @@ msgstr "" #: lib/verify.c:389 #, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "" #: rpmdb/db3.c:156 @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: 2002-04-09 16:44-0400\n" "Last-Translator: Eugene Kanter, <eugene@bcl.bz>\n" "Language-Team: Black Cat Linux Team <blackcat-support@blackcatlinux.com>\n" @@ -2226,7 +2226,7 @@ msgid "can't query %s: %s\n" msgstr "ÎĹ×ĎÚÍĎÖÎĎ ÚÁĐŇĎÓÉÔŘ %s: %s\n" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "ÎĹ×ĎÚÍĎÖÎĎ ĎÔËŇŮÔŘ %s: %s\n" @@ -2309,7 +2309,7 @@ msgstr "ÎĎÍĹŇ ÚÁĐÉÓÉ ĐÁËĹÔÁ: %u\n" msgid "record %u could not be read\n" msgstr "ÎĹ×ĎÚÍĎÖÎĎ ĐŇĎŢÉÔÁÔŘ ÚÁĐÉÓŘ %u\n" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "ĐÁËĹÔ %s ÎĹ ŐÓÔÁÎĎ×ĚĹÎ\n" @@ -2515,7 +2515,7 @@ msgstr "ĎŰÉÂËÁ ŢÔĹÎÉŃ ÉÚ ĆÁĘĚÁ %s\n" msgid "file %s requires a newer version of RPM\n" msgstr "ÄĚŃ ĆÁĘĚÁ %s ÎĹĎÂČĎÄÉÍÁ ÂĎĚĹĹ ÎĎ×ÁŃ ×ĹŇÓÉŃ RPM\n" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, c-format msgid "%s cannot be installed\n" msgstr "%s ÎĹ ÍĎÖĹÔ ÂŮÔŘ ŐÓÔÁÎĎ×ĚĹÎ\n" @@ -2525,7 +2525,7 @@ msgstr "%s ÎĹ ÍĎÖĹÔ ÂŮÔŘ ŐÓÔÁÎĎ×ĚĹÎ\n" msgid "found %d source and %d binary packages\n" msgstr "ÎÁĘÄĹÎĎ %d ÉÓČĎÄÎŮČ É %d ÂÉÎÁŇÎŮČ ĐÁËĹÔĎ×\n" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 #, fuzzy msgid "Failed dependencies:\n" @@ -2539,27 +2539,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "ŐÓÔÁÎÁ×ĚÉ×ÁŔ ÂÉÎÁŇÎŮĹ ĐÁËĹÔŮ\n" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, c-format msgid "cannot open file %s: %s\n" msgstr "ÎĹ×ĎÚÍĎÖÎĎ ĎÔËŇŮÔŘ ĆÁĘĚ %s: %s\n" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "\"%s\" ÚÁÄÁĹÔ ÎĹÓËĎĚŘËĎ ĐÁËĹÔĎ×\n" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, c-format msgid "cannot open %s: %s\n" msgstr "ÎĹ×ĎÚÍĎÖÎĎ ĎÔËŇŮÔŘ %s: %s\n" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "őÓÔÁÎÁ×ĚÉ×ÁĹÔÓŃ %s\n" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, fuzzy, c-format msgid "rollback %d packages to %s" msgstr "ĎÔËÁÔÉÔŘ (+%d,-%d) ĐÁËĹÔŮ Ë %s" @@ -2942,7 +2942,7 @@ msgstr "ĎÔÓŐÔÓÔ×ŐĹÔ %s" #: lib/verify.c:389 #, fuzzy, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "îĹŐÄĎ×ĚĹÔ×ĎŇĹÎÎŮĹ ÚÁ×ÉÓÉÍĎÓÔÉ ÄĚŃ %s-%s-%s: " #: rpmdb/db3.c:156 @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: 1999-04-08 21:37+02:00\n" "Last-Translator: Stanislav Meduna <stano@eunet.sk>\n" "Language-Team: Slovak <sk-i18n@rak.isternet.sk>\n" @@ -2281,7 +2281,7 @@ msgid "can't query %s: %s\n" msgstr "zmazanie %s zlyhalo: %s\n" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, fuzzy, c-format msgid "open of %s failed: %s\n" msgstr "otvorenie %s zlyhalo\n" @@ -2365,7 +2365,7 @@ msgstr "požaduje sa záznam číslo %d\n" msgid "record %u could not be read\n" msgstr "záznam %d nie je možné prečítať\n" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "balík %s nie je nainštalovaný\n" @@ -2571,7 +2571,7 @@ msgstr "chyba pri vytváraní dočasného súboru %s" msgid "file %s requires a newer version of RPM\n" msgstr "" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, c-format msgid "%s cannot be installed\n" msgstr "%s nie je možné nainštalovať\n" @@ -2581,7 +2581,7 @@ msgstr "%s nie je možné nainštalovať\n" msgid "found %d source and %d binary packages\n" msgstr "nájdených %d zdrojových a %d binárnych balíkov\n" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 #, fuzzy msgid "Failed dependencies:\n" @@ -2595,27 +2595,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "inštalujú sa binárne balíky\n" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, fuzzy, c-format msgid "cannot open file %s: %s\n" msgstr "nie je možné otvoriť súbor %s: %s" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "\"%s\" špecifikuje viac balíkov\n" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, fuzzy, c-format msgid "cannot open %s: %s\n" msgstr "nie je možné otvoriť %s\n" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "Inštaluje sa %s\n" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, c-format msgid "rollback %d packages to %s" msgstr "" @@ -3002,7 +3002,7 @@ msgstr "chýbajúce %s\n" #: lib/verify.c:389 #, fuzzy, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "Nevyriešené závislosti pre %s-%s-%s: " #: rpmdb/db3.c:156 @@ -1,12 +1,12 @@ # -*- mode:po; coding:iso-latin-2; -*- Slovenian messages for Redhat pkg. mngr. # Copyright (C) 2000 Free Software Foundation, Inc. # Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2000. -# $Id: sl.po,v 1.279 2002/07/13 19:09:37 jbj Exp $ +# $Id: sl.po,v 1.280 2002/07/14 21:24:03 jbj Exp $ # msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: 2000-10-08 19:05+0200\n" "Last-Translator: Grega Fajdiga <gregor.fajdiga@telemach.net>\n" "Language-Team: Slovenian <sl@li.org>\n" @@ -2281,7 +2281,7 @@ msgid "can't query %s: %s\n" msgstr "ni možno poizvedeti o %s: %s\n" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "odpiranje %s je bilo neuspešno: %s\n" @@ -2365,7 +2365,7 @@ msgstr "številka zapisa paketa: %d\n" msgid "record %u could not be read\n" msgstr "zapisa %d ni možno prebrati\n" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "paket %s ni nameščen\n" @@ -2573,7 +2573,7 @@ msgstr "napaka pri branju iz datoteke %s\n" msgid "file %s requires a newer version of RPM\n" msgstr "datoteka %s zahteva novejšo različico RPM\n" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, c-format msgid "%s cannot be installed\n" msgstr "%s ni možno namestiti\n" @@ -2583,7 +2583,7 @@ msgstr "%s ni možno namestiti\n" msgid "found %d source and %d binary packages\n" msgstr "najdeno %d izvornih in %d binarnih paketov\n" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 #, fuzzy msgid "Failed dependencies:\n" @@ -2597,27 +2597,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "nameščanje binarnih paketov\n" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, c-format msgid "cannot open file %s: %s\n" msgstr "ni možno odpreti datoteke %s: %s\n" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "\"%s\" določa več paketov\n" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, c-format msgid "cannot open %s: %s\n" msgstr "ni možno odpreti %s: %s\n" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "Nameščanje %s\n" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, c-format msgid "rollback %d packages to %s" msgstr "" @@ -3005,7 +3005,7 @@ msgstr "manjka %s\n" #: lib/verify.c:389 #, fuzzy, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "Nezadovoljene soodvisnosti za %s-%s-%s: " #: rpmdb/db3.c:156 @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "Content-Type: text/plain; charset=\n" "Date: 1998-05-02 21:41:47-0400\n" @@ -2274,7 +2274,7 @@ msgid "can't query %s: %s\n" msgstr "greška: ne mogu da otvorim %s\n" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, fuzzy, c-format msgid "open of %s failed: %s\n" msgstr "neuspelo otvaranje %s: %s\n" @@ -2358,7 +2358,7 @@ msgstr "pogrešan broj paketa: %s\n" msgid "record %u could not be read\n" msgstr "ne mogu da pročitam slog %d\n" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "paket %s nije instaliran\n" @@ -2564,7 +2564,7 @@ msgstr "greška kod kreiranja direktorijuma %s: %s" msgid "file %s requires a newer version of RPM\n" msgstr "" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, fuzzy, c-format msgid "%s cannot be installed\n" msgstr "greška: %s se ne može instalirati\n" @@ -2574,7 +2574,7 @@ msgstr "greška: %s se ne može instalirati\n" msgid "found %d source and %d binary packages\n" msgstr "grupa %s ne sadrži nijedan paket\n" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 #, fuzzy msgid "Failed dependencies:\n" @@ -2589,27 +2589,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "instaliraj paket" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, fuzzy, c-format msgid "cannot open file %s: %s\n" msgstr "Ne mogu da otvorim datoteku %s: " -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "\"%s\" određuje više paketa\n" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, fuzzy, c-format msgid "cannot open %s: %s\n" msgstr "greška: ne mogu da otvorim %s\n" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "Instaliram %s\n" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, fuzzy, c-format msgid "rollback %d packages to %s" msgstr "neodstaje paket za deinstalaciju" @@ -2997,7 +2997,7 @@ msgstr "nedostaje { posle %" #: lib/verify.c:389 #, fuzzy, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "Nezadovoljene međuzavisnosti za %s-%s-%s: " #: rpmdb/db3.c:156 @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.1\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: 2002-07-11 22:49+0200\n" "Last-Translator: Göran Uddeborg <goeran@uddeborg.pp.se>\n" "Language-Team: Swedish <sv@li.org>\n" @@ -2187,7 +2187,7 @@ msgid "can't query %s: %s\n" msgstr "kan inte frĺga %s: %s\n" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "misslyckades med att öppna %s: %s\n" @@ -2270,7 +2270,7 @@ msgstr "paketpost nummer: %u\n" msgid "record %u could not be read\n" msgstr "post %u kunde inte läsas\n" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "paket %s är inte installerat\n" @@ -2474,7 +2474,7 @@ msgstr "fel vid läsning frĺn fil %s\n" msgid "file %s requires a newer version of RPM\n" msgstr "filen %s behöver en nyare version av RPM\n" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, c-format msgid "%s cannot be installed\n" msgstr "%s kan inte installeras\n" @@ -2484,7 +2484,7 @@ msgstr "%s kan inte installeras\n" msgid "found %d source and %d binary packages\n" msgstr "hittade %d käll- och %d binärpaket\n" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 msgid "Failed dependencies:\n" msgstr "Ouppfyllda beroenden:\n" @@ -2497,27 +2497,27 @@ msgstr " Föreslagna lösningar:\n" msgid "installing binary packages\n" msgstr "installerar binärpaket\n" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, c-format msgid "cannot open file %s: %s\n" msgstr "kan inte öppna filen %s: %s\n" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "\"%s\" anger flera paket\n" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, c-format msgid "cannot open %s: %s\n" msgstr "kan inte öppna %s: %s\n" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "Installerar %s\n" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, c-format msgid "rollback %d packages to %s" msgstr "ĺterställer %d paket till %s" @@ -2894,8 +2894,8 @@ msgid "missing %s" msgstr "saknas %s" #: lib/verify.c:389 -#, c-format -msgid "Unsatisifed dependencies for %s: " +#, fuzzy, c-format +msgid "Unsatisfied dependencies for %s: " msgstr "Ouppfyllda beroenden för %s: " #: rpmdb/db3.c:156 @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: 2001-07-05 08:02+300\n" "Last-Translator: Nilgun Belma Buguner <nilgun@technologist.com>\n" "Language-Team: Turkish <tr@li.org>\n" @@ -2243,7 +2243,7 @@ msgid "can't query %s: %s\n" msgstr "%s sorgulanamýyor: %s\n" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "%s açýlamadý: %s\n" @@ -2326,7 +2326,7 @@ msgstr "paket kayýt numarasý: %u\n" msgid "record %u could not be read\n" msgstr "%u. kayýt okunamadý\n" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "%s paketi kurulu deđil\n" @@ -2532,7 +2532,7 @@ msgstr "%s dosyasýndan okuma hatalý\n" msgid "file %s requires a newer version of RPM\n" msgstr "%s dosyasý RPM'nin daha yeni bir sürümünü gerektiriyor\n" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, c-format msgid "%s cannot be installed\n" msgstr "%s yüklenemedi\n" @@ -2542,7 +2542,7 @@ msgstr "%s yüklenemedi\n" msgid "found %d source and %d binary packages\n" msgstr "%d kaynak ve %d icra edilebilir paketi bulundu\n" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 #, fuzzy msgid "Failed dependencies:\n" @@ -2556,27 +2556,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "icra edilebilir paketleri kuruluyor\n" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, c-format msgid "cannot open file %s: %s\n" msgstr "%s dosyasý açýlamadý: %s\n" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "\"%s\" birden fazla paketi tanýmlýyor\n" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, c-format msgid "cannot open %s: %s\n" msgstr "%s açýlamadý: %s\n" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "%s kuruluyor\n" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, c-format msgid "rollback %d packages to %s" msgstr "" @@ -2957,7 +2957,7 @@ msgstr "eksik %s" #: lib/verify.c:389 #, fuzzy, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "%s-%s-%s için tatmin edici olmayan bađýmlýlýklar: " #: rpmdb/db3.c:156 @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -2162,7 +2162,7 @@ msgid "can't query %s: %s\n" msgstr "" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "" @@ -2245,7 +2245,7 @@ msgstr "" msgid "record %u could not be read\n" msgstr "" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "" @@ -2447,7 +2447,7 @@ msgstr "" msgid "file %s requires a newer version of RPM\n" msgstr "" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, c-format msgid "%s cannot be installed\n" msgstr "" @@ -2457,7 +2457,7 @@ msgstr "" msgid "found %d source and %d binary packages\n" msgstr "" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 msgid "Failed dependencies:\n" msgstr "" @@ -2470,27 +2470,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, c-format msgid "cannot open file %s: %s\n" msgstr "" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, c-format msgid "cannot open %s: %s\n" msgstr "" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, c-format msgid "rollback %d packages to %s" msgstr "" @@ -2866,7 +2866,7 @@ msgstr "" #: lib/verify.c:389 #, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "" #: rpmdb/db3.c:156 @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -2162,7 +2162,7 @@ msgid "can't query %s: %s\n" msgstr "" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "" @@ -2245,7 +2245,7 @@ msgstr "" msgid "record %u could not be read\n" msgstr "" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "" @@ -2447,7 +2447,7 @@ msgstr "" msgid "file %s requires a newer version of RPM\n" msgstr "" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, c-format msgid "%s cannot be installed\n" msgstr "" @@ -2457,7 +2457,7 @@ msgstr "" msgid "found %d source and %d binary packages\n" msgstr "" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 msgid "Failed dependencies:\n" msgstr "" @@ -2470,27 +2470,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, c-format msgid "cannot open file %s: %s\n" msgstr "" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, c-format msgid "cannot open %s: %s\n" msgstr "" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, c-format msgid "rollback %d packages to %s" msgstr "" @@ -2866,7 +2866,7 @@ msgstr "" #: lib/verify.c:389 #, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "" #: rpmdb/db3.c:156 @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -2162,7 +2162,7 @@ msgid "can't query %s: %s\n" msgstr "" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "" @@ -2245,7 +2245,7 @@ msgstr "" msgid "record %u could not be read\n" msgstr "" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "" @@ -2447,7 +2447,7 @@ msgstr "" msgid "file %s requires a newer version of RPM\n" msgstr "" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, c-format msgid "%s cannot be installed\n" msgstr "" @@ -2457,7 +2457,7 @@ msgstr "" msgid "found %d source and %d binary packages\n" msgstr "" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 msgid "Failed dependencies:\n" msgstr "" @@ -2470,27 +2470,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, c-format msgid "cannot open file %s: %s\n" msgstr "" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, c-format msgid "cannot open %s: %s\n" msgstr "" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, c-format msgid "rollback %d packages to %s" msgstr "" @@ -2866,7 +2866,7 @@ msgstr "" #: lib/verify.c:389 #, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "" #: rpmdb/db3.c:156 diff --git a/po/zh_CN.GB2312.po b/po/zh_CN.GB2312.po index 4ed2edd81..328c9ba2a 100644 --- a/po/zh_CN.GB2312.po +++ b/po/zh_CN.GB2312.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: rpm 4.0.3\n" -"POT-Creation-Date: 2002-07-13 15:09-0400\n" +"POT-Creation-Date: 2002-07-14 17:19-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -2162,7 +2162,7 @@ msgid "can't query %s: %s\n" msgstr "" #: lib/query.c:565 lib/query.c:599 lib/rpminstall.c:361 lib/rpminstall.c:492 -#: lib/rpminstall.c:874 tools/rpmgraph.c:127 tools/rpmgraph.c:164 +#: lib/rpminstall.c:881 tools/rpmgraph.c:127 tools/rpmgraph.c:164 #, c-format msgid "open of %s failed: %s\n" msgstr "" @@ -2245,7 +2245,7 @@ msgstr "" msgid "record %u could not be read\n" msgstr "" -#: lib/query.c:907 lib/rpminstall.c:659 +#: lib/query.c:907 lib/rpminstall.c:662 #, c-format msgid "package %s is not installed\n" msgstr "" @@ -2447,7 +2447,7 @@ msgstr "" msgid "file %s requires a newer version of RPM\n" msgstr "" -#: lib/rpminstall.c:484 lib/rpminstall.c:730 tools/rpmgraph.c:156 +#: lib/rpminstall.c:484 lib/rpminstall.c:737 tools/rpmgraph.c:156 #, c-format msgid "%s cannot be installed\n" msgstr "" @@ -2457,7 +2457,7 @@ msgstr "" msgid "found %d source and %d binary packages\n" msgstr "" -#: lib/rpminstall.c:534 lib/rpminstall.c:687 lib/rpminstall.c:1061 +#: lib/rpminstall.c:534 lib/rpminstall.c:690 lib/rpminstall.c:1068 #: tools/rpmgraph.c:202 msgid "Failed dependencies:\n" msgstr "" @@ -2470,27 +2470,27 @@ msgstr "" msgid "installing binary packages\n" msgstr "" -#: lib/rpminstall.c:592 +#: lib/rpminstall.c:595 #, c-format msgid "cannot open file %s: %s\n" msgstr "" -#: lib/rpminstall.c:662 +#: lib/rpminstall.c:665 #, c-format msgid "\"%s\" specifies multiple packages\n" msgstr "" -#: lib/rpminstall.c:717 +#: lib/rpminstall.c:724 #, c-format msgid "cannot open %s: %s\n" msgstr "" -#: lib/rpminstall.c:723 +#: lib/rpminstall.c:730 #, c-format msgid "Installing %s\n" msgstr "" -#: lib/rpminstall.c:1055 +#: lib/rpminstall.c:1062 #, c-format msgid "rollback %d packages to %s" msgstr "" @@ -2866,7 +2866,7 @@ msgstr "" #: lib/verify.c:389 #, c-format -msgid "Unsatisifed dependencies for %s: " +msgid "Unsatisfied dependencies for %s: " msgstr "" #: rpmdb/db3.c:156 diff --git a/popt/.lclintrc b/popt/.lclintrc index 49aac9764..e4294788a 100644 --- a/popt/.lclintrc +++ b/popt/.lclintrc @@ -14,6 +14,7 @@ # --- in progress +bounds +-bufferoverflowhigh # --- +partial artifacts -exportlocal # 14 diff --git a/popt/po/cs.po b/popt/po/cs.po index ce7da722b..7d7e66d8a 100644 --- a/popt/po/cs.po +++ b/popt/po/cs.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: 2001-07-24 00:03+0100\n" "Last-Translator: Milan Kerslager <kerslage@linux.cz>\n" "Language-Team: Czech <cs@li.org>\n" diff --git a/popt/po/da.po b/popt/po/da.po index 8dc075522..9b159e2c2 100644 --- a/popt/po/da.po +++ b/popt/po/da.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: Sun Jan 21 2001 04:30:32+0200\n" "Last-Translator: Martin Hansen <mah@k64.dk>\n" "Language-Team: Dansk <dansk@klid.dk>\n" diff --git a/popt/po/de.po b/popt/po/de.po index d86c78e3d..9cf7ac3d1 100644 --- a/popt/po/de.po +++ b/popt/po/de.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/popt/po/es.po b/popt/po/es.po index 83a57df10..7209a4e94 100644 --- a/popt/po/es.po +++ b/popt/po/es.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Leandro Lucarella <luca@linuxmendoza.org.ar>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/popt/po/eu_ES.po b/popt/po/eu_ES.po index d86c78e3d..9cf7ac3d1 100644 --- a/popt/po/eu_ES.po +++ b/popt/po/eu_ES.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/popt/po/fi.po b/popt/po/fi.po index d86c78e3d..9cf7ac3d1 100644 --- a/popt/po/fi.po +++ b/popt/po/fi.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/popt/po/fr.po b/popt/po/fr.po index d86c78e3d..9cf7ac3d1 100644 --- a/popt/po/fr.po +++ b/popt/po/fr.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/popt/po/gl.po b/popt/po/gl.po index 5046517c8..820d8e879 100644 --- a/popt/po/gl.po +++ b/popt/po/gl.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: 2001-01-17 01:01+0100\n" "Last-Translator: Jesús Bravo Álvarez <jba@pobox.com>\n" "Language-Team: Galician <trasno@ceu.fi.udc.es>\n" diff --git a/popt/po/hu.po b/popt/po/hu.po index 6a861000b..cac962222 100644 --- a/popt/po/hu.po +++ b/popt/po/hu.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: 2000-08-03 23:26+0200\n" "Last-Translator: László Németh <nemeth@qwertynet.hu>\n" "Language-Team: Hungarian\n" diff --git a/popt/po/id.po b/popt/po/id.po index d86c78e3d..9cf7ac3d1 100644 --- a/popt/po/id.po +++ b/popt/po/id.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/popt/po/is.po b/popt/po/is.po index 625baa79a..d10ed7cdc 100644 --- a/popt/po/is.po +++ b/popt/po/is.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: 2001-06-08 01:35+0000\n" "Last-Translator: Richard Allen <ra@hp.is>\n" "Language-Team: is <kde-isl@mmedia.is>\n" diff --git a/popt/po/it.po b/popt/po/it.po index d86c78e3d..9cf7ac3d1 100644 --- a/popt/po/it.po +++ b/popt/po/it.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/popt/po/ja.po b/popt/po/ja.po index d86c78e3d..9cf7ac3d1 100644 --- a/popt/po/ja.po +++ b/popt/po/ja.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/popt/po/ko.po b/popt/po/ko.po index 4a7ee9653..192bc6d41 100644 --- a/popt/po/ko.po +++ b/popt/po/ko.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: 2001-09-06 20:06+0900\n" "Last-Translator: Jong-Hoon Ryu <redhat4u@netian.com>\n" "Language-Team: GNU Translation project <ko@li.org>\n" diff --git a/popt/po/no.po b/popt/po/no.po index 5a336c0d9..d89a819cd 100644 --- a/popt/po/no.po +++ b/popt/po/no.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: 2001-06-27 11:05+0200\n" "Last-Translator: Kjartan Maraas <kmaraas@online.no>\n" "Language-Team: Norwegian <no@li.org>\n" diff --git a/popt/po/pl.po b/popt/po/pl.po index d86c78e3d..9cf7ac3d1 100644 --- a/popt/po/pl.po +++ b/popt/po/pl.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/popt/po/popt.pot b/popt/po/popt.pot index 2ddcdadc7..6a0ccc994 100644 --- a/popt/po/popt.pot +++ b/popt/po/popt.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/popt/po/pt.po b/popt/po/pt.po index 01b766f93..91fff7e34 100644 --- a/popt/po/pt.po +++ b/popt/po/pt.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: 2002-02-13 18:32+0000\n" "Last-Translator: Pedro Morais <morais@kde.org>\n" "Language-Team: pt <morais@kde.org>\n" diff --git a/popt/po/pt_BR.po b/popt/po/pt_BR.po index d86c78e3d..9cf7ac3d1 100644 --- a/popt/po/pt_BR.po +++ b/popt/po/pt_BR.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/popt/po/ro.po b/popt/po/ro.po index 60ca30f34..14c4a315f 100644 --- a/popt/po/ro.po +++ b/popt/po/ro.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: 2000-06-14 23:23+EST\n" "Last-Translator: Cristian Gafton <gafton@redhat.com>\n" "Language-Team: Romanian <ro@li.org>\n" diff --git a/popt/po/ru.po b/popt/po/ru.po index cb14cd5c5..05e236de9 100644 --- a/popt/po/ru.po +++ b/popt/po/ru.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: 2001-07-05 21:00-0500\n" "Last-Translator: Eugene Kanter <eugene@blackcatlinux.com>\n" "Language-Team: Black Cat Linux Team <blackcat-support@blackcatlinux.com>\n" diff --git a/popt/po/sk.po b/popt/po/sk.po index 7bdbd0de5..703495028 100644 --- a/popt/po/sk.po +++ b/popt/po/sk.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: 1999-08-04 21:40+0200\n" "Last-Translator: Stanislav Meduna <stano@eunet.sk>\n" "Language-Team: Slovak <sk-i18n@rak.isternet.sk>\n" diff --git a/popt/po/sl.po b/popt/po/sl.po index 887c5b519..e5613e056 100644 --- a/popt/po/sl.po +++ b/popt/po/sl.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: 2000-09-05 12:30+0200\n" "Last-Translator: Roman Maurer <roman.maurer@hermes.si>\n" "Language-Team: Slovenian <sl@li.org>\n" diff --git a/popt/po/sr.po b/popt/po/sr.po index d86c78e3d..9cf7ac3d1 100644 --- a/popt/po/sr.po +++ b/popt/po/sr.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/popt/po/sv.po b/popt/po/sv.po index f288d795c..e0c91d66d 100644 --- a/popt/po/sv.po +++ b/popt/po/sv.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: 2001-07-12 22:26+0100\n" "Last-Translator: Christian Rose <menthos@menthos.com>\n" "Language-Team: Swedish <sv@li.org>\n" diff --git a/popt/po/tr.po b/popt/po/tr.po index ca8f6a673..c51b46dc0 100644 --- a/popt/po/tr.po +++ b/popt/po/tr.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: 2000-02-11 13:01+0200\n" "Last-Translator: Nilgun Belma Buguner <nilgun@technologist.com>\n" "Language-Team: Turkish <tr@li.org>\n" diff --git a/popt/po/uk.po b/popt/po/uk.po index 8fae53567..ac541bf8b 100644 --- a/popt/po/uk.po +++ b/popt/po/uk.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: 1999-09-30 16:54+0200\n" "Last-Translator: Yuri Syrota <rasta@renome.rovno.ua>\n" "Language-Team: Ukrainian <uk@li.org>\n" diff --git a/popt/po/wa.po b/popt/po/wa.po index 50483e64c..bd7fdfd5f 100644 --- a/popt/po/wa.po +++ b/popt/po/wa.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: 1999-03-18 23:11+0100\n" "Last-Translator: Nobody yet\n" "Language-Team: walon <linux-wa@chanae.alphanet.ch>\n" diff --git a/popt/po/zh.po b/popt/po/zh.po index d86c78e3d..9cf7ac3d1 100644 --- a/popt/po/zh.po +++ b/popt/po/zh.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/popt/po/zh_CN.GB2312.po b/popt/po/zh_CN.GB2312.po index f484099a0..94d5bc06f 100644 --- a/popt/po/zh_CN.GB2312.po +++ b/popt/po/zh_CN.GB2312.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.3\n" -"POT-Creation-Date: 2002-07-09 11:35-0400\n" +"POT-Creation-Date: 2002-07-14 10:58-0400\n" "PO-Revision-Date: 1999-11-11 05:04+0800\n" "Last-Translator: Dillion Chen <dillon.chen@turbolinux.com.cn>\n" "Language-Team: TLDN\n" diff --git a/python/.lclintrc b/python/.lclintrc index cc7d9acbe..70d9da5ae 100644 --- a/python/.lclintrc +++ b/python/.lclintrc @@ -1,36 +1,107 @@ --I. -I.. -I../lib -I../rpmdb -I../rpmio -I../popt -DHAVE_CONFIG_H -D_GNU_SOURCE +-I. -I.. -I../build -I../lib -I../rpmdb -I../rpmio -I../beecrypt -I../popt -DHAVE_CONFIG_H -D_GNU_SOURCE +partial ++forcehints -warnunixlib -warnposix +unixlib -# XXX ignore doxygen markings --unrecogcomments - -# don't-bother-me-yet parameters --branchstate # ~39 --mustfree # ~325 - -# not-yet normal parameters --boolops # ~351 w->n --predboolint # ~200 w->n --type # ~271 - -# -weak paramaters -#+boolint -#-boolops -#+ignorequals -#+ignoresigns -#-mustfree -#+longintegral -#+matchanyintegral -#-nullpass -#-observertrans -#-predboolint -#-predboolothers -#-retvalint -#-retvalother -#-shiftsigned +-unrecogcomments # XXX ignore doxygen markings + ++strict # lclint level + +# --- in progress +#+bounds ++slovak-fcns +-bufferoverflowhigh + +-branchstate +-castfcnptr +-compdef +-evalorderuncon +-exportheader +-globs +-globstate +-incondefs # 1 +-internalglobs +-modfilesys +-modnomods +-modobserveruncon +-moduncon +-modunconnomods +-noeffect +-noeffectuncon +-nullderef +-nullpass +-nullret +-nullstate +-predboolothers +-protoparammatch +-redecl +-redef +-retalias +-retvalint +-retvalother +-sizeoftype +-type +-usereleased + +-dependenttrans +-exposetrans +-immediatetrans +-kepttrans +-newreftrans +-observertrans +-onlytrans +-readonlytrans +-refcounttrans +-statictrans +-temptrans + +-ifempty + +# --- +partial artifacts +-declundef +-exportheadervar +-exportlocal + +-enummemuse +-fcnuse +-typeuse +-varuse + +# --- not-yet at strict level +-bitwisesigned # 160 +-elseifcomplete # 9 +-exportconst # 687 +-exportfcn # 464 +-exporttype # 196 +-exportvar # 55 +-fielduse # 225 occurence <bits/sigset.h> +-forblock # tedious +-ifblock # tedious +-namechecks # 1679 +-ptrarith # 201 + +-compdestroy # 125 +-mustdefine # 76 +-sys-dir-errors + +-strictops # 54 +-strictusereleased # 3 +-whileblock # 20 + +# --- not-yet at checks level ++enumint # 211 +-mustfree # 219 +-predboolptr # 107 +-usedef # 42 + +# --- not-yet at standard level +-boolops # 81 ++boolint # 18 ++charint # 74 ++ignorequals # 104 ++matchanyintegral # 90 diff --git a/python/Makefile.am b/python/Makefile.am index 4a1741f62..ac12b90c6 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -61,6 +61,14 @@ _rpmdb.so$(EXEEXT): $(_rpmdb_so_OBJECTS) poptmodule.so$(EXEEXT): $(poptmodule_so_OBJECTS) $(CC) -o $@ $(poptmodule_so_OBJECTS) $(poptmodule_so_LDFLAGS) +# rpmmodule.c hash.c upgrade.c header-py.c \ +# rpmal-py.c rpmds-py.c rpmdb-py.c rpmfd-py.c rpmfi-py.c rpmmi-py.c \ +# rpmrc-py.c rpmte-py.c rpmts-py.c +# rpmmodule.c header-py.c +splint_srcs = hash.c upgrade.c \ + rpmal-py.c rpmds-py.c rpmdb-py.c rpmfd-py.c rpmfi-py.c rpmmi-py.c \ + rpmrc-py.c rpmte-py.c rpmts-py.c + .PHONY: lclint lclint: - lclint $(DEFS) $(INCLUDES) $(librpmmodule_la_SOURCES) + lclint $(DEFS) $(INCLUDES) $(splint_srcs) diff --git a/python/hash.c b/python/hash.c index 00d734879..f3b88c4b0 100644 --- a/python/hash.c +++ b/python/hash.c @@ -2,13 +2,12 @@ * \file python/hash.c */ -#include <stdlib.h> -#include <unistd.h> -#include <stdio.h> -#include <string.h> +#include "system.h" #include "hash.h" +#include "debug.h" + #define CHUNK 1 struct filePath { diff --git a/python/header-py.c b/python/header-py.c index a875c5391..b3d88e624 100644 --- a/python/header-py.c +++ b/python/header-py.c @@ -5,6 +5,11 @@ #include "system.h" #include "Python.h" +#ifdef __LCLINT__ +#undef PyObject_HEAD +#define PyObject_HEAD int _PyObjectHead; +#endif + #include "rpmio_internal.h" #include "rpmcli.h" /* XXX for rpmCheckSig */ @@ -92,7 +97,9 @@ struct hdrObject_s { unsigned short * modes; } ; -/*@unused@*/ static inline Header headerAllocated(Header h) { +/*@unused@*/ static inline Header headerAllocated(Header h) + /*@modifies h @*/ +{ h->flags |= HEADERFLAG_ALLOCATED; return 0; } @@ -100,6 +107,7 @@ struct hdrObject_s { /** \ingroup python */ static PyObject * hdrKeyList(hdrObject * s, PyObject * args) + /*@*/ { PyObject * list, *o; HeaderIterator hi; @@ -132,7 +140,9 @@ static PyObject * hdrKeyList(hdrObject * s, PyObject * args) /** \ingroup python */ -static PyObject * hdrUnload(hdrObject * s, PyObject * args, PyObject *keywords) { +static PyObject * hdrUnload(hdrObject * s, PyObject * args, PyObject *keywords) + /*@*/ +{ char * buf; PyObject * rc; int len, legacy = 0; @@ -169,6 +179,7 @@ static PyObject * hdrUnload(hdrObject * s, PyObject * args, PyObject *keywords) * It should be passed the file number to verify. */ static PyObject * hdrVerifyFile(hdrObject * s, PyObject * args) + /*@*/ { int fileNumber; rpmVerifyAttrs verifyResult = 0; @@ -393,6 +404,7 @@ static PyObject * hdrVerifyFile(hdrObject * s, PyObject * args) /** \ingroup python */ static PyObject * hdrExpandFilelist(hdrObject * s, PyObject * args) + /*@*/ { expandFilelist (s->h); @@ -403,6 +415,7 @@ static PyObject * hdrExpandFilelist(hdrObject * s, PyObject * args) /** \ingroup python */ static PyObject * hdrCompressFilelist(hdrObject * s, PyObject * args) + /*@*/ { compressFilelist (s->h); @@ -414,6 +427,7 @@ static PyObject * hdrCompressFilelist(hdrObject * s, PyObject * args) /** \ingroup python */ static void mungeFilelist(Header h) + /*@*/ { const char ** fileNames = NULL; int count = 0; @@ -438,6 +452,7 @@ static void mungeFilelist(Header h) /** */ static PyObject * rhnUnload(hdrObject * s, PyObject * args) + /*@*/ { int len; char * uh; @@ -499,6 +514,7 @@ static PyObject * rhnUnload(hdrObject * s, PyObject * args) /** \ingroup python */ static PyObject * hdrFullFilelist(hdrObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, "")) return NULL; @@ -512,6 +528,7 @@ static PyObject * hdrFullFilelist(hdrObject * s, PyObject * args) /** \ingroup python */ static PyObject * hdrSprintf(hdrObject * s, PyObject * args) + /*@*/ { char * fmt; char * r; @@ -536,12 +553,14 @@ static PyObject * hdrSprintf(hdrObject * s, PyObject * args) /** */ static int hdr_compare(hdrObject * a, hdrObject * b) + /*@*/ { return rpmVersionCompare(a->h, b->h); } /** \ingroup python */ +/*@unchecked@*/ /*@observer@*/ static struct PyMethodDef hdr_methods[] = { {"keys", (PyCFunction) hdrKeyList, METH_VARARGS, NULL }, @@ -573,6 +592,7 @@ static struct PyMethodDef hdr_methods[] = { /** \ingroup python */ static PyObject * hdr_getattr(hdrObject * s, char * name) + /*@*/ { return Py_FindMethod(hdr_methods, (PyObject * ) s, name); } @@ -580,6 +600,7 @@ static PyObject * hdr_getattr(hdrObject * s, char * name) /** \ingroup python */ static void hdr_dealloc(hdrObject * s) + /*@*/ { if (s->h) headerFree(s->h); s->md5list = _free(s->md5list); @@ -609,6 +630,7 @@ long tagNumFromPyObject (PyObject *item) /** \ingroup python */ static PyObject * hdr_subscript(hdrObject * s, PyObject * item) + /*@*/ { int type, count, i, tag = -1; void * data; @@ -766,6 +788,7 @@ static PyObject * hdr_subscript(hdrObject * s, PyObject * item) /** \ingroup python */ +/*@unchecked@*/ /*@observer@*/ static PyMappingMethods hdr_as_mapping = { (inquiry) 0, /* mp_length */ (binaryfunc) hdr_subscript, /* mp_subscript */ @@ -779,6 +802,7 @@ static char hdr_doc[] = /** \ingroup python */ +/*@unchecked@*/ /*@observer@*/ PyTypeObject hdr_Type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ diff --git a/python/header-py.h b/python/header-py.h index 397e45fa6..d2c138f94 100644 --- a/python/header-py.h +++ b/python/header-py.h @@ -8,27 +8,42 @@ /** \ingroup python */ typedef struct hdrObject_s hdrObject; + +/*@unchecked@*/ extern PyTypeObject hdr_Type; /** \ingroup python */ PyObject * pyrpmError; -hdrObject * hdr_Wrap(Header h); - -Header hdrGetHeader(hdrObject * h); - -long tagNumFromPyObject (PyObject *item); - -PyObject * labelCompare (PyObject * self, PyObject * args); -PyObject * versionCompare (PyObject * self, PyObject * args); -PyObject * rpmMergeHeadersFromFD(PyObject * self, PyObject * args); -int rpmMergeHeaders(PyObject * list, FD_t fd, int matchTag); -PyObject * rpmHeaderFromFile(PyObject * self, PyObject * args); -PyObject * rpmHeaderFromFD(PyObject * self, PyObject * args); -PyObject * rpmReadHeaders (FD_t fd); -PyObject * rhnLoad(PyObject * self, PyObject * args); -PyObject * hdrLoad(PyObject * self, PyObject * args); -PyObject * rpmHeaderFromPackage(PyObject * self, PyObject * args); +hdrObject * hdr_Wrap(Header h) + /*@*/; + +Header hdrGetHeader(hdrObject * h) + /*@*/; + +long tagNumFromPyObject (PyObject *item) + /*@*/; + +PyObject * labelCompare (PyObject * self, PyObject * args) + /*@*/; +PyObject * versionCompare (PyObject * self, PyObject * args) + /*@*/; +PyObject * rpmMergeHeadersFromFD(PyObject * self, PyObject * args) + /*@*/; +int rpmMergeHeaders(PyObject * list, FD_t fd, int matchTag) + /*@*/; +PyObject * rpmHeaderFromFile(PyObject * self, PyObject * args) + /*@*/; +PyObject * rpmHeaderFromFD(PyObject * self, PyObject * args) + /*@*/; +PyObject * rpmReadHeaders (FD_t fd) + /*@*/; +PyObject * rhnLoad(PyObject * self, PyObject * args) + /*@*/; +PyObject * hdrLoad(PyObject * self, PyObject * args) + /*@*/; +PyObject * rpmHeaderFromPackage(PyObject * self, PyObject * args) + /*@*/; #endif diff --git a/python/rpmal-py.c b/python/rpmal-py.c index 9eb43bb50..6910bb6c2 100644 --- a/python/rpmal-py.c +++ b/python/rpmal-py.c @@ -5,6 +5,10 @@ #include "system.h" #include "Python.h" +#ifdef __LCLINT__ +#undef PyObject_HEAD +#define PyObject_HEAD int _PyObjectHead; +#endif #include <rpmlib.h> @@ -15,7 +19,9 @@ #include "debug.h" static PyObject * -rpmal_Debug(rpmalObject * s, PyObject * args) +rpmal_Debug(/*@unused@*/ rpmalObject * s, PyObject * args) + /*@globals _Py_NoneStruct @*/ + /*@modifies _Py_NoneStruct @*/ { if (!PyArg_ParseTuple(args, "i", &_rpmal_debug)) return NULL; Py_INCREF(Py_None); @@ -24,6 +30,7 @@ rpmal_Debug(rpmalObject * s, PyObject * args) static PyObject * rpmal_Add(rpmalObject * s, PyObject * args) + /*@modifies s @*/ { rpmdsObject * dso; rpmfiObject * fio; @@ -41,6 +48,8 @@ rpmal_Add(rpmalObject * s, PyObject * args) static PyObject * rpmal_Del(rpmalObject * s, PyObject * args) + /*@globals _Py_NoneStruct @*/ + /*@modifies s, _Py_NoneStruct @*/ { alKey pkgKey; @@ -55,6 +64,8 @@ rpmal_Del(rpmalObject * s, PyObject * args) static PyObject * rpmal_AddProvides(rpmalObject * s, PyObject * args) + /*@globals _Py_NoneStruct @*/ + /*@modifies s, _Py_NoneStruct @*/ { rpmdsObject * dso; alKey pkgKey; @@ -70,6 +81,8 @@ rpmal_AddProvides(rpmalObject * s, PyObject * args) static PyObject * rpmal_MakeIndex(rpmalObject * s, PyObject * args) + /*@globals _Py_NoneStruct @*/ + /*@modifies s, _Py_NoneStruct @*/ { if (!PyArg_ParseTuple(args, ":MakeIndex")) return NULL; @@ -80,6 +93,8 @@ rpmal_MakeIndex(rpmalObject * s, PyObject * args) return Py_None; } +/*@-fullinitblock@*/ +/*@unchecked@*/ /*@observer@*/ static struct PyMethodDef rpmal_methods[] = { {"Debug", (PyCFunction)rpmal_Debug, METH_VARARGS, NULL}, @@ -91,13 +106,15 @@ static struct PyMethodDef rpmal_methods[] = { NULL}, {"makeIndex",(PyCFunction)rpmal_MakeIndex, METH_VARARGS, NULL}, - {NULL, NULL} /* sentinel */ + {NULL, NULL } /* sentinel */ }; +/*@=fullinitblock@*/ /* ---------- */ static void rpmal_dealloc(rpmalObject * s) + /*@modifies s @*/ { if (s) { s->al = rpmalFree(s->al); @@ -107,15 +124,19 @@ rpmal_dealloc(rpmalObject * s) static PyObject * rpmal_getattr(rpmalObject * s, char * name) + /*@*/ { return Py_FindMethod(rpmal_methods, (PyObject *)s, name); } /** */ +/*@unchecked@*/ /*@observer@*/ static char rpmal_doc[] = ""; +/*@-fullinitblock@*/ +/*@unchecked@*/ PyTypeObject rpmal_Type = { PyObject_HEAD_INIT(&PyType_Type) 0, /* ob_size */ @@ -162,6 +183,7 @@ PyTypeObject rpmal_Type = { 0, /* tp_is_gc */ #endif }; +/*@=fullinitblock@*/ /* ---------- */ diff --git a/python/rpmal-py.h b/python/rpmal-py.h index a0a5b6fa1..ee79fd6cd 100644 --- a/python/rpmal-py.h +++ b/python/rpmal-py.h @@ -12,8 +12,10 @@ typedef struct rpmalObject_s { rpmal al; } rpmalObject; +/*@unchecked@*/ extern PyTypeObject rpmal_Type; -rpmalObject * rpmal_Wrap(rpmal al); +rpmalObject * rpmal_Wrap(rpmal al) + /*@*/; #endif diff --git a/python/rpmdb-py.c b/python/rpmdb-py.c index 8e689b2f3..e1da8274c 100644 --- a/python/rpmdb-py.c +++ b/python/rpmdb-py.c @@ -5,6 +5,11 @@ #include "system.h" #include "Python.h" +#ifdef __LCLINT__ +#undef PyObject_HEAD +#define PyObject_HEAD int _PyObjectHead; +#endif + #include <rpmlib.h> #include "rpmdb-py.h" @@ -13,6 +18,8 @@ #include "debug.h" +/*@access Header @*/ + /** \ingroup python * \class Rpmdb * \brief A python rpmdb object represents an RPM database. @@ -106,6 +113,8 @@ */ static rpmmiObject * rpmdb_Match (rpmdbObject * s, PyObject * args) + /*@globals _Py_NoneStruct @*/ + /*@modifies s, _Py_NoneStruct @*/ { PyObject *TagN = NULL; char *key = NULL; @@ -125,17 +134,21 @@ rpmdb_Match (rpmdbObject * s, PyObject * args) /** */ +/*@-fullinitblock@*/ +/*@unchecked@*/ /*@observer@*/ static struct PyMethodDef rpmdb_methods[] = { {"match", (PyCFunction) rpmdb_Match, METH_VARARGS, "db.match([TagN, [key, [len]]]) -> mi\n\ - Create an rpm db match iterator.\n" }, {NULL, NULL} /* sentinel */ }; +/*@=fullinitblock@*/ /** */ static int rpmdb_length(rpmdbObject * s) + /*@modifies s @*/ { rpmdbMatchIterator mi; int count = 0; @@ -152,6 +165,7 @@ rpmdb_length(rpmdbObject * s) */ static hdrObject * rpmdb_subscript(rpmdbObject * s, PyObject * key) + /*@modifies s @*/ { int offset; hdrObject * ho; @@ -180,6 +194,7 @@ rpmdb_subscript(rpmdbObject * s, PyObject * key) /** */ +/*@unchecked@*/ /*@observer@*/ static PyMappingMethods rpmdb_as_mapping = { (inquiry) rpmdb_length, /* mp_length */ (binaryfunc) rpmdb_subscript, /* mp_subscript */ @@ -189,6 +204,7 @@ static PyMappingMethods rpmdb_as_mapping = { /** */ static void rpmdb_dealloc(rpmdbObject * s) + /*@modifies s @*/ { if (s->db) rpmdbClose(s->db); @@ -198,17 +214,20 @@ static void rpmdb_dealloc(rpmdbObject * s) /** */ static PyObject * rpmdb_getattr(rpmdbObject * s, char * name) + /*@*/ { return Py_FindMethod(rpmdb_methods, (PyObject * ) s, name); } /** */ +/*@unchecked@*/ /*@observer@*/ static char rpmdb_doc[] = ""; /** */ +/*@-fullinitblock@*/ PyTypeObject rpmdb_Type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ @@ -254,6 +273,7 @@ PyTypeObject rpmdb_Type = { 0, /* tp_is_gc */ #endif }; +/*@=fullinitblock@*/ rpmdb dbFromDb(rpmdbObject * db) { @@ -262,7 +282,7 @@ rpmdb dbFromDb(rpmdbObject * db) /** */ -rpmdbObject * rpmOpenDB(PyObject * self, PyObject * args) { +rpmdbObject * rpmOpenDB(/*@unused@*/ PyObject * self, PyObject * args) { rpmdbObject * o; char * root = ""; int forWrite = 0; @@ -281,7 +301,9 @@ rpmdbObject * rpmOpenDB(PyObject * self, PyObject * args) { /* PyErr_SetString should take varargs... */ errsize = strlen(errmsg) + *root == '\0' ? 15 /* "/var/lib/rpm" */ : strlen(root); errstr = alloca(errsize); +/*@-formatconst@*/ snprintf(errstr, errsize, errmsg, *root == '\0' ? "/var/lib/rpm" : root); +/*@=formatconst@*/ PyErr_SetString(pyrpmError, errstr); return NULL; } @@ -291,7 +313,7 @@ rpmdbObject * rpmOpenDB(PyObject * self, PyObject * args) { /** */ -PyObject * rebuildDB (PyObject * self, PyObject * args) +PyObject * rebuildDB (/*@unused@*/ PyObject * self, PyObject * args) { char * root = ""; diff --git a/python/rpmdb-py.h b/python/rpmdb-py.h index f0f5793d5..8c088d5d9 100644 --- a/python/rpmdb-py.h +++ b/python/rpmdb-py.h @@ -14,18 +14,23 @@ typedef struct rpmdbObject_s rpmdbObject; /** \ingroup python */ struct rpmdbObject_s { - PyObject_HEAD; + PyObject_HEAD rpmdb db; int offx; int noffs; int *offsets; } ; +/*@unchecked@*/ extern PyTypeObject rpmdb_Type; -rpmdb dbFromDb(rpmdbObject * db); +rpmdb dbFromDb(rpmdbObject * db) + /*@*/; -rpmdbObject * rpmOpenDB(PyObject * self, PyObject * args); -PyObject * rebuildDB (PyObject * self, PyObject * args); +rpmdbObject * rpmOpenDB(PyObject * self, PyObject * args) + /*@*/; +PyObject * rebuildDB (PyObject * self, PyObject * args) + /*@globals rpmGlobalMacroContext @*/ + /*@modifies rpmGlobalMacroContext @*/; #endif diff --git a/python/rpmds-py.c b/python/rpmds-py.c index 430947865..8ec627592 100644 --- a/python/rpmds-py.c +++ b/python/rpmds-py.c @@ -5,6 +5,10 @@ #include "system.h" #include "Python.h" +#ifdef __LCLINT__ +#undef PyObject_HEAD +#define PyObject_HEAD int _PyObjectHead; +#endif #include <rpmlib.h> @@ -13,8 +17,12 @@ #include "debug.h" +/*@access rpmds @*/ + static PyObject * -rpmds_Debug(rpmdsObject * s, PyObject * args) +rpmds_Debug(/*@unused@*/ rpmdsObject * s, PyObject * args) + /*@globals _Py_NoneStruct @*/ + /*@modifies _Py_NoneStruct @*/ { if (!PyArg_ParseTuple(args, "i", &_rpmds_debug)) return NULL; Py_INCREF(Py_None); @@ -23,6 +31,7 @@ rpmds_Debug(rpmdsObject * s, PyObject * args) static PyObject * rpmds_Count(rpmdsObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":Count")) return NULL; return Py_BuildValue("i", rpmdsCount(s->ds)); @@ -30,6 +39,7 @@ rpmds_Count(rpmdsObject * s, PyObject * args) static PyObject * rpmds_Ix(rpmdsObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":Ix")) return NULL; return Py_BuildValue("i", rpmdsIx(s->ds)); @@ -37,6 +47,7 @@ rpmds_Ix(rpmdsObject * s, PyObject * args) static PyObject * rpmds_DNEVR(rpmdsObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":DNEVR")) return NULL; return Py_BuildValue("s", rpmdsDNEVR(s->ds)); @@ -44,6 +55,7 @@ rpmds_DNEVR(rpmdsObject * s, PyObject * args) static PyObject * rpmds_N(rpmdsObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":N")) return NULL; return Py_BuildValue("s", rpmdsN(s->ds)); @@ -51,6 +63,7 @@ rpmds_N(rpmdsObject * s, PyObject * args) static PyObject * rpmds_EVR(rpmdsObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":EVR")) return NULL; return Py_BuildValue("s", rpmdsEVR(s->ds)); @@ -58,6 +71,7 @@ rpmds_EVR(rpmdsObject * s, PyObject * args) static PyObject * rpmds_Flags(rpmdsObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":Flags")) return NULL; return Py_BuildValue("i", rpmdsFlags(s->ds)); @@ -65,6 +79,7 @@ rpmds_Flags(rpmdsObject * s, PyObject * args) static PyObject * rpmds_TagN(rpmdsObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":TagN")) return NULL; return Py_BuildValue("i", rpmdsTagN(s->ds)); @@ -72,6 +87,7 @@ rpmds_TagN(rpmdsObject * s, PyObject * args) static int rpmds_compare(rpmdsObject * a, rpmdsObject * b) + /*@*/ { return rpmdsCompare(a->ds, b->ds); } @@ -79,6 +95,8 @@ rpmds_compare(rpmdsObject * a, rpmdsObject * b) #if Py_TPFLAGS_HAVE_ITER static PyObject * rpmds_Next(rpmdsObject * s) + /*@globals _Py_NoneStruct @*/ + /*@modifies s, _Py_NoneStruct @*/ { PyObject * result = NULL; @@ -105,6 +123,7 @@ rpmds_Next(rpmdsObject * s) static PyObject * rpmds_Iter(rpmdsObject * s) + /*@modifies s @*/ { rpmdsInit(s->ds); Py_INCREF(s); @@ -115,6 +134,7 @@ rpmds_Iter(rpmdsObject * s) #ifdef NOTYET static PyObject * rpmds_Notify(rpmdsObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":Notify")) return NULL; @@ -124,6 +144,7 @@ rpmds_Notify(rpmdsObject * s, PyObject * args) static PyObject * rpmds_Problem(rpmdsObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":Problem")) return NULL; @@ -132,6 +153,8 @@ rpmds_Problem(rpmdsObject * s, PyObject * args) } #endif +/*@-fullinitblock@*/ +/*@unchecked@*/ /*@observer@*/ static struct PyMethodDef rpmds_methods[] = { {"Debug", (PyCFunction)rpmds_Debug, METH_VARARGS, NULL}, @@ -163,11 +186,13 @@ static struct PyMethodDef rpmds_methods[] = { #endif {NULL, NULL} /* sentinel */ }; +/*@=fullinitblock@*/ /* ---------- */ static void rpmds_dealloc(rpmdsObject * s) + /*@modifies s @*/ { if (s) { s->ds = rpmdsFree(s->ds); @@ -176,7 +201,9 @@ rpmds_dealloc(rpmdsObject * s) } static int -rpmds_print(rpmdsObject * s, FILE * fp, int flags) +rpmds_print(rpmdsObject * s, FILE * fp, /*@unused@*/ int flags) + /*@globals fileSystem @*/ + /*@modifies s, fp, fileSystem @*/ { if (!(s && s->ds)) return -1; @@ -189,18 +216,21 @@ rpmds_print(rpmdsObject * s, FILE * fp, int flags) static PyObject * rpmds_getattr(rpmdsObject * s, char * name) + /*@*/ { return Py_FindMethod(rpmds_methods, (PyObject *)s, name); } static int rpmds_length(rpmdsObject * s) + /*@*/ { return rpmdsCount(s->ds); } static PyObject * rpmds_subscript(rpmdsObject * s, PyObject * key) + /*@modifies s @*/ { int ix; @@ -222,9 +252,11 @@ static PyMappingMethods rpmds_as_mapping = { /** */ +/*@unchecked@*/ /*@observer@*/ static char rpmds_doc[] = ""; +/*@-fullinitblock@*/ PyTypeObject rpmds_Type = { PyObject_HEAD_INIT(&PyType_Type) 0, /* ob_size */ @@ -271,6 +303,7 @@ PyTypeObject rpmds_Type = { 0, /* tp_is_gc */ #endif }; +/*@=fullinitblock@*/ /* ---------- */ @@ -290,7 +323,7 @@ rpmds_Wrap(rpmds ds) } rpmdsObject * -rpmds_Single(PyObject * s, PyObject * args) +rpmds_Single(/*@unused@*/ PyObject * s, PyObject * args) { int tagN = RPMTAG_PROVIDENAME; const char * N; @@ -303,7 +336,7 @@ rpmds_Single(PyObject * s, PyObject * args) } rpmdsObject * -hdr_dsFromHeader(PyObject * s, PyObject * args) +hdr_dsFromHeader(/*@unused@*/ PyObject * s, PyObject * args) { hdrObject * ho; int tagN = RPMTAG_REQUIRENAME; @@ -315,7 +348,7 @@ hdr_dsFromHeader(PyObject * s, PyObject * args) } rpmdsObject * -hdr_dsOfHeader(PyObject * s, PyObject * args) +hdr_dsOfHeader(/*@unused@*/ PyObject * s, PyObject * args) { hdrObject * ho; int tagN = RPMTAG_PROVIDENAME; diff --git a/python/rpmds-py.h b/python/rpmds-py.h index edcd7eab1..9a540e14a 100644 --- a/python/rpmds-py.h +++ b/python/rpmds-py.h @@ -16,26 +16,32 @@ typedef struct rpmdsObject_s { /** */ +/*@unchecked@*/ extern PyTypeObject rpmds_Type; /** */ -rpmds dsFromDs(rpmdsObject * ds); +rpmds dsFromDs(rpmdsObject * ds) + /*@*/; /** */ -rpmdsObject * rpmds_Wrap(rpmds ds); +rpmdsObject * rpmds_Wrap(rpmds ds) + /*@*/; /** */ -rpmdsObject * rpmds_Single(PyObject * s, PyObject * args); +rpmdsObject * rpmds_Single(PyObject * s, PyObject * args) + /*@*/; /** */ -rpmdsObject * hdr_dsFromHeader(PyObject * s, PyObject * args); +rpmdsObject * hdr_dsFromHeader(PyObject * s, PyObject * args) + /*@*/; /** */ -rpmdsObject * hdr_dsOfHeader(PyObject * s, PyObject * args); +rpmdsObject * hdr_dsOfHeader(PyObject * s, PyObject * args) + /*@*/; #endif diff --git a/python/rpmfd-py.c b/python/rpmfd-py.c index 3cd9a2a25..9582cdeb5 100644 --- a/python/rpmfd-py.c +++ b/python/rpmfd-py.c @@ -5,6 +5,10 @@ #include "system.h" #include "Python.h" +#ifdef __LCLINT__ +#undef PyObject_HEAD +#define PyObject_HEAD int _PyObjectHead; +#endif #include <glob.h> /* XXX rpmio.h */ #include <dirent.h> /* XXX rpmio.h */ @@ -17,6 +21,8 @@ #include "debug.h" +/*@access FD_t @*/ + extern int _rpmio_debug; /** \ingroup python @@ -26,7 +32,9 @@ extern int _rpmio_debug; */ static PyObject * -rpmfd_Debug(rpmfdObject * s, PyObject * args) +rpmfd_Debug(/*@unused@*/ rpmfdObject * s, PyObject * args) + /*@globals _Py_NoneStruct @*/ + /*@modifies _Py_NoneStruct @*/ { if (!PyArg_ParseTuple(args, "i", &_rpmio_debug)) return NULL; Py_INCREF(Py_None); @@ -57,6 +65,8 @@ static FDlist *fdtail = NULL; /** */ static int closeCallback(FILE * f) + /*@globals fdhead @*/ + /*@modifies fdhead @*/ { FDlist *node, *last; @@ -86,7 +96,9 @@ static int closeCallback(FILE * f) /** */ static PyObject * -rpmfd_Fopen(PyObject * self, PyObject * args) +rpmfd_Fopen(/*@unused@*/ PyObject * self, PyObject * args) + /*@globals fdhead, fdtail @*/ + /*@modifies fdhead, fdtail @*/ { char * path, * mode; FDlist *node; @@ -136,6 +148,8 @@ rpmfd_Fopen(PyObject * self, PyObject * args) /** \ingroup python */ +/*@-fullinitblock@*/ +/*@unchecked@*/ /*@observer@*/ static struct PyMethodDef rpmfd_methods[] = { {"Debug", (PyCFunction)rpmfd_Debug, METH_VARARGS, NULL}, @@ -143,23 +157,27 @@ static struct PyMethodDef rpmfd_methods[] = { NULL}, {NULL, NULL} /* sentinel */ }; +/*@=fullinitblock@*/ /* ---------- */ /** \ingroup python */ static PyObject * rpmfd_getattr(rpmfdObject * o, char * name) + /*@*/ { return Py_FindMethod(rpmfd_methods, (PyObject *) o, name); } /** */ +/*@unchecked@*/ /*@observer@*/ static char rpmfd_doc[] = ""; /** \ingroup python */ +/*@-fullinitblock@*/ PyTypeObject rpmfd_Type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ @@ -205,6 +223,7 @@ PyTypeObject rpmfd_Type = { 0, /* tp_is_gc */ #endif }; +/*@=fullinitblock@*/ rpmfdObject * rpmfd_Wrap(FD_t fd) { diff --git a/python/rpmfd-py.h b/python/rpmfd-py.h index eed1dccc4..5ab81d692 100644 --- a/python/rpmfd-py.h +++ b/python/rpmfd-py.h @@ -10,8 +10,10 @@ typedef struct rpmfdObject_s { FD_t fd; } rpmfdObject; +/*@unchecked@*/ extern PyTypeObject rpmfd_Type; -rpmfdObject * rpmfd_Wrap(FD_t fd); +rpmfdObject * rpmfd_Wrap(FD_t fd) + /*@*/; #endif diff --git a/python/rpmfi-py.c b/python/rpmfi-py.c index 051d2e01e..f2551cb16 100644 --- a/python/rpmfi-py.c +++ b/python/rpmfi-py.c @@ -5,6 +5,10 @@ #include "system.h" #include "Python.h" +#ifdef __LCLINT__ +#undef PyObject_HEAD +#define PyObject_HEAD int _PyObjectHead; +#endif #include <rpmlib.h> @@ -13,8 +17,12 @@ #include "debug.h" +/*@access rpmfi @*/ + static PyObject * -rpmfi_Debug(rpmfiObject * s, PyObject * args) +rpmfi_Debug(/*@unused@*/ rpmfiObject * s, PyObject * args) + /*@globals _Py_NoneStruct @*/ + /*@modifies _Py_NoneStruct @*/ { if (!PyArg_ParseTuple(args, "i", &_rpmfi_debug)) return NULL; Py_INCREF(Py_None); @@ -23,6 +31,7 @@ rpmfi_Debug(rpmfiObject * s, PyObject * args) static PyObject * rpmfi_FC(rpmfiObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":FC")) return NULL; return Py_BuildValue("i", rpmfiFC(s->fi)); @@ -30,6 +39,7 @@ rpmfi_FC(rpmfiObject * s, PyObject * args) static PyObject * rpmfi_FX(rpmfiObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":FX")) return NULL; return Py_BuildValue("i", rpmfiFX(s->fi)); @@ -37,6 +47,7 @@ rpmfi_FX(rpmfiObject * s, PyObject * args) static PyObject * rpmfi_DC(rpmfiObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":DC")) return NULL; return Py_BuildValue("i", rpmfiDC(s->fi)); @@ -44,6 +55,7 @@ rpmfi_DC(rpmfiObject * s, PyObject * args) static PyObject * rpmfi_DX(rpmfiObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":DX")) return NULL; return Py_BuildValue("i", rpmfiDX(s->fi)); @@ -51,6 +63,7 @@ rpmfi_DX(rpmfiObject * s, PyObject * args) static PyObject * rpmfi_BN(rpmfiObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":BN")) return NULL; return Py_BuildValue("s", xstrdup(rpmfiBN(s->fi))); @@ -58,6 +71,7 @@ rpmfi_BN(rpmfiObject * s, PyObject * args) static PyObject * rpmfi_DN(rpmfiObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":DN")) return NULL; return Py_BuildValue("s", xstrdup(rpmfiDN(s->fi))); @@ -65,6 +79,7 @@ rpmfi_DN(rpmfiObject * s, PyObject * args) static PyObject * rpmfi_FN(rpmfiObject * s, PyObject * args) + /*@modifies s @*/ { if (!PyArg_ParseTuple(args, ":FN")) return NULL; return Py_BuildValue("s", xstrdup(rpmfiFN(s->fi))); @@ -72,6 +87,7 @@ rpmfi_FN(rpmfiObject * s, PyObject * args) static PyObject * rpmfi_FFlags(rpmfiObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":FFlags")) return NULL; return Py_BuildValue("i", rpmfiFFlags(s->fi)); @@ -79,6 +95,7 @@ rpmfi_FFlags(rpmfiObject * s, PyObject * args) static PyObject * rpmfi_VFlags(rpmfiObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":VFlags")) return NULL; return Py_BuildValue("i", rpmfiVFlags(s->fi)); @@ -86,6 +103,7 @@ rpmfi_VFlags(rpmfiObject * s, PyObject * args) static PyObject * rpmfi_FMode(rpmfiObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":FMode")) return NULL; return Py_BuildValue("i", rpmfiFMode(s->fi)); @@ -93,6 +111,7 @@ rpmfi_FMode(rpmfiObject * s, PyObject * args) static PyObject * rpmfi_FState(rpmfiObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":FState")) return NULL; return Py_BuildValue("i", rpmfiFState(s->fi)); @@ -101,6 +120,7 @@ rpmfi_FState(rpmfiObject * s, PyObject * args) /* XXX rpmfiMD5 */ static PyObject * rpmfi_MD5(rpmfiObject * s, PyObject * args) + /*@*/ { const unsigned char * md5; char fmd5[33]; @@ -117,6 +137,7 @@ rpmfi_MD5(rpmfiObject * s, PyObject * args) static PyObject * rpmfi_FLink(rpmfiObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":FLink")) return NULL; return Py_BuildValue("s", xstrdup(rpmfiFLink(s->fi))); @@ -124,6 +145,7 @@ rpmfi_FLink(rpmfiObject * s, PyObject * args) static PyObject * rpmfi_FSize(rpmfiObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":FSize")) return NULL; return Py_BuildValue("i", rpmfiFSize(s->fi)); @@ -131,6 +153,7 @@ rpmfi_FSize(rpmfiObject * s, PyObject * args) static PyObject * rpmfi_FRdev(rpmfiObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":FRdev")) return NULL; return Py_BuildValue("i", rpmfiFRdev(s->fi)); @@ -138,6 +161,7 @@ rpmfi_FRdev(rpmfiObject * s, PyObject * args) static PyObject * rpmfi_FMtime(rpmfiObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":FMtime")) return NULL; return Py_BuildValue("i", rpmfiFMtime(s->fi)); @@ -145,6 +169,7 @@ rpmfi_FMtime(rpmfiObject * s, PyObject * args) static PyObject * rpmfi_FUser(rpmfiObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":FUser")) return NULL; return Py_BuildValue("s", xstrdup(rpmfiFUser(s->fi))); @@ -152,6 +177,7 @@ rpmfi_FUser(rpmfiObject * s, PyObject * args) static PyObject * rpmfi_FGroup(rpmfiObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":FGroup")) return NULL; return Py_BuildValue("s", xstrdup(rpmfiFGroup(s->fi))); @@ -159,7 +185,8 @@ rpmfi_FGroup(rpmfiObject * s, PyObject * args) #if Py_TPFLAGS_HAVE_ITER static PyObject * -rpmfi_Next(rpmfiObject * s, PyObject * args) +rpmfi_Next(rpmfiObject * s, /*@unused@*/ PyObject * args) + /*@modifies s @*/ { PyObject * result = NULL; @@ -183,7 +210,8 @@ rpmfi_Next(rpmfiObject * s, PyObject * args) } static PyObject * -rpmfi_Iter(rpmfiObject * s, PyObject * args) +rpmfi_Iter(rpmfiObject * s, /*@unused@*/ PyObject * args) + /*@modifies s @*/ { rpmfiInit(s->fi, 0); Py_INCREF(s); @@ -194,6 +222,7 @@ rpmfi_Iter(rpmfiObject * s, PyObject * args) #ifdef NOTYET static PyObject * rpmfi_NextD(rpmfiObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":NextD")) return NULL; @@ -203,6 +232,7 @@ rpmfi_NextD(rpmfiObject * s, PyObject * args) static PyObject * rpmfi_InitD(rpmfiObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":InitD")) return NULL; @@ -211,6 +241,8 @@ rpmfi_InitD(rpmfiObject * s, PyObject * args) } #endif +/*@-fullinitblock@*/ +/*@unchecked@*/ /*@observer@*/ static struct PyMethodDef rpmfi_methods[] = { {"Debug", (PyCFunction)rpmfi_Debug, METH_VARARGS, NULL}, @@ -264,11 +296,13 @@ static struct PyMethodDef rpmfi_methods[] = { #endif {NULL, NULL} /* sentinel */ }; +/*@=fullinitblock@*/ /* ---------- */ static void -rpmfi_dealloc(rpmfiObject * s) +rpmfi_dealloc(/*@only@*/ /*@null@*/ rpmfiObject * s) + /*@modifies s @*/ { if (s) { s->fi = rpmfiFree(s->fi, 1); @@ -277,7 +311,9 @@ rpmfi_dealloc(rpmfiObject * s) } static int -rpmfi_print(rpmfiObject * s, FILE * fp, int flags) +rpmfi_print(rpmfiObject * s, FILE * fp, /*@unused@*/ int flags) + /*@globals fileSystem @*/ + /*@modifies s, fp, fileSystem @*/ { if (!(s && s->fi)) return -1; @@ -290,18 +326,21 @@ rpmfi_print(rpmfiObject * s, FILE * fp, int flags) static PyObject * rpmfi_getattr(rpmfiObject * s, char * name) + /*@*/ { return Py_FindMethod(rpmfi_methods, (PyObject *)s, name); } static int rpmfi_length(rpmfiObject * s) + /*@*/ { return rpmfiFC(s->fi); } static PyObject * rpmfi_subscript(rpmfiObject * s, PyObject * key) + /*@modifies s @*/ { int ix; @@ -315,6 +354,7 @@ rpmfi_subscript(rpmfiObject * s, PyObject * key) return Py_BuildValue("s", xstrdup(rpmfiFN(s->fi))); } +/*@unchecked@*/ /*@observer@*/ static PyMappingMethods rpmfi_as_mapping = { (inquiry) rpmfi_length, /* mp_length */ (binaryfunc) rpmfi_subscript, /* mp_subscript */ @@ -323,9 +363,11 @@ static PyMappingMethods rpmfi_as_mapping = { /** */ +/*@unchecked@*/ /*@observer@*/ static char rpmfi_doc[] = ""; +/*@-fullinitblock@*/ PyTypeObject rpmfi_Type = { PyObject_HEAD_INIT(&PyType_Type) 0, /* ob_size */ @@ -372,6 +414,7 @@ PyTypeObject rpmfi_Type = { 0, /* tp_is_gc */ #endif }; +/*@=fullinitblock@*/ /* ---------- */ @@ -391,7 +434,7 @@ rpmfi_Wrap(rpmfi fi) } rpmfiObject * -hdr_fiFromHeader(PyObject * s, PyObject * args) +hdr_fiFromHeader(/*@unused@*/ PyObject * s, PyObject * args) { hdrObject * ho; diff --git a/python/rpmfi-py.h b/python/rpmfi-py.h index 8b1c9e23f..b8dd4adc6 100644 --- a/python/rpmfi-py.h +++ b/python/rpmfi-py.h @@ -12,12 +12,16 @@ typedef struct rpmfiObject_s { rpmfi fi; } rpmfiObject; +/*@unchecked@*/ extern PyTypeObject rpmfi_Type; -rpmfi fiFromFi(rpmfiObject * fi); +rpmfi fiFromFi(rpmfiObject * fi) + /*@*/; -rpmfiObject * rpmfi_Wrap(rpmfi fi); +rpmfiObject * rpmfi_Wrap(rpmfi fi) + /*@*/; -rpmfiObject * hdr_fiFromHeader(PyObject * s, PyObject * args); +rpmfiObject * hdr_fiFromHeader(PyObject * s, PyObject * args) + /*@*/; #endif diff --git a/python/rpmmi-py.c b/python/rpmmi-py.c index 2d0485433..7345ed8bb 100644 --- a/python/rpmmi-py.c +++ b/python/rpmmi-py.c @@ -5,6 +5,11 @@ #include "system.h" #include "Python.h" +#ifdef __LCLINT__ +#undef PyObject_HEAD +#define PyObject_HEAD int _PyObjectHead; +#endif + #include <rpmlib.h> #include "rpmdb-py.h" @@ -80,6 +85,7 @@ #if Py_TPFLAGS_HAVE_ITER static PyObject * rpmmi_Iter(rpmmiObject * s) + /*@*/ { assert(s->mi); Py_INCREF(s); @@ -90,6 +96,8 @@ assert(s->mi); */ static PyObject * rpmmi_Next(rpmmiObject * s) + /*@globals _Py_NoneStruct @*/ + /*@modifies s, _Py_NoneStruct @*/ { Header h; @@ -106,6 +114,8 @@ rpmmi_Next(rpmmiObject * s) */ static PyObject * rpmmi_Pattern(rpmmiObject * s, PyObject * args) + /*@globals _Py_NoneStruct @*/ + /*@modifies s, _Py_NoneStruct @*/ { PyObject *TagN = NULL; int type; @@ -129,6 +139,8 @@ rpmmi_Pattern(rpmmiObject * s, PyObject * args) /** \ingroup python */ +/*@-fullinitblock@*/ +/*@unchecked@*/ /*@observer@*/ static struct PyMethodDef rpmmi_methods[] = { #if Py_TPFLAGS_HAVE_ITER {"iter", (PyCFunction) rpmmi_Iter, METH_VARARGS, @@ -142,10 +154,12 @@ static struct PyMethodDef rpmmi_methods[] = { - Set a secondary match pattern on tags from retrieved header.\n" }, {NULL, NULL} /* sentinel */ }; +/*@=fullinitblock@*/ /** \ingroup python */ -static void rpmmi_dealloc(rpmmiObject * s) +static void rpmmi_dealloc(/*@only@*/ /*@null@*/ rpmmiObject * s) + /*@modifies s @*/ { if (s) { if (s->mi) s->mi = rpmdbFreeIterator(s->mi); @@ -156,17 +170,20 @@ static void rpmmi_dealloc(rpmmiObject * s) /** \ingroup python */ static PyObject * rpmmi_getattr (rpmdbObject *s, char *name) + /*@*/ { return Py_FindMethod (rpmmi_methods, (PyObject *) s, name); } /** */ +/*@unchecked@*/ /*@observer@*/ static char rpmmi_doc[] = ""; /** \ingroup python */ +/*@-fullinitblock@*/ PyTypeObject rpmmi_Type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ @@ -212,6 +229,7 @@ PyTypeObject rpmmi_Type = { 0, /* tp_is_gc */ #endif }; +/*@=fullinitblock@*/ rpmmiObject * rpmmi_Wrap(rpmdbMatchIterator mi) { diff --git a/python/rpmmi-py.h b/python/rpmmi-py.h index 9afd3554a..68bed7bb9 100644 --- a/python/rpmmi-py.h +++ b/python/rpmmi-py.h @@ -12,12 +12,15 @@ typedef struct rpmmiObject_s rpmmiObject; /** \ingroup python */ struct rpmmiObject_s { - PyObject_HEAD; + PyObject_HEAD rpmdbMatchIterator mi; } ; +/*@unchecked@*/ extern PyTypeObject rpmmi_Type; -rpmmiObject * rpmmi_Wrap(rpmdbMatchIterator mi); +rpmmiObject * rpmmi_Wrap(rpmdbMatchIterator mi) + /*@globals _Py_NoneStruct @*/ + /*@modifies mi, _Py_NoneStruct @*/; #endif diff --git a/python/rpmmodule.c b/python/rpmmodule.c index a3827d131..49b5c42e3 100644 --- a/python/rpmmodule.c +++ b/python/rpmmodule.c @@ -5,6 +5,11 @@ #include "system.h" #include "Python.h" +#ifdef __LCLINT__ +#undef PyObject_HEAD +#define PyObject_HEAD int _PyObjectHead; +#endif + #include "rpmcli.h" /* XXX for rpmCheckSig */ #include "legacy.h" diff --git a/python/rpmrc-py.c b/python/rpmrc-py.c index b9bff7a3d..ad1292db9 100644 --- a/python/rpmrc-py.c +++ b/python/rpmrc-py.c @@ -5,7 +5,14 @@ #include "system.h" #include "Python.h" +#ifdef __LCLINT__ +#undef PyObject_HEAD +#define PyObject_HEAD int _PyObjectHead; +#endif + #include "structmember.h" + +/*@unchecked@*/ extern PyTypeObject PyDictIter_Type; #include <rpmcli.h> @@ -23,6 +30,7 @@ extern PyTypeObject PyDictIter_Type; #include "debug.h" +/*@unchecked@*/ static int _rc_debug = 0; /** \ingroup python @@ -38,6 +46,7 @@ static int _rc_debug = 0; /** */ static const char * lbl(void * s) + /*@*/ { PyObject * o = s; @@ -78,7 +87,7 @@ static const char * lbl(void * s) /** */ -PyObject * rpmrc_AddMacro(PyObject * self, PyObject * args) +PyObject * rpmrc_AddMacro(/*@unused@*/ PyObject * self, PyObject * args) { char * name, * val; @@ -93,7 +102,7 @@ PyObject * rpmrc_AddMacro(PyObject * self, PyObject * args) /** */ -PyObject * rpmrc_DelMacro(PyObject * self, PyObject * args) +PyObject * rpmrc_DelMacro(/*@unused@*/ PyObject * self, PyObject * args) { char * name; @@ -110,6 +119,7 @@ PyObject * rpmrc_DelMacro(PyObject * self, PyObject * args) */ static PyObject * rpmrc_getstate(rpmrcObject *s, PyObject *args) + /*@*/ { if (!PyArg_ParseTuple(args, ":getstate")) return NULL; @@ -120,6 +130,8 @@ rpmrc_getstate(rpmrcObject *s, PyObject *args) */ static PyObject * rpmrc_setstate(rpmrcObject *s, PyObject *args) + /*@globals _Py_NoneStruct @*/ + /*@modifies s, _Py_NoneStruct @*/ { int state; @@ -133,6 +145,7 @@ rpmrc_setstate(rpmrcObject *s, PyObject *args) /** */ static void rpmrc_dealloc(PyObject * s) + /*@*/ { if (_rc_debug) fprintf(stderr, "*** rpmrc_dealloc(%p[%s])\n", s, lbl(s)); @@ -142,15 +155,19 @@ fprintf(stderr, "*** rpmrc_dealloc(%p[%s])\n", s, lbl(s)); /** */ static int rpmrc_print(PyObject * s, FILE *fp, int flags) + /*@*/ { +/*@-formattype@*/ if (_rc_debug) fprintf(stderr, "*** rpmrc_print(%p[%s],%p,%x)\n", s, lbl(s), fp, flags); +/*@=formattype@*/ return PyDict_Type.tp_print(s, fp, flags); } /** */ static int rpmrc_compare(PyObject * a, PyObject * b) + /*@*/ { if (_rc_debug) fprintf(stderr, "*** rpmrc_compare(%p[%s],%p[%s])\n", a, lbl(a), b, lbl(b)); @@ -160,6 +177,7 @@ fprintf(stderr, "*** rpmrc_compare(%p[%s],%p[%s])\n", a, lbl(a), b, lbl(b)); /** */ static PyObject * rpmrc_repr(PyObject * s) + /*@*/ { if (_rc_debug) fprintf(stderr, "*** rpmrc_repr(%p[%s])\n", s, lbl(s)); @@ -169,6 +187,7 @@ fprintf(stderr, "*** rpmrc_repr(%p[%s])\n", s, lbl(s)); /** */ static long rpmrc_hash(PyObject * s) + /*@*/ { /* XXX dict objects are unhashable */ if (_rc_debug) @@ -180,6 +199,7 @@ fprintf(stderr, "*** rpmrc_hash(%p[%s])\n", s, lbl(s)); */ static int rpmrc_length(PyObject * s) + /*@*/ { if (_rc_debug) fprintf(stderr, "*** rpmrc_length(%p[%s])\n", s, lbl(s)); @@ -190,6 +210,7 @@ fprintf(stderr, "*** rpmrc_length(%p[%s])\n", s, lbl(s)); */ static PyObject * rpmrc_subscript(PyObject * s, PyObject * key) + /*@*/ { if (_rc_debug) fprintf(stderr, "*** rpmrc_subscript(%p[%s], %p[%s])\n", s, lbl(s), key, lbl(key)); @@ -200,12 +221,14 @@ fprintf(stderr, "*** rpmrc_subscript(%p[%s], %p[%s])\n", s, lbl(s), key, lbl(key */ static int rpmrc_ass_subscript(PyObject * s, PyObject * key, PyObject * value) + /*@*/ { if (_rc_debug) fprintf(stderr, "*** rpmrc_ass_subscript(%p[%s], %p[%s], %p[%s])\n", s, lbl(s), key, lbl(key), value, lbl(value)); return PyDict_Type.tp_as_mapping->mp_ass_subscript(s, key, value); } +/*@unchecked@*/ /*@observer@*/ static PyMappingMethods rpmrc_as_mapping = { rpmrc_length, /* mp_length */ rpmrc_subscript, /* mp_subscript */ @@ -215,6 +238,7 @@ static PyMappingMethods rpmrc_as_mapping = { /** */ static PyObject * rpmrc_getattro (PyObject *s, PyObject *name) + /*@*/ { if (_rc_debug) fprintf(stderr, "*** rpmrc_getattro(%p[%s], \"%s\")\n", s, lbl(s), PyString_AS_STRING(name)); @@ -224,6 +248,7 @@ fprintf(stderr, "*** rpmrc_getattro(%p[%s], \"%s\")\n", s, lbl(s), PyString_AS_S /** */ static int rpmrc_setattro (PyObject *s, PyObject *name, PyObject * value) + /*@*/ { if (_rc_debug) fprintf(stderr, "*** rpmrc_setattro(%p[%s], \"%s \", \"%s\")\n", s, lbl(s), PyString_AS_STRING(name), PyString_AS_STRING(value)); @@ -232,12 +257,14 @@ fprintf(stderr, "*** rpmrc_setattro(%p[%s], \"%s \", \"%s\")\n", s, lbl(s), PySt /** */ +/*@unchecked@*/ /*@observer@*/ static char rpmrc_doc[] = ""; /** */ static int rpmrc_traverse(PyObject * s, visitproc visit, void *arg) + /*@*/ { if (_rc_debug) fprintf(stderr, "*** rpmrc_traverse(%p[%s],%p,%p)\n", s, lbl(s), visit, arg); @@ -247,6 +274,7 @@ fprintf(stderr, "*** rpmrc_traverse(%p[%s],%p,%p)\n", s, lbl(s), visit, arg); /** */ static int rpmrc_clear(PyObject * s) + /*@*/ { if (_rc_debug) fprintf(stderr, "*** rpmrc_clear(%p[%s])\n", s, lbl(s)); @@ -256,6 +284,7 @@ fprintf(stderr, "*** rpmrc_clear(%p[%s])\n", s, lbl(s)); /** */ static PyObject * rpmrc_richcompare(PyObject * v, PyObject * w, int op) + /*@*/ { if (_rc_debug) fprintf(stderr, "*** rpmrc_richcompare(%p[%s],%p[%s],%x)\n", v, lbl(v), w, lbl(w), op); @@ -265,6 +294,7 @@ fprintf(stderr, "*** rpmrc_richcompare(%p[%s],%p[%s],%x)\n", v, lbl(v), w, lbl(w /** */ static PyObject * rpmrc_iter(PyObject * s) + /*@*/ { if (_rc_debug) fprintf(stderr, "*** rpmrc_iter(%p[%s])\n", s, lbl(s)); @@ -276,6 +306,7 @@ fprintf(stderr, "*** rpmrc_iter(%p[%s])\n", s, lbl(s)); /** */ static PyObject * rpmrc_iternext(PyObject * s) + /*@*/ { if (_rc_debug) fprintf(stderr, "*** rpmrc_iternext(%p[%s])\n", s, lbl(s)); @@ -287,6 +318,7 @@ fprintf(stderr, "*** rpmrc_iternext(%p[%s])\n", s, lbl(s)); /** */ static PyObject * rpmrc_next(PyObject * s, PyObject *args) + /*@*/ { if (_rc_debug) fprintf(stderr, "*** rpmrc_next(%p[%s],%p)\n", s, lbl(s), args); @@ -295,15 +327,19 @@ fprintf(stderr, "*** rpmrc_next(%p[%s],%p)\n", s, lbl(s), args); return NULL; } +/*@-fullinitblock@*/ +/*@unchecked@*/ /*@observer@*/ static PyMemberDef rpmrc_members[] = { {"state", T_INT, offsetof(rpmrcObject, state), READONLY, "an int variable for demonstration purposes"}, {0} }; +/*@=fullinitblock@*/ /** \ingroup python */ static int rpmrc_init(PyObject * s, PyObject *args, PyObject *kwds) + /*@*/ { if (_rc_debug) fprintf(stderr, "*** rpmrc_init(%p[%s],%p,%p)\n", s, lbl(s), args, kwds); @@ -316,6 +352,7 @@ fprintf(stderr, "*** rpmrc_init(%p[%s],%p,%p)\n", s, lbl(s), args, kwds); /** \ingroup python */ static void rpmrc_free(PyObject * s) + /*@*/ { if (_rc_debug) fprintf(stderr, "*** rpmrc_free(%p[%s])\n", s, lbl(s)); @@ -325,6 +362,7 @@ fprintf(stderr, "*** rpmrc_free(%p[%s])\n", s, lbl(s)); /** \ingroup python */ static PyObject * rpmrc_alloc(PyTypeObject * subtype, int nitems) + /*@*/ { PyObject * ns = PyType_GenericAlloc(subtype, nitems); @@ -336,6 +374,7 @@ fprintf(stderr, "*** rpmrc_alloc(%p[%s},%d) ret %p[%s]\n", subtype, lbl(subtype) /** \ingroup python */ static PyObject * rpmrc_new(PyTypeObject * subtype, PyObject *args, PyObject *kwds) + /*@*/ { PyObject * ns; @@ -355,6 +394,8 @@ fprintf(stderr, "*** rpmrc_new(%p[%s],%p,%p) ret %p[%s]\n", subtype, lbl(subtype /** */ +/*@-fullinitblock@*/ +/*@unchecked@*/ /*@observer@*/ static struct PyMethodDef rpmrc_methods[] = { { "addMacro", (PyCFunction) rpmrc_AddMacro, METH_VARARGS, NULL }, @@ -368,9 +409,11 @@ static struct PyMethodDef rpmrc_methods[] = { "next() -- get the next value, or raise StopIteration"}, {NULL, NULL} /* sentinel */ }; +/*@=fullinitblock@*/ /** \ingroup python */ +/*@-fullinitblock@*/ PyTypeObject rpmrc_Type = { PyObject_HEAD_INIT(&PyType_Type) 0, /* ob_size */ @@ -416,8 +459,9 @@ PyTypeObject rpmrc_Type = { 0, /* tp_is_gc */ #endif }; +/*@=fullinitblock@*/ -PyObject * rpmrc_Create(PyObject * self, PyObject *args, PyObject *kwds) +PyObject * rpmrc_Create(/*@unused@*/ PyObject * self, PyObject *args, PyObject *kwds) { return rpmrc_new(&rpmrc_Type, args, kwds); } diff --git a/python/rpmrc-py.h b/python/rpmrc-py.h index 649a52eda..92e95ac71 100644 --- a/python/rpmrc-py.h +++ b/python/rpmrc-py.h @@ -16,11 +16,17 @@ struct rpmrcObject_s { int state; } ; +/*@unchecked@*/ extern PyTypeObject rpmrc_Type; -PyObject * rpmrc_AddMacro(PyObject * self, PyObject * args); -PyObject * rpmrc_DelMacro(PyObject * self, PyObject * args); +PyObject * rpmrc_AddMacro(PyObject * self, PyObject * args) + /*@globals rpmGlobalMacroContext, _Py_NoneStruct @*/ + /*@modifies rpmGlobalMacroContext, _Py_NoneStruct @*/; +PyObject * rpmrc_DelMacro(PyObject * self, PyObject * args) + /*@globals rpmGlobalMacroContext, _Py_NoneStruct @*/ + /*@modifies rpmGlobalMacroContext, _Py_NoneStruct @*/; -PyObject * rpmrc_Create(PyObject * self, PyObject * args, PyObject * kwds); +PyObject * rpmrc_Create(PyObject * self, PyObject * args, PyObject * kwds) + /*@*/; #endif diff --git a/python/rpmte-py.c b/python/rpmte-py.c index b3bd7d87e..87eb54a81 100644 --- a/python/rpmte-py.c +++ b/python/rpmte-py.c @@ -5,6 +5,10 @@ #include "system.h" #include "Python.h" +#ifdef __LCLINT__ +#undef PyObject_HEAD +#define PyObject_HEAD int _PyObjectHead; +#endif #include <rpmlib.h> @@ -19,10 +23,35 @@ * \name Class: Rpmte * \class Rpmte * \brief An python rpm.te object represents an element of a transaction set. + * + * Elements of a transaction set are accessible after being added. Each + * element carries descriptive information about the added element as well + * as a file info set and dependency sets for each of the 4 typeof dependency. + * + * The rpmte class contains the following methods: + * + * - te.N() Return package name. + * - te.E() Return package epoch. + * - te.V() Return package version. + * - te.R() Return package release. + * - te.A() Return package architecture. + * - te.O() Return package operating system. + * - te.NEVR() Return package name-version-release. + * - te.Mutilib() Return package multilib attribute. + * - te.Depth() Return the level in the dependency tree (after ordering). + * - te.Npreds() Return the number of package prerequisites (after ordering). + * - te.Degree() Return the parent's degree + 1. + * - te.AddedKey() Return the packages associated key. + * - te.DS(tag) Return package dependency set. + * @param tag 'Providename', 'Requirename', 'Obsoletename', 'Conflictname' + * - te.FI(tag) Return package file info set. + * @param tag 'Basenames' */ static PyObject * -rpmte_Debug(rpmteObject * s, PyObject * args) +rpmte_Debug(/*@unused@*/ rpmteObject * s, /*@unused@*/ PyObject * args) + /*@globals _Py_NoneStruct @*/ + /*@modifies _Py_NoneStruct @*/ { if (!PyArg_ParseTuple(args, "i", &_rpmte_debug)) return NULL; Py_INCREF(Py_None); @@ -31,6 +60,7 @@ rpmte_Debug(rpmteObject * s, PyObject * args) static PyObject * rpmte_N(rpmteObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":N")) return NULL; return Py_BuildValue("s", rpmteN(s->te)); @@ -38,6 +68,7 @@ rpmte_N(rpmteObject * s, PyObject * args) static PyObject * rpmte_E(rpmteObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":E")) return NULL; return Py_BuildValue("s", rpmteE(s->te)); @@ -45,6 +76,7 @@ rpmte_E(rpmteObject * s, PyObject * args) static PyObject * rpmte_V(rpmteObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":V")) return NULL; return Py_BuildValue("s", rpmteV(s->te)); @@ -52,6 +84,7 @@ rpmte_V(rpmteObject * s, PyObject * args) static PyObject * rpmte_R(rpmteObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":R")) return NULL; return Py_BuildValue("s", rpmteR(s->te)); @@ -59,6 +92,7 @@ rpmte_R(rpmteObject * s, PyObject * args) static PyObject * rpmte_A(rpmteObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":A")) return NULL; return Py_BuildValue("s", rpmteA(s->te)); @@ -66,6 +100,7 @@ rpmte_A(rpmteObject * s, PyObject * args) static PyObject * rpmte_O(rpmteObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":O")) return NULL; return Py_BuildValue("s", rpmteO(s->te)); @@ -73,6 +108,7 @@ rpmte_O(rpmteObject * s, PyObject * args) static PyObject * rpmte_NEVR(rpmteObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":NEVR")) return NULL; return Py_BuildValue("s", rpmteNEVR(s->te)); @@ -80,6 +116,7 @@ rpmte_NEVR(rpmteObject * s, PyObject * args) static PyObject * rpmte_MultiLib(rpmteObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":MultiLib")) return NULL; return Py_BuildValue("i", rpmteMultiLib(s->te)); @@ -87,6 +124,7 @@ rpmte_MultiLib(rpmteObject * s, PyObject * args) static PyObject * rpmte_Depth(rpmteObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":Depth")) return NULL; return Py_BuildValue("i", rpmteDepth(s->te)); @@ -94,6 +132,7 @@ rpmte_Depth(rpmteObject * s, PyObject * args) static PyObject * rpmte_Npreds(rpmteObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":Npreds")) return NULL; return Py_BuildValue("i", rpmteNpreds(s->te)); @@ -101,6 +140,7 @@ rpmte_Npreds(rpmteObject * s, PyObject * args) static PyObject * rpmte_Degree(rpmteObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":Degree")) return NULL; return Py_BuildValue("i", rpmteDegree(s->te)); @@ -108,6 +148,7 @@ rpmte_Degree(rpmteObject * s, PyObject * args) static PyObject * rpmte_AddedKey(rpmteObject * s, PyObject * args) + /*@*/ { if (!PyArg_ParseTuple(args, ":Degree")) return NULL; return Py_BuildValue("i", rpmteDegree(s->te)); @@ -115,6 +156,7 @@ rpmte_AddedKey(rpmteObject * s, PyObject * args) static PyObject * rpmte_DS(rpmteObject * s, PyObject * args) + /*@*/ { PyObject * TagN = NULL; rpmds ds; @@ -130,14 +172,20 @@ rpmte_DS(rpmteObject * s, PyObject * args) ds = rpmteDS(s->te, tag); if (ds == NULL) { +#ifdef DYING PyErr_SetString(PyExc_TypeError, "invalid ds tag"); return NULL; +#else + Py_INCREF(Py_None); + return Py_None; +#endif } - return (PyObject *) rpmds_Wrap(ds); + return (PyObject *) rpmds_Wrap(rpmdsLink(ds, "rpmte_DS")); } static PyObject * rpmte_FI(rpmteObject * s, PyObject * args) + /*@*/ { PyObject * TagN = NULL; rpmfi fi; @@ -153,31 +201,45 @@ rpmte_FI(rpmteObject * s, PyObject * args) fi = rpmteFI(s->te, tag); if (fi == NULL) { +#ifdef DYING PyErr_SetString(PyExc_TypeError, "invalid fi tag"); return NULL; +#else + Py_INCREF(Py_None); + return Py_None; +#endif } - return (PyObject *) rpmfi_Wrap(fi); + return (PyObject *) rpmfi_Wrap(rpmfiLink(fi, "rpmte_FI")); } /** \ingroup python */ +/*@-fullinitblock@*/ +/*@unchecked@*/ /*@observer@*/ static struct PyMethodDef rpmte_methods[] = { {"Debug", (PyCFunction)rpmte_Debug, METH_VARARGS, NULL}, {"N", (PyCFunction)rpmte_N, METH_VARARGS, - NULL}, +"te.N() -> N\n\ +- Return element name.\n" }, {"E", (PyCFunction)rpmte_E, METH_VARARGS, - NULL}, +"te.E() -> E\n\ +- Return element epoch.\n" }, {"V", (PyCFunction)rpmte_V, METH_VARARGS, - NULL}, +"te.V() -> V\n\ +- Return element version.\n" }, {"R", (PyCFunction)rpmte_R, METH_VARARGS, - NULL}, +"te.R() -> R\n\ +- Return element release.\n" }, {"A", (PyCFunction)rpmte_A, METH_VARARGS, - NULL}, +"te.A() -> A\n\ +- Return element arch.\n" }, {"O", (PyCFunction)rpmte_O, METH_VARARGS, - NULL}, +"te.O() -> O\n\ +- Return element os.\n" }, {"NEVR", (PyCFunction)rpmte_NEVR, METH_VARARGS, - NULL}, +"te.NEVR() -> NEVR\n\ +- Return element name-version-release.\n" }, {"MultiLib",(PyCFunction)rpmte_MultiLib, METH_VARARGS, NULL}, {"Depth", (PyCFunction)rpmte_Depth, METH_VARARGS, @@ -189,28 +251,35 @@ static struct PyMethodDef rpmte_methods[] = { {"AddedKey",(PyCFunction)rpmte_AddedKey, METH_VARARGS, NULL}, {"DS", (PyCFunction)rpmte_DS, METH_VARARGS, - NULL}, +"te.DS(TagN) -> DS\n\ +- Return the TagN dependency set (or None). TagN is one of\n\ + 'Providename', 'Requirename', 'Obsoletename', 'Conflictname'\n" }, {"FI", (PyCFunction)rpmte_FI, METH_VARARGS, - NULL}, +"te.FI(TagN) -> FI\n\ +- Return the TagN dependency set (or None). TagN must be 'Basenames'.\n" }, {NULL, NULL} /* sentinel */ }; +/*@=fullinitblock@*/ /* ---------- */ /** \ingroup python */ static PyObject * rpmte_getattr(rpmteObject * o, char * name) + /*@*/ { return Py_FindMethod(rpmte_methods, (PyObject *) o, name); } /** */ +/*@unchecked@*/ /*@observer@*/ static char rpmte_doc[] = ""; /** \ingroup python */ +/*@-fullinitblock@*/ PyTypeObject rpmte_Type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ @@ -256,6 +325,7 @@ PyTypeObject rpmte_Type = { 0, /* tp_is_gc */ #endif }; +/*@=fullinitblock@*/ rpmteObject * rpmte_Wrap(rpmte te) { diff --git a/python/rpmte-py.h b/python/rpmte-py.h index 4126a66e9..18b626704 100644 --- a/python/rpmte-py.h +++ b/python/rpmte-py.h @@ -12,8 +12,10 @@ typedef struct rpmteObject_s { rpmte te; } rpmteObject; +/*@unchecked@*/ extern PyTypeObject rpmte_Type; -rpmteObject * rpmte_Wrap(rpmte te); +rpmteObject * rpmte_Wrap(rpmte te) + /*@*/; #endif diff --git a/python/rpmts-py.c b/python/rpmts-py.c index 84c0f3f83..2e0e72de3 100644 --- a/python/rpmts-py.c +++ b/python/rpmts-py.c @@ -5,6 +5,10 @@ #include "system.h" #include "Python.h" +#ifdef __LCLINT__ +#undef PyObject_HEAD +#define PyObject_HEAD int _PyObjectHead; +#endif #include <rpmlib.h> @@ -20,6 +24,8 @@ #include "debug.h" +/*@access alKey @*/ + /** \ingroup python * \name Class: Rpmts * \class Rpmts @@ -146,6 +152,8 @@ static void rpmtsAddAvailableElement(rpmts ts, Header h, */ static PyObject * rpmts_AddInstall(rpmtsObject * s, PyObject * args) + /*@globals _Py_NoneStruct @*/ + /*@modifies s, _Py_NoneStruct @*/ { hdrObject * h; PyObject * key; @@ -188,6 +196,8 @@ rpmts_AddInstall(rpmtsObject * s, PyObject * args) */ static PyObject * rpmts_AddErase(rpmtsObject * s, PyObject * args) + /*@globals _Py_NoneStruct @*/ + /*@modifies s, _Py_NoneStruct @*/ { char * name; int count; @@ -221,6 +231,8 @@ rpmts_AddErase(rpmtsObject * s, PyObject * args) */ static PyObject * rpmts_Check(rpmtsObject * s, PyObject * args) + /*@globals _Py_NoneStruct @*/ + /*@modifies s, _Py_NoneStruct @*/ { rpmps ps; rpmProblem p; @@ -306,6 +318,8 @@ rpmts_Check(rpmtsObject * s, PyObject * args) */ static PyObject * rpmts_Order(rpmtsObject * s, PyObject * args) + /*@globals _Py_NoneStruct @*/ + /*@modifies s, _Py_NoneStruct @*/ { int xx; @@ -320,7 +334,63 @@ rpmts_Order(rpmtsObject * s, PyObject * args) /** \ingroup python */ static PyObject * +rpmts_Clean(rpmtsObject * s, PyObject * args) + /*@globals _Py_NoneStruct @*/ + /*@modifies s, _Py_NoneStruct @*/ +{ + int xx; + + if (!PyArg_ParseTuple(args, ":Clean")) return NULL; + + rpmtsClean(s->ts); + + Py_INCREF(Py_None); + return Py_None; +} + +/** \ingroup python + */ +static PyObject * +rpmts_OpenDB(rpmtsObject * s, PyObject * args) + /*@globals _Py_NoneStruct @*/ + /*@modifies s, _Py_NoneStruct @*/ +{ + int xx; + + if (!PyArg_ParseTuple(args, ":OpenDB")) return NULL; + + if (s->ts->dbmode == -1) + s->ts->dbmode = O_RDONLY; + xx = rpmtsOpenDB(s->ts, s->ts->dbmode); + + Py_INCREF(Py_None); + return Py_None; +} + +/** \ingroup python + */ +static PyObject * +rpmts_CloseDB(rpmtsObject * s, PyObject * args) + /*@globals _Py_NoneStruct @*/ + /*@modifies s, _Py_NoneStruct @*/ +{ + int xx; + + if (!PyArg_ParseTuple(args, ":CloseDB")) return NULL; + + xx = rpmtsCloseDB(s->ts); + s->ts->dbmode = -1; + + Py_INCREF(Py_None); + return Py_None; +} + +/** \ingroup python + */ +static PyObject * rpmts_GetKeys(rpmtsObject * s, PyObject * args) + /*@globals _Py_NoneStruct @*/ + /*@modifies s, _Py_NoneStruct @*/ { const void **data = NULL; int num, i; @@ -358,9 +428,10 @@ struct rpmtsCallbackType_s { /** \ingroup python */ static void * -rpmtsCallback(const void * hd, const rpmCallbackType what, +rpmtsCallback(/*@unused@*/ const void * hd, const rpmCallbackType what, const unsigned long amount, const unsigned long total, const void * pkgKey, rpmCallbackData data) + /*@*/ { struct rpmtsCallbackType_s * cbInfo = data; PyObject * args, * result; @@ -404,6 +475,8 @@ rpmtsCallback(const void * hd, const rpmCallbackType what, /** \ingroup python */ static PyObject * rpmts_Run(rpmtsObject * s, PyObject * args) + /*@globals rpmGlobalMacroContext, _Py_NoneStruct @*/ + /*@modifies s, rpmGlobalMacroContext, _Py_NoneStruct @*/ { int flags, ignoreSet; int rc, i; @@ -455,6 +528,8 @@ static PyObject * rpmts_Run(rpmtsObject * s, PyObject * args) #if Py_TPFLAGS_HAVE_ITER static PyObject * rpmts_Next(rpmtsObject * s) + /*@globals _Py_NoneStruct @*/ + /*@modifies s, _Py_NoneStruct @*/ { rpmte te; @@ -474,6 +549,7 @@ rpmts_Next(rpmtsObject * s) static PyObject * rpmts_Iter(rpmtsObject * s) + /*@modifies s @*/ { s->tsi = rpmtsiInit(s->ts); s->tsiFilter = 0; @@ -486,6 +562,8 @@ rpmts_Iter(rpmtsObject * s) */ static rpmmiObject * rpmts_Match (rpmtsObject * s, PyObject * args) + /*@globals _Py_NoneStruct @*/ + /*@modifies s, _Py_NoneStruct @*/ { PyObject *TagN = NULL; char *key = NULL; @@ -514,6 +592,8 @@ rpmts_Match (rpmtsObject * s, PyObject * args) /** \ingroup python */ +/*@-fullinitblock@*/ +/*@unchecked@*/ /*@observer@*/ static struct PyMethodDef rpmts_methods[] = { {"addInstall", (PyCFunction) rpmts_AddInstall, METH_VARARGS, NULL }, @@ -523,6 +603,12 @@ static struct PyMethodDef rpmts_methods[] = { NULL }, {"order", (PyCFunction) rpmts_Order, METH_VARARGS, NULL }, + {"clean", (PyCFunction) rpmts_Clean, METH_VARARGS, + NULL }, + {"openDB", (PyCFunction) rpmts_OpenDB, METH_VARARGS, + NULL }, + {"closeDB", (PyCFunction) rpmts_CloseDB, METH_VARARGS, + NULL }, {"getKeys", (PyCFunction) rpmts_GetKeys, METH_VARARGS, NULL }, {"run", (PyCFunction) rpmts_Run, METH_VARARGS, @@ -538,10 +624,12 @@ static struct PyMethodDef rpmts_methods[] = { #endif {NULL, NULL} /* sentinel */ }; +/*@=fullinitblock@*/ /** \ingroup python */ -static void rpmts_dealloc(PyObject * o) +static void rpmts_dealloc(/*@only@*/ PyObject * o) + /*@modifies o @*/ { rpmtsObject * trans = (void *) o; @@ -560,6 +648,7 @@ static void rpmts_dealloc(PyObject * o) /** \ingroup python */ static PyObject * rpmts_getattr(rpmtsObject * o, char * name) + /*@*/ { return Py_FindMethod(rpmts_methods, (PyObject *) o, name); } @@ -567,6 +656,7 @@ static PyObject * rpmts_getattr(rpmtsObject * o, char * name) /** \ingroup python */ static int rpmts_setattr(rpmtsObject * o, char * name, PyObject * val) + /*@modifies o @*/ { int i; @@ -589,11 +679,13 @@ static int rpmts_setattr(rpmtsObject * o, char * name, PyObject * val) /** */ +/*@unchecked@*/ /*@observer@*/ static char rpmts_doc[] = ""; /** \ingroup python */ +/*@-fullinitblock@*/ PyTypeObject rpmts_Type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ @@ -639,11 +731,12 @@ PyTypeObject rpmts_Type = { 0, /* tp_is_gc */ #endif }; +/*@=fullinitblock@*/ /** */ rpmtsObject * -rpmts_Create(PyObject * self, PyObject * args) +rpmts_Create(/*@unused@*/ PyObject * self, PyObject * args) { rpmtsObject * o; rpmdbObject * db = NULL; diff --git a/python/rpmts-py.h b/python/rpmts-py.h index 6dfaad1e2..9d50038dc 100644 --- a/python/rpmts-py.h +++ b/python/rpmts-py.h @@ -17,6 +17,7 @@ typedef struct rpmtsObject_s { rpmElementType tsiFilter; } rpmtsObject; +/*@unchecked@*/ extern PyTypeObject rpmts_Type; /* XXX These names/constants have been removed from the rpmlib API. */ @@ -25,6 +26,7 @@ enum { RPMDEP_SENSE_CONFLICTS /*!< conflict was found. */ }; -rpmtsObject * rpmts_Create(PyObject * s, PyObject * args); +rpmtsObject * rpmts_Create(PyObject * s, PyObject * args) + /*@*/; #endif diff --git a/python/upgrade.c b/python/upgrade.c index 0fd54eceb..5832ea001 100644 --- a/python/upgrade.c +++ b/python/upgrade.c @@ -2,11 +2,9 @@ * \file python/upgrade.c */ -#include <stdio.h> -#include <stdlib.h> -#include <unistd.h> +#include "system.h" + #include <fcntl.h> -#include <string.h> #include <glob.h> /* XXX rpmio.h */ #include <dirent.h> /* XXX rpmio.h */ @@ -17,6 +15,8 @@ #include "hash.h" #include "upgrade.h" +#include "debug.h" + #define MAXPKGS 1024 #define USEDEBUG 0 @@ -170,7 +170,7 @@ static int findPackagesWithObsoletes(rpmdb db, struct pkgSet *psp) while (obsoletesCount--) { if (rpmdbCountPackages(db, obsoletes[obsoletesCount]) > 0) { (*pip)->selected = 1; - break; + /*@innerbreak@*/ break; } } @@ -228,7 +228,7 @@ static int findUpgradePackages(rpmdb db, struct pkgSet *psp, /* already have a newer version installed */ DEBUG (("Already have newer version\n")) skipThis = 1; - break; + /*@innerbreak@*/ break; } } mi = rpmdbFreeIterator(mi); @@ -329,7 +329,7 @@ static int removeMovedFilesAlreadyHandled(struct pkgSet *psp, availFiles[i]); DEBUG (("File already in %s: %s%s\n", name, availDirs[availDirIndexes[i]], availFiles[i])) - break; + /*@innerbreak@*/ break; } } @@ -375,7 +375,7 @@ static int findPackagesWithRelocatedFiles(struct pkgSet *psp, { for (i = 0; i < availFileCount; i++) { - if (S_ISDIR(availFileModes[i])) continue; + if (S_ISDIR(availFileModes[i])) /*@innercontinue@*/ continue; if (htInTable(ht, availDirs[availDirIndexes[i]], availFiles[i])) { @@ -446,7 +446,7 @@ static int unmarkPackagesAlreadyInstalled(rpmdb db, struct pkgSet *psp) /* already have a newer version installed */ DEBUG (("Already have newer version\n")) (*pip)->selected = 0; - break; + /*@innerbreak@*/ break; } } mi = rpmdbFreeIterator(mi); diff --git a/rpm.spec.in b/rpm.spec.in index b8ea06c11..3da47eb93 100644 --- a/rpm.spec.in +++ b/rpm.spec.in @@ -514,6 +514,9 @@ fi %{__prefix}/include/popt.h %changelog +* Sun Jul 14 2002 Jeff Johnson <jbj@redhat.com> 4.1-0.49 +- python: sanity check fixes on rpmts/rpmte methods. + * Sat Jul 13 2002 Jeff Johnson <jbj@redhat.com> 4.1-0.48 - install rpmal.h and rpmhash.h, implicit rpmps.hinclude, for now. - revert headerFree/headerLink/headerUnlink debugging. diff --git a/rpmdb/.lclintrc b/rpmdb/.lclintrc index 36f536cb4..4689c17ca 100644 --- a/rpmdb/.lclintrc +++ b/rpmdb/.lclintrc @@ -15,6 +15,7 @@ # --- in progress +bounds +slovak-fcns +-bufferoverflowhigh # --- +partial artifacts -declundef diff --git a/rpmio/.lclintrc b/rpmio/.lclintrc index 47210a3d8..d82306b54 100644 --- a/rpmio/.lclintrc +++ b/rpmio/.lclintrc @@ -14,6 +14,7 @@ # --- in progress +bounds +-bufferoverflowhigh # --- +partial artifacts -declundef |