[Kde-games-devel] [OT] Tar (was: Re: Game introduction: Nonogram)

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Wed May 14 10:36:13 CEST 2008


> Von: "Burkhard Lehner"
> Hi,
> 
> again 2 Euro-cent from me :-)
> 
> If I understood Tom correctly, there is only one file per tar-file. Is
> this
> correct?
> In this case, I don't think tar makes any sense, because it was build to
> store a collection of files for backup.
> If it is about compression, using gzip or bzip2 would be enough. Since it
> would also reduce the overhead of tar, the files were even smaller, and I
> think there is no version problem with gzip and bzip2: They are identical
> on
> nearly any system (if installed, which is the case for nearly every Unix
> derivate, including Linux, but not necessarily on Windows or Max OS X).
> Maybe there is even a library interface for gzip or bzip2, so that calling
> an external program is not necessary at all.
Tar overhead? Do you mind 512 Bytes which could be compressed very good as overhead? :)
That's what I wanted to say - we can't use an external app to unpack something because we can't rely on it's existence. That's why I wrote the bzip2, tar and zip (not gzip) classes.


Christian

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger


More information about the kde-games-devel mailing list