Greetings, Kristian Ivarsson via Cygwin!
> If the user sets its TMP-variable to "C:\Jabba Dabba Dooo" or "/jabba dabba
> doo", I expect the value of getenv("TMP") should be just that and regardless
> of OS the value returned is whatever the variable is set to and not magically
> changed to "/tmp"
That's how it works. It's just that Cygwin provides /tmp aliasing as a mount
point option for a better usage experience.
See /etc/fstab - the usertemp FS pseudotype.
I.e.
none /tmp usertemp binary,nouser,posix=1 0 0
If yo have a different TMP (than TEMP), check your shell startup for any
redefinitions.
--
With best regards,
Andrey Repin
Sunday, September 20, 2020 10:16:54
Sorry for my terrible english...
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple