[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] tar-1.13.93
From: |
Harald Koenig |
Subject: |
[Bug-tar] tar-1.13.93 |
Date: |
Thu, 11 Mar 2004 16:46:19 +0100 |
User-agent: |
Mutt/1.4.2.1i |
Hi,
I've buid tar-1.13.93 on various plattforms and found some minor problems
which I'd like to report:
1) ICONV_CONST
all plattforms: src/utf8.c needs ICONV_CONST which does not get set by
the configure script.
there seems to be code for a test in m4/iconv.m4, but just running
autoconf didn't help, so I had to set this manually...
2) snprintf
src/xheader.c needs snprintf.
SunOS-5.5.1 does not have snprintf at all.
either you have to provide a workaround (and check in configure),
or just use snprintf as it's totally save to print one long integer
into a 64 byte buffer (as it's used in xheader.c).
AXP OSF1-V4.0 does have snprintf only in /usr/lib/libdb.*, so you need "-ldb"
for linking.
3) /dev/zero, tests and HP-UX
hpux (al least 10.20, 11.00, 11.22) doesn't have /dev/zero by default (11.11
does).
this causes two tests to fail:
listed01.sh
multiv01.sh
while it's possible (as root) to create that device on HPUX 11.* with
mknod /dev/zero c 3 4
chmod 666 /dev/zero
but this won't work for hpux 10.20. for 10.20 it's only possible to use
mknod /dev/zero c 3 3
chmod 666 /dev/zero
(minor id 3 instead of 4!) which doesn't zero the read buffer and thus
gives back random trash (so better call it /dev/trash ;-)
a portable way to produce a stream of NULL bytes would be e.g.
yes "" | tr '\012' '\000' | ....
4) strtoull
AXP OSF1-V5.0 does have strtoull, needed by lib/strtoumax.o.
from that config.h :
/* Define to 1 if you have the declaration of `strtoull', and to 0 if
you
don't. */
#define HAVE_DECL_STRTOULL 0
/* Define if you have the 'long long' type. */
#define HAVE_LONG_LONG 1
because lib/strtoimax.c only includes a prototype but no code:
#ifdef UNSIGNED
...
# if !HAVE_DECL_STRTOULL && HAVE_UNSIGNED_LONG_LONG
unsigned long long strtoull (char const *, char **, int);
# endif
I don't have a workaround for that one yet.
I'm using gcc-3.3.2 on AXP OSF1-V5.0 (and all plattoforms).
here is a list of tested plattforms:
HP-UX-B.10.20
HP-UX-B.11.00
HP-UX-B.11.11
HP-UX-B.11.22
FreeBSD-4.7
RedHat-6.2
RedHat-7.1
RedHat-9.0
SuSE-6.2
IRIX64-6.5
AIX-4.3
AIX-5.1
SunOS-5.5.1
SunOS-5.8
OSF1-V4.0
OSF1-V5.0
thanks for gnu-tar !!
Harald Koenig
--
"I hope to die ___ _____
before I *have* to use Microsoft Word.", 0--,| /OOOOOOO\
Donald E. Knuth, 02-Oct-2001 in Tuebingen. <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
Harald Koenig \/\/\/\/\/\/\/\/\/
science+computing ag // / \\ \
address@hidden ^^^^^ ^^^^^
- [Bug-tar] tar-1.13.93,
Harald Koenig <=