[sr #111191] libtool mistakes a directory as an executable

Ileana Dumitrescu <[email protected]> Thu, 20 Feb 2025 14:04:24 -0500 (EST)
Newsgroups gmane.comp.gnu.libtool.general
Message-ID <[email protected]>
Update of sr #111191 (group libtool):

                  Status:                    None => Done
             Open/Closed:                    Open => Closed

    _______________________________________________________

Follow-up Comment #1:

Thank you for the bug report and patch!

[comment #0 original submission:]
> This issue does not occur in Linux because these functions are not used for
> some reason. I'm not sure what is the difference in cygwin and Linux.

This is implemented for Cygwin and MinGW according to the old changelog:

  * ltmain.in (find_executable, check_executable) [cygwin*, mingw*]:
  binary wrapper used with uninstalled executables breaks when
  invoked via execlp/execvp (that is, via $PATH).  Handle that case.
  (fnqualify): Subsumed into find_executable.


I have committed your patch to the development branch:


https://git.savannah.gnu.org/cgit/libtool.git/commit/?h=development&id=f4c10752cc4f27cb2740761ade27b1282468d540



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?111191>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCZ7d8uAAKCRCqLAuaBUf3
TheOAP0QGf/JUd7ChJTTLKPgnlQdP0XDENG3UXkZHXfsZ/9ndAEApDmmNlEYkLHL
oAT+jiLHEiMHI9bD7Sp3lN+I/0Vi1gc=
=WZTS
-----END PGP SIGNATURE-----