[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: perl code for decoding tar files...



> Michael Alan Dorman writes:
> > I seem to remember someone commenting that they had perl code for
> > decoding tar files laying around.  If so, could I get a copy, so I may
> > attempt to ameliorate dpkg-source's inability to cope with 100+
> > character filenames?
> 
> Please remember that the problem also exists in dpkg-deb with
> the tar extracter.

And, that libg++272-2.7.2_5.orig.tar.gz currently cannot be extracted
by dpkg-source, an error that doesn't relate to the 100+ character
problem (I've tried moving my source tree to /, and extract it there.
Same problem, while the filenames inside the .tar.gz really aren't
longer than about 50 chars). This error seems to be somewhat perl
releated -- I'm thinking it'd be better to just rewrite dpkg-source
or whatever in C, using the normal tar programme and checking the
resulting source tree afterwards.

BTW, that dpkg-dev problem, couldn't that be because dpkg-dev uses
dpkg-source? (Just guessing).

-- 
joost witteveen, joostje@debian.org
#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . Trouble? 
e-mail to templin@bucknell.edu .


Reply to: