Skip to content

Commit 5fc4cec

Browse files
SquallATFGit for Windows Build Agent
authored and
Git for Windows Build Agent
committed
Fix native symbolic link spawn passing wrong arg0
1 parent a07484f commit 5fc4cec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

winsup/cygwin/spawn.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ perhaps_suffix (const char *prog, path_conv& buf, int& err, unsigned opt)
5050

5151
err = 0;
5252
debug_printf ("prog '%s'", prog);
53-
buf.check (prog, PC_SYM_FOLLOW | PC_NULLEMPTY | PC_POSIX,
53+
buf.check (prog, PC_SYM_FOLLOW | PC_SYM_NOFOLLOW_REP | PC_NULLEMPTY | PC_POSIX,
5454
(opt & FE_DLL) ? stat_suffixes : exe_suffixes);
5555

5656
if (buf.isdir ())

0 commit comments

Comments
 (0)