[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU tar 1.13 - uid_t overflow on darwin
From: |
Paul Eggert |
Subject: |
Re: GNU tar 1.13 - uid_t overflow on darwin |
Date: |
Wed, 24 Apr 2002 10:06:50 -0700 (PDT) |
> Date: Wed, 24 Apr 2002 15:40:00 +0200
> From: Axel Rau <address@hidden>
>
> While testing gnu tar 1.13 on darwin, I see such errors:
> /usr/local/bin/tar: uid_t value 4294967294 too large (max=16777215)
> -rw-r--r-- 16777214/20 6670867 2002-04-24 14:32
> Volumes/SD1B/var/log/webperfcache/access.log
What does GNU tar 1.13.25 do? There have been a lot of portability
fixes in that area, in recent test versions. You can get it from:
ftp://alpha.gnu.org/gnu/tar/tar-1.13.25.tar.gz
> Adapting uid_t to systypes.h (
> ./sys/types.h:typedef u_int32_t uid_t; /* user id */
> ) makes archives incompatible.
Sorry, I don't know what you mean by "Adapting uid_t to systypes.h".
Do you mean that you `#undef uid_t' and then `#define uid_t somethingelse'?
But that would lead to incorrect behavior.
> What would be the right approach?
Please try 1.13.25. If it doesn't work, please generate a little tar
file bad.tar that illustrates the problem, show what "tar tvf bad.tar"
does on your platform, and enclose a copy of bad.tar, properly encoded
for email.
- Re: GNU tar 1.13 - uid_t overflow on darwin,
Paul Eggert <=