[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [zile-devel] Portable vasprintf
From: |
Nicolas Duboc |
Subject: |
Re: [zile-devel] Portable vasprintf |
Date: |
Tue, 25 Jan 2005 19:46:10 +0100 |
User-agent: |
Mutt/1.5.6+20040722i |
On Sat, Jan 22, 2005 at 12:10:14AM +0100, Reuben Thomas wrote:
> On Fri, 21 Jan 2005, Nicolas Duboc wrote:
> >I had to make this change to make zile compile on Debian s390 Sarge
> >port. It uses the ANSI C99 va_copy instead of direct vargs manipulation.
>
> That's interesting as it suggests that glibc on s390 doesn't have
> vasprintf; is that correct? (vasprintf.c doesn't get used on my i386
> system.)
The configure script seems to find vasprintf on both Debian Sarge i386
and s390. The vasprintf.c file is also compiled on both platforms.
% nm -u src/zile | grep vasprintf
U vasprintf@@GLIBC_2.0
%
So the vasprintf.c file is compiled but not used.
I'm not an autotools expert and I don't know if this behavior is
normal but given that, it is logical that compilation failed on s390 with
previous vasprintf.c version.
Cheers,
--
Nicolas Duboc <address@hidden>
signature.asc
Description: Digital signature