libtool-commit
[Top][All Lists]
Advanced

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

branch development updated: libtool: mingw hangs in func_convert_core_ms


From: Ileana Dumitrescu
Subject: branch development updated: libtool: mingw hangs in func_convert_core_msys_to_w32
Date: Thu, 15 Aug 2024 11:19:52 -0400

This is an automated email from the git hooks/post-receive script.

ildumi pushed a commit to branch development
in repository libtool.

The following commit(s) were added to refs/heads/development by this push:
     new 37b7146c libtool: mingw hangs in func_convert_core_msys_to_w32
37b7146c is described below

commit 37b7146c13a62a46273fd1478e6ad8fe42f9b551
Author: Brian Inglis <Brian.Inglis@SystematicSW.ab.ca>
AuthorDate: Sun Jun 27 23:09:02 2021 +0000

    libtool: mingw hangs in func_convert_core_msys_to_w32
    
    The `cmd //c ...` is is an invocation of the Windows console command
    line shell `cmd`. The slashes are Windows console shell command line
    option switch characters '/', with `cmd /c ...` meant to be
    equivalent to `sh -c ...`.
    
    It results in the Windows `cmd` shell being invoked as an interactive
    console shell, as if invoked with the '/k' switch, but ignoring any
    provided command string, hanging builds!
    
    * build-aux/ltmain.in: Remove additional forward slash for option.
---
 build-aux/ltmain.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index fb43fef0..b69bf91f 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -961,7 +961,7 @@ func_convert_core_msys_to_w32 ()
   $debug_cmd
 
   # awkward: cmd appends spaces to result
-  func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |
+  func_convert_core_msys_to_w32_result=`( cmd /c echo "$1" ) 2>/dev/null |
     $SED -e 's/[ ]*$//' -e "$sed_naive_backslashify"`
 }
 #end: func_convert_core_msys_to_w32



reply via email to

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