This reverts commit 256080b112e417fc4fd2f3f9fcb23485e1b23b42.
With the following changes:
* Adjusted to the BZlibCompressionAlgorithm API.
* Add some error handling.
This needs to be run under haiku as it uses the package tool. It can be
used to remove the _bootstrap tagging from bootstrap packages and then
upload them to the repos as normal packages. The goal is to make
non-bootstrap builds work even for archs where the bootstrap isn't
working yet.
Packages built that way should be replaced as soon as better ones are
obtained by the proper bootstrapping process.
* BCompressionAlgorithm is a base class for classes that provide
compression/decompression functionality. There are methods for
compressing/decompressing a single buffer and factory methods for
a compressing/decompressing input/output BDataIO.
* BZlibCompressionAlgorithm is a BCompressionAlgorithm implementation
using zlib.
* Use arch-independent format specifiers.
* Print pointers at a fixed length padded with 0s,
length is eitther 8 or 16 depending on pointer width.
* Uppercase titles.
* Add an extra space between Data and Seq# columns to
more clearly show that they represent separate titles.
* Move the Name column last because it is variable length.
This way, all columns line up vertically and the name can
overflow past the end, before a long path would push all
the other columns to the right.
* Make the Name column title is left-aligned, dashes go to
80 cols.
* Use C89 comments and C89 variable declarations.
Screenshot:
http://38.media.tumblr.com/4aea59cf15f8a7c186fc97d62916f38b/tumblr_n7yrw7nwma1r0f0hfo1_1280.png
Also use puts() in place of printf() in a couple places
where no string interpolation takes place.
Replace the variable name "status" with "result", I just like
it better that way for easier grep-ability.
... to use BPathFinder instead of iterating through each of the
(current) add-on directories.
Update copyright header, add myself to authors.
add an ATRACE() of the path once it is found.
Should be functionally identical.
* Removed / after Tracker, thanks Axel.
* BString::FindFirst() returns an index not a status_t so check that
it finds the path at the start of the string (index 0).
* Put paths.CountStrings() in a count variable.
I wanted to clean this code up because I use it as a reference.