aboutsummaryrefslogtreecommitdiff
path: root/config/po.m4
diff options
context:
space:
mode:
authorKen Brown <kbrown@cornell.edu>2022-08-03 16:45:23 -0400
committerKen Brown <kbrown@cornell.edu>2022-08-04 15:51:39 -0400
commitc2aa5b6d74139cc2236f4cdf415d7a133a61042d (patch)
tree6b213ff1acdd58233b27d2e3ef1c31b048a18d80 /config/po.m4
parent288788f91eadf307aa77853396917d9f9398adb9 (diff)
downloadnewlib-c2aa5b6d74139cc2236f4cdf415d7a133a61042d.zip
newlib-c2aa5b6d74139cc2236f4cdf415d7a133a61042d.tar.gz
newlib-c2aa5b6d74139cc2236f4cdf415d7a133a61042d.tar.bz2
Cygwin: syscalls.cc: remove ".dll" from blessed_executable_suffixes
This reverts commit d9e9c7b5a7. The latter added ".dll" to the blessed_executable_suffixes array because on 32-bit Windows, the GetBinaryType function would report that a 64-bit DLL is an executable, contrary to the documentation of that function. That anomaly does not exist on 64-bit Windows, so we can remove ".dll" from the list. Reverting the commit does, however, change the behavior of the rename(2) syscall in the following unlikely situation: Suppose we have an executable foo.exe and we make the call rename ("foo", "bar.dll"); Previously, foo.exe would be renamed to bar.dll. So bar.dll would then be an executable without the .exe extension. The new behavior is that foo.exe will be renamed to bar.dll.exe. [Exception: If there already existed an executable (not a DLL!) with the name bar.dll, then .exe will not be appended.]
Diffstat (limited to 'config/po.m4')
0 files changed, 0 insertions, 0 deletions