Created attachment 905032 [details] emerge --info do the following (as per post install section) ``` * To enable exiting to latest working directory, * put this into your ~/.bashrc: * . /usr/libexec/mc/mc.sh ``` Run MC and go to any directory. Exit from MC, the directly will not be same. A very quick observation: /usr/libexec/mc/mc-wrapper.sh the script generates random /tmp/mc-XYZ instead /tmp/mc-USER I have downgraded back to app-misc/mc-4.8.30-r2, everything is back to normal.
https://midnight-commander.org/ticket/4535 this could be it
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df5d68b75f3e03ed0463d73665b6cc0bf6614c0a commit df5d68b75f3e03ed0463d73665b6cc0bf6614c0a Author: Viorel Munteanu <ceamac@gentoo.org> AuthorDate: 2024-10-08 05:11:20 +0000 Commit: Viorel Munteanu <ceamac@gentoo.org> CommitDate: 2024-10-08 05:12:06 +0000 app-misc/mc: fix exiting to latest working directory This was a regression in 4.8.32, fixed after the release. Closes: https://bugs.gentoo.org/941099 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org> app-misc/mc/files/mc-4.8.32-fix-chdir.patch | 129 +++++++++++++++++++++++++ app-misc/mc/mc-4.8.32-r1.ebuild | 140 ++++++++++++++++++++++++++++ 2 files changed, 269 insertions(+)