]> git.saurik.com Git - apt.git/commitdiff
fix a few typos in strings, comments and manpage of apt-ftparchive
authorDavid Kalnischkies <kalnischkies@gmail.com>
Mon, 30 Nov 2009 23:28:26 +0000 (00:28 +0100)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Mon, 30 Nov 2009 23:28:26 +0000 (00:28 +0100)
thanks Karl Goetz! (Closes: #558757)

debian/changelog
doc/apt-ftparchive.1.xml
ftparchive/apt-ftparchive.cc
ftparchive/cachedb.cc
ftparchive/contents.cc
ftparchive/multicompress.cc
ftparchive/writer.cc

index 056e5c1f7d57ec8a60a98c1cc42f0b8aee6e5c00..26b3e8c1e1019fdbd7e887a796d2548bc6dbfcf7 100644 (file)
@@ -85,6 +85,9 @@ apt (0.7.25) UNRELEASED; urgency=low
     - add APT::FTPArchive::AlwaysStat to disable the too aggressive
       caching if versions are build multiply times (not recommend)
       Patch by Christoph Goehre, thanks! (Closes: #463260)
+  * ftparchive/*:
+    - fix a few typos in strings, comments and manpage,
+      thanks Karl Goetz! (Closes: #558757)
   * apt-pkg/deb/debsrcrecords.cc:
     - use "diff" filetype for .debian.tar.* files (Closes: #554898)
   * debian/apt.cron.daily:
index e2eab0fb27d426dca29fcd7afa9f2b0bc120895f..5d538c2c63bd929975ed9a1dca5d71c78947c9ef 100644 (file)
       
       <varlistentry><term>Sources</term>
       <listitem><para>
-      Sets the output Packages file. Defaults to 
+      Sets the output Sources file. Defaults to 
       <filename>$(DIST)/$(SECTION)/source/Sources</filename></para></listitem>
       </varlistentry>
       
index d0dea7768288edee11aee9a72d2e4473f6ee20c8..5b6b3940c652ddb6924a91c741e0de20863f57f8 100644 (file)
@@ -3,7 +3,7 @@
 // $Id: apt-ftparchive.cc,v 1.8.2.3 2004/01/02 22:01:48 mdz Exp $
 /* ######################################################################
 
-   apt-scanpackages - Efficient work-alike for dpkg-scanpackages
+   apt-ftparchive - Efficient work-alike for dpkg-scanpackages
 
    Let contents be disabled from the conf
    
@@ -792,7 +792,7 @@ bool Generate(CommandLine &CmdL)
    if (_config->FindB("APT::FTPArchive::Contents",true) == false)
       return true;
    
-   c1out << "Done Packages, Starting contents." << endl;
+   c1out << "Packages done, Starting contents." << endl;
 
    // Sort the contents file list by date
    string ArchiveDir = Setup.FindDir("Dir::ArchiveDir");
index 64638459ad1e77e33e3af003f73ad344d1e6cc3e..b04244347f4bd258a0d593712a91287fc52eaafc 100644 (file)
@@ -69,7 +69,7 @@ bool CacheDB::ReadyDB(string const &DB)
       // apt 0.6.44
       if (err == EINVAL)
       {
-        _error->Error(_("DB format is invalid. If you upgraded from a older version of apt, please remove and re-create the database."));
+        _error->Error(_("DB format is invalid. If you upgraded from an older version of apt, please remove and re-create the database."));
       }
       if (err)
       {
@@ -83,7 +83,7 @@ bool CacheDB::ReadyDB(string const &DB)
    return true;
 }
                                                                        /*}}}*/
-// CacheDB::OpenFile - Open the filei                                  /*{{{*/
+// CacheDB::OpenFile - Open the file                                   /*{{{*/
 // ---------------------------------------------------------------------
 /* */
 bool CacheDB::OpenFile()
@@ -139,7 +139,7 @@ bool CacheDB::GetCurStat()
    
        if (DBLoaded)
        {
-               /* First see if thre is anything about it
+               /* First see if there is anything about it
                   in the database */
 
                /* Get the flags (and mtime) */
index 693c36f9ab7ade728d7ea54cc1389b95098d2232..b761d9204adb803df418cf5e4e3f17c82ac72a6d 100644 (file)
@@ -13,7 +13,7 @@
    removing the massive sort time overhead.
    
    By breaking all the pathnames into components and storing them 
-   separately a space savings is realized by not duplicating the string
+   separately a space saving is realized by not duplicating the string
    over and over again. Ultimately this saving is sacrificed to storage of
    the tree structure itself but the tree structure yields a speed gain
    in the sorting and processing. Ultimately it takes about 5 seconds to
index 7c91d34fe66d0433a813b784c3ea61e8c412d8cc..bb4beedf9c8b994ec9f92bf4d6dccdf88ae5419e 100644 (file)
@@ -365,7 +365,7 @@ bool MultiCompress::CloseOld(int Fd,pid_t Proc)
 // MultiCompress::Child - The writer child                             /*{{{*/
 // ---------------------------------------------------------------------
 /* The child process forks a bunch of compression children and takes 
-   input on FD and passes it to all the compressor childer. On the way it
+   input on FD and passes it to all the compressor child. On the way it
    computes the MD5 of the raw data. After this the raw data in the 
    original files is compared to see if this data is new. If the data
    is new then the temp files are renamed, otherwise they are erased. */
index bf6e9f6179bad3a0434b2be805bc6a8c5861db40..5547c6aa5175faa3312f4dcf72461b872d1fa3f3 100644 (file)
@@ -464,7 +464,7 @@ bool PackagesWriter::DoPackage(string FileName)
       SetTFRewriteData(Changes[End++], "Maintainer", NewMaint.c_str());
    
    /* Get rid of the Optional tag. This is an ugly, ugly, ugly hack that
-      dpkg-scanpackages does.. Well sort of. dpkg-scanpackages just does renaming
+      dpkg-scanpackages does. Well sort of. dpkg-scanpackages just does renaming
       but dpkg does this append bit. So we do the append bit, at least that way the
       status file and package file will remain similar. There are other transforms
       but optional is the only legacy one still in use for some lazy reason. */