bug-make
[Top][All Lists]
Advanced

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

[bug #60312] echo replaces double quote with backslash


From: anonymous
Subject: [bug #60312] echo replaces double quote with backslash
Date: Wed, 31 Mar 2021 10:44:52 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0

Follow-up Comment #4, bug #60312 (project make):

I do have it:

$ which sh
/usr/bin/sh


but make seems to be calling echo.exe directly. Extracts from "strace make -f
tm":


    0       0 [main] echo (7896)
**********************************************
  155     155 [main] echo (7896) Program name: C:\msys64\usr\bin\echo.exe
(windows pid 7896)
   59     214 [main] echo (7896) OS version:   Windows NT-10.0
  102     316 [main] echo (7896)
**********************************************

  294   12965 [main] echo (7896) open_shared: name cygpid.640, n 640, shared
0x180010000 (wanted 0x180010000), h 0x134, *m 2
   81   13046 [main] echo (7896) time: 1617201324 = time(0x0)
  106   13152 [main] echo 640 pinfo::thisproc: myself dwProcessId 7896

  202   55767 [main] echo 640 build_argv: cmd = 'echo \"xx\"', winshell = 1,
glob = 1
  144   55911 [main] echo 640 build_argv: argv[0] = 'echo'
  324   56235 [main] echo 640 lstat64: entering
  115   56350 [main] echo 640 normalize_posix_path: src \xx"
   78   56428 [main] echo 640 normalize_win32_path: C:\xx" =
normalize_win32_path (\xx")
   78   56506 [main] echo 640 mount_info::conv_to_win32_path:
conv_to_win32_path (C:/xx")
   92   56598 [main] echo 640 mount_info::conv_to_win32_path:  mount[0] ..
checking /bin -> C:\msys64\usr\bin
   67   56665 [main] echo 640 mount_info::conv_to_win32_path:  mount[1] ..
checking / -> C:\msys64
   91   56756 [main] echo 640 mount_info::conv_to_win32_path: src_path C:/xx",
dst C:\xx", flags 0x0, rc 0
  207   56963 [main] echo 640 symlink_info::check: 0xC0000034 = NtCreateFile
(\??\C:\xx")
   73   57036 [main] echo 640 symlink_info::check: 0xC0000034 =
NtQueryInformationFile (\??\C:\xx")
  110   57146 [main] echo 640 symlink_info::check: 0xC0000034 = NtCreateFile
(\??\C:\xx".exe)
   59   57205 [main] echo 640 symlink_info::check: 0xC0000034 =
NtQueryInformationFile (\??\C:\xx".exe)
  270   57475 [main] echo 640 symlink_info::check: 0xC0000034 = NtCreateFile
(\??\C:\xx".lnk)
  108   57583 [main] echo 640 symlink_info::check: 0xC0000034 =
NtQueryInformationFile (\??\C:\xx".lnk)
  171   57754 [main] echo 640 symlink_info::check: 0xC0000034 = NtCreateFile
(\??\C:\xx".exe.lnk)
   74   57828 [main] echo 640 symlink_info::check: 0xC0000034 =
NtQueryInformationFile (\??\C:\xx".exe.lnk)
   77   57905 [main] echo 640 symlink_info::check: 0 = symlink.check(C:\xx",
0xFFFC9730) (mount_flags 0x6000, path_flags 0x0)
   76   57981 [main] echo 640 mount_info::conv_to_win32_path:
conv_to_win32_path (C:)
   86   58067 [main] echo 640 mount_info::conv_to_win32_path:  mount[0] ..
checking /bin -> C:\msys64\usr\bin
   72   58139 [main] echo 640 mount_info::conv_to_win32_path:  mount[1] ..
checking / -> C:\msys64
   48   58187 [main] echo 640 mount_info::conv_to_win32_path: src_path C:, dst
C:, flags 0x0, rc 0
  128   58315 [main] echo 640 symlink_info::check: 0x0 = NtCreateFile
(\??\C:\)
  202   58517 [main] echo 640 symlink_info::check: not a symlink
  136   58653 [main] echo 640 symlink_info::check: 0 = symlink.check(C:\,
0xFFFC9730) (mount_flags 0x6000, path_flags 0x0)
   91   58744 [main] echo 640 path_conv::check: this->path(C:\xx"),
has_acls(0)
   71   58815 [main] echo 640 __set_errno: int stat_worker(path_conv&,
stat*):2060 setting errno 2
   84   58899 [main] echo 640 stat_worker: -1 = (\??\C:\xx",0xFFFCC9F0)
  220   59119 [main] echo 640 globify: argv[1] = '\xx"'



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60312>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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