[Top][All Lists]

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

Re: [Bug-tar] need to build a Windows tar

From: Joerg Schilling
Subject: Re: [Bug-tar] need to build a Windows tar
Date: Mon, 19 Dec 2011 23:54:21 +0100
User-agent: nail 11.22 3/20/05

Tim Kientzle <address@hidden> wrote:

> > It seems that stat() on Win-DOS does no deliver inode numbers and as a 
> > result 
> > of the fact that the struct stat definition defines ino_t as short make it 
> > impossible to even write a work around for this important standard 
> > compliance 
> > bug. Note that MS internally has the important and needed inode number but 
> > it 
> > is not forwarded to standard compliant software.
> With libarchive, we had to use Windows-specific code to
> work around this.  Fortunately, it only affected a couple
> of places (the parts of libarchive that actually deal
> with disk attributes are pretty well isolated).

Star has this clean separation since February 1985 when I ported star from UNOS 
to UNIX. Nowadays, libfind is pretty tight written around struct stat and 
libfind fives a lot of interesting features to star and mkisofs.

But when you have been able to work around the problem, I should be able to do 
the same.

I did already write a readdir() amulation with Win-DOS specific code....


 EMail:address@hidden (home) Jörg Schilling D-13353 Berlin
       address@hidden                (uni)  
       address@hidden (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

reply via email to

[Prev in Thread] Current Thread [Next in Thread]