1 |
On Monday 04 August 2003 10:34, splite-gentoo@××××××××××××××××.edu wrote: |
2 |
> On Mon, Aug 04, 2003 at 03:32:28PM +0200, Marius Mauch wrote: |
3 |
> > The fixed line is |
4 |
> > notok=spawn("bzip2 -dc "+mytbz2+" | tar xpf -",free=1) |
5 |
|
6 |
actually thats wrong, you'll still get a warning msg ;) |
7 |
if you look at the bug i filed sometime ago (#25293) the better line is: |
8 |
notok=spawn("bzcat -q "+mytbz2+" | tar xpf -",free=1) |
9 |
|
10 |
> Why not: |
11 |
> |
12 |
> notok=spawn("tar xpjf "+mytbz2,free=1) |
13 |
|
14 |
that assumes that tar supports bzip2 ... anyone who has used bsd/older *nixs |
15 |
will tell you, dont plan on it :) |
16 |
|
17 |
-mike |