Path: utzoo!attcan!uunet!mcvax!hp4nl!eutrc3!wzv!wietse From: wietse@wzv.UUCP (Wietse Z. Venema) Newsgroups: comp.sources.d Subject: Re: pax on 16 bit machine, tar filesize field Message-ID: <231@wzv.UUCP> Date: 1 Mar 89 21:13:45 GMT References: <228@libove.UUCP> Reply-To: wietse@wzv.UUCP (Wietse Z. Venema) Organization: Eindhoven University of Technology, The Netherlands Lines: 30 In article <228@libove.UUCP> root@libove.UUCP (Jay M. Libove) writes: > >In "pax" on my 16 bit Xenix (80286) machine, it seems that the filesize >field (in tar listings anyway, haven't tried cpio or pax format) is >a 16 bit signed integer, Recently, I posted a patch in comp.sources.bugs for 16-bit systems (change a %6d into %6ld). With this patch, the problem you described does not occur on my 80286 Microport SV/AT 2.3 system: $ ls -li /usr/local/bin/pax /usr/local/bin/tar 1374 -rwxr-xr-x 3 root sys 51990 Feb 25 14:58 /usr/local/bin/pax 1374 -rwxr-xr-x 3 root sys 51990 Feb 25 14:58 /usr/local/bin/tar $ ls -l /tmp/test[123] -rwxr-xr-x 1 wietse users 51990 Mar 1 21:03 /tmp/test1 -rwxr-xr-x 1 wietse users 46254 Mar 1 21:03 /tmp/test2 -rwxr-xr-x 1 wietse users 15374 Mar 1 21:04 /tmp/test3 $ /usr/local/bin/tar cvf /tmp/test.tar /tmp/test[132] a /tmp/test1 102 Blocks a /tmp/test2 91 Blocks a /tmp/test3 31 Blocks $ /usr/local/bin/tar tvf /tmp/test.tar Tar: blocksize = 20 rwxr-xr-x 100/13 51990 Mar 1 21:03 1989 /tmp/test1 rwxr-xr-x 100/13 46254 Mar 1 21:03 1989 /tmp/test2 rwxr-xr-x 100/13 15374 Mar 1 21:04 1989 /tmp/test3 -- work: wswietse@eutrc3.uucp | Eindhoven University of Technology work: wswietse@heitue5.bitnet | Mathematics and Computing Science home: wietse@wzv.uucp | 5600 MB Eindhoven, The Netherlands