autoconf-patches
[Top][All Lists]
Advanced

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

Re: [PATCH v2] Properly handle funny file names for headers in config.st


From: Eric Blake
Subject: Re: [PATCH v2] Properly handle funny file names for headers in config.status.
Date: Mon, 17 Dec 2007 21:33:32 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

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

According to Benoit Sigoure on 12/17/2007 9:21 AM:
> +# Neutralize special characters interpreted by sed in replacement strings.
> +case $configure_input in #(
> +  *'&'*) ac_sed_conf_input=`AS_ECHO(["$configure_input"]) |
> +                           sed 's/\\\\/\\\\\\\\/g;s/&/\\\\\\&/g'`;;
> +  *) ac_sed_conf_input=$configure_input

Missing ;;

> +esac
> +
>  # Neutralize VPATH when `$srcdir' = `.'.
> +# Run the same test a 2nd time to see that config.status does not recreate
> +# the header (regression test)
> +AT_CHECK([./config.status "--header=$file:$file.in"],
> +      [0], [config.status: creating file with  funny \ ' \' $ & #!*? name
> +config.status: file with  funny \ ' \' $ & #!*? name is unchanged

Unrelated to what you are fixing, but this test also needs factoring into
w32-safe characters, so we might as well do it now; see
http://lists.gnu.org/archive/html/autoconf-patches/2007-12/msg00044.html

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

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

iD8DBQFHZ02c84KuGfSFAYARAuYUAKCsRDNsADOPAOihw7a1kTXTg6GscACeKYLh
663y+LY2jkOPolU4+w+Qs/M=
=9GUz
-----END PGP SIGNATURE-----




reply via email to

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