[Top][All Lists]

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

Re: [PATCH 09/12] use a shell function for AC_CHECK_TYPE

From: Eric Blake
Subject: Re: [PATCH 09/12] use a shell function for AC_CHECK_TYPE
Date: Mon, 03 Nov 2008 06:16:07 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20080914 Thunderbird/ Mnenhy/

Hash: SHA1

According to Ralf Wildenhues on 11/2/2008 9:04 AM:
> Hi Paolo,
> * Paolo Bonzini wrote on Sun, Nov 02, 2008 at 09:27:42AM CET:
>> By a completely different approach, would it make sense to switch from
>> cat to AS_ECHO in order to build the conftest.c files?  That would save
>> forks for *all* tests...
> I don't remember the details, but there were problems with long output
> and the various echo replacements used in  It's grossly ugly,
> yes, but I did have to debug such a failure once (probably on a Solaris
> systems with its broken printf), and it wasn't fun.

Well, gnulib-tool's choice of echo replacements currently causes Solaris
/bin/sh to dump core, so there are still bugs if you make the wrong
choice.  But m4sh's choice of echo replacements already tries to detect
the case of printf that can't handle long string; are we truly robust in
that area, or just lucky so far that none of our strings are long?

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

Eric Blake             address@hidden
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at
Comment: Using GnuPG with Mozilla -


reply via email to

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