-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Gary E. Barnes on 11/6/2007 12:42 PM:

[adding the gnulib list]

> There is no snprintf on the system.  If I modify src/system.c to call
> sprintf instead of snprintf I can link tar.  But then "make check" fails
> when trying to compile argcv.c.

gnulib should be able to work around this.  You should never replace
snprintf with sprintf, because it introduces a potential security hole.
It sounds like tar needs to use the snprintf module.

> 
> I can then add -Drestrict= to the CPPFLAGS.  Things then compile but genfile
> cannot be linked because the system doesn't have a fseeko routine in the
> library.

gnulib should also be able to work around this.  It sounds like tar needs
to use the fseeko module.

> 
>     Gary
> 
> 4.4.2c-coralsea 107: uname -a
> OSF1 coralsea V4.0 878 alpha alpha unknown Tru64
> 
> 
> Add -Drestrict= to the CPPFLAGS and then....

This was recently changed in autoconf and gnulib, so hopefully future
versions of tar will also make this step unnecessary.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHMRQe84KuGfSFAYARAryHAJ4/kohNXZsi2aUKhsFrSi5n6qDgKQCeMka7
8mJSyyMa9Ce6gSe9ekSS08I=
=AH2p
-----END PGP SIGNATURE-----


Reply via email to