[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58080: 29.0.50; Don't hard-code path to pwd
From: |
Andreas Schwab |
Subject: |
bug#58080: 29.0.50; Don't hard-code path to pwd |
Date: |
Mon, 26 Sep 2022 10:34:40 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
On Sep 26 2022, Gregory Heytings wrote:
> The difference is that /bin/pwd gives, unlike pwd, the "true" path
> (without symlinks).
Like pwd -P. Though if $PWD is no longer accurate, pwd works like pwd -P.
> Not sure if it's important enough to justify the use of /bin/pwd,
> though. The use of /bin/pwd instead of pwd dates from 8672a560f6 by
> RMS in 1994.
pwd -P didn't yet exist back then.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
- bug#58080: 29.0.50; Don't hard-code path to pwd, Jonas Bernoulli, 2022/09/25
- bug#58080: 29.0.50; Don't hard-code path to pwd, Eli Zaretskii, 2022/09/26
- bug#58080: 29.0.50; Don't hard-code path to pwd, Gregory Heytings, 2022/09/26
- bug#58080: 29.0.50; Don't hard-code path to pwd,
Andreas Schwab <=
- bug#58080: 29.0.50; Don't hard-code path to pwd, Gregory Heytings, 2022/09/26
- bug#58080: 29.0.50; Don't hard-code path to pwd, Gregory Heytings, 2022/09/26
- bug#58080: 29.0.50; Don't hard-code path to pwd, Jonas Bernoulli, 2022/09/26
- bug#58080: 29.0.50; Don't hard-code path to pwd, Gregory Heytings, 2022/09/26
- bug#58080: 29.0.50; Don't hard-code path to pwd, Gregory Heytings, 2022/09/28