Skip to content

Commit

Permalink
Fix native symbolic link spawn passing wrong arg0
Browse files Browse the repository at this point in the history
  • Loading branch information
SquallATF authored and Git for Windows Build Agent committed Apr 30, 2019
1 parent a07484f commit 5fc4cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion winsup/cygwin/spawn.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ perhaps_suffix (const char *prog, path_conv& buf, int& err, unsigned opt)

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

if (buf.isdir ())
Expand Down

0 comments on commit 5fc4cec

Please sign in to comment.