From a9a1fd866c573f41287e6ad256ce64b3970a1eaa Mon Sep 17 00:00:00 2001 From: jbj Date: Thu, 26 Apr 2001 20:39:52 +0000 Subject: [PATCH] - fix: ineeded count wrong for overlapped, created files. CVS patchset: 4709 CVS date: 2001/04/26 20:39:52 --- CHANGES | 1 + lib/transaction.c | 1 - po/rpm.pot | 16 ++++++++-------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CHANGES b/CHANGES index bffebf138..345d80f24 100644 --- a/CHANGES +++ b/CHANGES @@ -32,6 +32,7 @@ - regenerate rpm.8 man page from docbook glop (in max-rpm). - lib/depends.c: diddle debugging messages. - fix: readlink return value clobbered by header write. + - fix: ineeded count wrong for overlapped, created files. 4.0 -> 4.0.[12] - add doxygen and lclint annotations most everywhere. diff --git a/lib/transaction.c b/lib/transaction.c index c74e5fb38..190446236 100644 --- a/lib/transaction.c +++ b/lib/transaction.c @@ -1168,7 +1168,6 @@ static void handleOverlappedFiles(TFI_t fi, hashTable ht, * decremented twice? Quite probably! */ case FA_CREATE: - ds->ineeded++; ds->bneeded += s; ds->bneeded -= BLOCK_ROUND(fi->replacedSizes[i], ds->bsize); break; diff --git a/po/rpm.pot b/po/rpm.pot index c385d9a4c..959ce35d3 100644 --- a/po/rpm.pot +++ b/po/rpm.pot @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2001-04-23 16:53-0400\n" +"POT-Creation-Date: 2001-04-26 16:39-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -2530,32 +2530,32 @@ msgstr "" msgid "%9d %s\n" msgstr "" -#: lib/fsm.c:1040 +#: lib/fsm.c:1044 #, c-format msgid "%s directory created with perms %04o.\n" msgstr "" -#: lib/fsm.c:1342 lib/fsm.c:1459 +#: lib/fsm.c:1346 lib/fsm.c:1463 #, c-format msgid "%s saved as %s\n" msgstr "" -#: lib/fsm.c:1484 +#: lib/fsm.c:1488 #, c-format msgid "%s rmdir of %s failed: Directory not empty\n" msgstr "" -#: lib/fsm.c:1489 +#: lib/fsm.c:1493 #, c-format msgid "%s rmdir of %s failed: %s\n" msgstr "" -#: lib/fsm.c:1498 +#: lib/fsm.c:1502 #, c-format msgid "%s unlink of %s failed: %s\n" msgstr "" -#: lib/fsm.c:1515 +#: lib/fsm.c:1519 #, c-format msgid "%s created as %s\n" msgstr "" @@ -3696,7 +3696,7 @@ msgstr "" msgid "%s skipped due to missingok flag\n" msgstr "" -#: lib/transaction.c:1359 +#: lib/transaction.c:1358 #, c-format msgid "excluding directory %s\n" msgstr ""