[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox] Re: "rpm" fails with SIGSEGV
From:       Laurence Anderson <l.d.anderson () warwick ! ac ! uk>
Date:       2003-11-12 16:54:50
[Download RAW message or body]

On Wednesday 12 November 2003 12:47 pm, you wrote:
> On Wed, 12 Nov 2003 05:58:09 -0600
>
> Rob Landley <rob@landley.net> wrote:
> > Is this the new "fork and use a pipe" code?  (Glenn said he saw a bug
> > like this.  I'm happy to try tracking it down if we can get a
> > reproducible test case.  This is on a standard intel setup?  What
> > kernel, what libc, etc...)
>
> The fork and pipe is only used in get_header_tar_bz2, i did a test and
> reverted get_header_tar_gz to use fork and pipe and it was embarasingly
> slow.

The rpm code uses the read_gz interface, and is getting short reads (from 
archive_xreal_all_eof), what do you think of the patch?

Out of interest, what was the reason for going back to the pipe & fork method?

Laurence

_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic