Re: Request for Comments: libarchive, bsdtar

From: Vladimir Dozen (vladimir-dozen_at_mail.ru)
Date: 01/15/04

  • Next message: Tim Kientzle: "Re: Request for Comments: libarchive, bsdtar"
    Date: Wed, 14 Jan 2004 21:28:04 -0500
    To: freebsd-arch@freebsd.org
    
    

    ehlo.

    > so I want to make sure it's well-tested

       BTW, how do you perform testing of the library/tar?

       This kind of code should (shall) contain almost
       100% automated test coverage, in my opinion. It's due to
       it's complexity and extremely wide usage.

    >> - I would prefer it if compression was done by opening a pipe to
    >> gzip/bzip2 instead of using libz/libbz2.

    > Not really simpler for the library, and definitely not simpler
    > for clients of the library.

       Yeah. Spawning a process from inside the library is a bad idea, IMO.

       The right way to avoid code duplication between gzip and libarchive
       is to use common libgzip. The same applies to bzip and compress.

    dozen
    http://dozen.ru

    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"


  • Next message: Tim Kientzle: "Re: Request for Comments: libarchive, bsdtar"

    Relevant Pages