Hardening flags

Russ Allbery eagle at eyrie.org
Mon Nov 30 01:51:19 UTC 2020


Julien ÉLIE <julien at trigofacile.com> writes:

> Also, FYI, automake has just included upstream our local changes to
> install-sh:
>   https://lists.gnu.org/archive/html/automake-patches/2020-11/index.html

Oh, excellent!

> Only the Cygwin part has not:

>     +  # For Cygwin compatibility.
>     +  if [ -x "$src".exe ]; then
>     +    src=${src}.exe
>     +  fi

>   I think this change is too dangerous. It would make it impossible to
>   install foo if foo.exe exists, regardless of what was intended.
>   I think Cygwin support has to be handled at a different level,
>   like EXEEXT in Autoconf.

> Well, we're not impacted so it's fine for this local change to install-sh.

Yes, I'm fairly sure the Cygwin support in INN doesn't currently work
(that's the sort of thing that will break quickly without someone actively
looking out for it, and I don't think anyone has been interested since
Greg Andruk).

-- 
Russ Allbery (eagle at eyrie.org)             <https://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <https://www.eyrie.org/~eagle/faqs/questions.html> explains why.


More information about the inn-workers mailing list