summaryrefslogtreecommitdiff
path: root/ftparchive/contents.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove obsolete RCS keywordsGuillem Jover2018-05-071-1/+0
| | | | Prompted-by: Jakub Wilk <jwilk@debian.org>
* fix various typos reported by spellintianDavid Kalnischkies2017-01-191-1/+1
| | | | | | | | Most of them in (old) code comments. The two instances of user visible string changes the po files of the manpages are fixed up as well. Gbp-Dch: Ignore Reported-By: spellintian
* apply various suggestions made by cppcheckDavid Kalnischkies2015-11-051-1/+1
| | | | | Reported-By: cppcheck Git-Dch: Ignore
* rewrite all TFRewrite instances to use the new pkgTagSection::WriteDavid Kalnischkies2015-05-111-16/+18
| | | | | | | | | While it is mostly busywork to rewrite all instances it actually fixes bugs as the data storage used by the new method is std::string rather than a char*, the later mostly created by c_str() from a std::string which the caller has to ensure keeps in scope – something apt-ftparchive actually didn't ensure and relied on copy-on-write behavior instead which c++11 forbids and hence the new default gcc abi doesn't use it.
* fix: warning: extra ‘;’ [-Wpedantic]David Kalnischkies2014-09-271-5/+5
| | | | | Reported-By: gcc -Wpedantic Git-Dch: Ignore
* use free() instead of delete() when realloc is usedMichael Vogt2014-05-271-1/+12
| | | | | | | ContentsExtract::~ContentsExtract() needs to use free() because Data got allocated via realloc() Reported-By: clang -fsanitize=address -fno-omit-frame-pointer
* cleanup headers and especially #includes everywhereDavid Kalnischkies2014-03-131-2/+1
| | | | | | | | Beside being a bit cleaner it hopefully also resolves oddball problems I have with high levels of parallel jobs. Git-Dch: Ignore Reported-By: iwyu (include-what-you-use)
* warning: unused parameter ‘foo’ [-Wunused-parameter]David Kalnischkies2014-03-131-1/+1
| | | | | Reported-By: gcc -Wunused-parameter Git-Dch: Ignore
* rework some code to fix some scan-build warningsDavid Kalnischkies2014-01-161-1/+1
| | | | | | | | No visible functional changes, just code moved around and additional checks to eliminate impossible branches Reported-By: scan-build Git-Dch: Ignore
* ensure that apti18n.h is included last as advertised (Closes: #671623)David Kalnischkies2012-05-051-1/+3
|
* do not pollute namespace in the headers with using (Closes: #500198)David Kalnischkies2011-09-191-1/+1
|
* Support large files in the complete toolset. Indexes of thisDavid Kalnischkies2011-09-131-1/+1
| | | | size are pretty unlikely for now, but we need it for deb packages which could become bigger than 4GB now (LP: #815895)
* reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies2011-09-131-2/+4
|
* * ftparchive/contents.cc:David Kalnischkies2011-02-241-28/+3
| | | - remove ExtractArchive codecopy from apt-inst/deb/debfile.cc
* * ftparchive/multicompress.cc, apt-inst/deb/debfile.cc:David Kalnischkies2011-02-221-1/+5
| | | | - support xz compressor to create xz-compressed Indexes and be able to open data.tar.xz files
* fix a few typos in strings, comments and manpage of apt-ftparchiveDavid Kalnischkies2009-12-011-1/+1
| | | | thanks Karl Goetz! (Closes: #558757)
* tell every method in ftparchive/ that const& is sexyDavid Kalnischkies2009-11-281-1/+1
|
* * ftparchive/contents.cc:Michael Vogt2007-11-301-1/+6
| | | | | | | - fix error output * ftparchive/contents.cc: - support lzma data members * ftparchive/multicompress.cc: - support lzma output
* Bring consistency to the use of capitals in programs messagesChristian Perrier2005-03-061-1/+1
|
* Merge bzip2-debs branchMatt Zimmerman2004-12-121-2/+9
| | | | | | | | | | | | | | Patches applied: * apt@packages.debian.org/apt--bzip2-debs--0--base-0 tag of apt@packages.debian.org/apt--main--0--patch-30 * apt@packages.debian.org/apt--bzip2-debs--0--patch-1 Create baz branch * apt@packages.debian.org/apt--bzip2-debs--0--patch-2 Implement data.tar.bz2 support
* Lots and lots of i18n updates.Arch Librarian2004-09-201-3/+4
| | | | | | Author: doogie Date: 2003-02-10 07:34:41 GMT Lots and lots of i18n updates.
* Fixed uninited bufferArch Librarian2004-09-201-1/+2
| | | | | | Author: jgg Date: 2001-02-27 04:24:09 GMT Fixed uninited buffer
* Join with aliencodeArch Librarian2004-09-201-0/+401
Author: jgg Date: 2001-02-20 07:03:16 GMT Join with aliencode