[Top][All Lists]

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

Re: [Bug-tar] Building tar 1.19 on OSF/1 (HP Tru64) - make check fails

From: Eric Blake
Subject: Re: [Bug-tar] Building tar 1.19 on OSF/1 (HP Tru64) - make check fails
Date: Tue, 06 Nov 2007 18:25:50 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20070728 Thunderbird/ Mnenhy/

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             address@hidden
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


reply via email to

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