-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Regression in Command::exec's PATH resolution #55775
Copy link
Copy link
Closed
Labels
T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.
Milestone
Metadata
Metadata
Assignees
Labels
T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Using
env_clear()+exec()currently exhibits different behaviour on nightly and stable.I believe the first nightly to regress was
2018-11-02.A minimal reproduction is the following code:
On stable, it prints no error. On nightly, it prints
error: No such file or directory (os error 2).Using
strace -e trace=execve, we can see the difference:Meta