wine/programs/cmd
Maarten De Braekeleer 5e2f9996ba cmd: Fix 'if exist' with a directory/ as a parameter.
'if exists' takes a parameter which can be directory, directory/,
directory/. directory\ or directory\. for example, and should equate
to true if the directory exists. The syntax directory\ is explicitly
rejected by FindFirstFile and hence was not working - look for this
specific case, and if found append a '.'.

Follow-up commit of bc9d68bcbe

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55130#add_comment
2023-06-26 16:44:17 +02:00
..
tests cmd: Fix 'if exist' with a directory/ as a parameter. 2023-06-26 16:44:17 +02:00
batch.c cmd: Use standard C functions for memory allocation. 2022-12-09 17:52:25 +01:00
builtins.c cmd: Fix 'if exist' with a directory/ as a parameter. 2023-06-26 16:44:17 +02:00
cmd.rc
directory.c cmd: Use standard C functions for memory allocation. 2022-12-09 17:52:25 +01:00
Makefile.in
wcmd.h cmd: Use standard C functions for memory allocation. 2022-12-09 17:52:25 +01:00
wcmd.ico
wcmd.svg
wcmdmain.c cmd: Fix empty strings between PATH separators. 2023-06-21 18:25:48 +02:00