| commit | f4ab1188c055d65c99663902317eb5ec4cfc7271 | [log] [tgz] |
|---|---|---|
| author | Tom Tromey <tom@tromey.com> | Fri Aug 23 18:46:25 2024 -0600 |
| committer | Tom Tromey <tom@tromey.com> | Sat Oct 19 13:18:00 2024 -0600 |
| tree | 33ebf54c8ac59e76f18028d2f6a9098c485d7d09 | |
| parent | 03ace3807c891427019686f4137ad0257d63e138 [diff] |
Add cwd paramter to openp This patch adds a cwd paramter to openp, so that the current directory can be passed in by the caller. This is useful when background threads call this function -- they can then avoid using the global and thus avoid races with the user using "cd". Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31716