[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/39451 (bsdtar fails on Linux)
On Sat, Sep 13, 2008 at 11:03:18AM +0300, Aleksey Cheusov wrote:
> The following patch fixes the problem.
> -#ifdef __linux
> +#ifdef HAVE_EXT2FS_EXT2_FS_H
> if ((S_ISREG(st->st_mode) || S_ISDIR(st->st_mode)) &&
> ((fd = open(accpath, O_RDONLY|O_NONBLOCK)) >= 0) &&
> ((r = ioctl(fd, EXT2_IOC_GETFLAGS, &stflags)), [...]
You have a Linux machine that doesn't have ext2fs? That seems... odd,
and if that's not the issue then this isn't really the right fix;
instead it should be patched to include the right header or use the
proper alternative ioctl or whatnot.
David A. Holland
Main Index |
Thread Index |