[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-cpio] cpio bug
From: |
Thomas Graf |
Subject: |
[Bug-cpio] cpio bug |
Date: |
Mon, 23 Aug 2010 19:04:20 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.11) Gecko/20100714 SUSE/3.0.6 Thunderbird/3.0.6 |
DESC: cpio can't read a tar archive, if the seperator char between fields is
not 0x0. bsdtar and star use a space, what caused this problem.
the problem seems in copyin.c in from_ascii(). the error msg came from here.
$ diff copyin.c-orig copyin.c
923c923
< if (++buf == end || *buf == 0)
---
> if (++buf == end || *buf == 0 || *buf == ' ')
now it works. ;-)
Regards,
Thomas
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-cpio] cpio bug,
Thomas Graf <=