home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.sysv386:17684 comp.unix.pc-clone.32bit:970
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewse!cbnewsd!att-out!rutgers!mcdhup!kilowatt!root
- From: root@kilowatt.uucp (Kilowatt admin)
- Newsgroups: comp.unix.sysv386,comp.unix.pc-clone.32bit
- Subject: Re: serious bug in cpio -i -Htar
- Message-ID: <1993Jan7.064311.9540@kilowatt.uucp>
- Date: 7 Jan 93 06:43:11 GMT
- References: <4910@svin09.info.win.tue.nl>
- Reply-To: root@kilowatt.UUCP (Kilowatt admin)
- Organization: Kilowatt Computing of Deer Park, NY
- Lines: 17
-
- >Workaround: if you're not sure whether you have a tar or cpio archive,
- >try to determine the format before extracting files. If the archive is
- >a tar archive do *not* extract files using cpio but use tar instead.
- >
- SVR4 tar has another strange bug. Seems if when restoring files, you
- restore one file that is a link, say "a ->/a/b/c/d/e" and there is another
- link just after it called "b ->/a/b/c" tar will restore it as "b ->/a/b/c/d/e"
- This just seems to be a lack of the NULL at the end of the string, like
- someone did a memmov or memcpy(dest,src,strlen(src)); where it should be
- strlen(src)+1 to include the NULL. Sure this is not the same bug in the cpio
- code?
-
- --
- Kilowatt Computers - (516) 253 2805 Arthur Krewat
- Deer Park, NY ...!kilowatt!krewat
- (516) 667-6142 Zoom V.32bis I'm in the uucp maps or try
- (516) 586-4743 WorldBlazer PEP/V.32bis ...!rutgers!mcdhup!kilowatt!krewat
-