]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: stop handling files with .com suffix like .exe files
authorCorinna Vinschen <corinna@vinschen.de>
Fri, 28 Oct 2022 10:42:51 +0000 (12:42 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 28 Oct 2022 10:44:27 +0000 (12:44 +0200)
commit339bb6e932f4aef047dc6aa1a1894eec8b37063c
treefd726c38c518b4d76da6db35fa2fe1920d567012
parent213b53ed355712b97d361a273a87f1162b8b7aab
Cygwin: stop handling files with .com suffix like .exe files

.com is a remnant from the past.  There are only five executables
left:

  chcp.com
  format.com
  mode.com
  more.com
  tree.com

Calling them on the command line already requires to use the
suffix anyway.  So drop useless .com test from the execve test
for scripts (they are handled earlier in the same function
as executables) and do not handle them like .exe suffixes in
other functions.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/fhandler/disk_file.cc
winsup/cygwin/globals.cc
winsup/cygwin/release/3.4.0
winsup/cygwin/spawn.cc
winsup/cygwin/syscalls.cc
This page took 0.029421 seconds and 5 git commands to generate.