Re: [Mingw-w64-public] A problem with getcwd() and chdir()

2020-10-06 Thread JonY via Mingw-w64-public
On 10/6/20 8:12 PM, Arjen Markus wrote: Hello, I have run into a problem with the functions getcwd() and chdir() used via the GCC compiler under MinGW. I try to use the directory "/home" (well, just an example): ls /home cd /home give no problem, but chdir("/home") in a C program fails. I used g

[Mingw-w64-public] A problem with getcwd() and chdir()

2020-10-06 Thread Arjen Markus
Hello, I have run into a problem with the functions getcwd() and chdir() used via the GCC compiler under MinGW. I try to use the directory "/home" (well, just an example): ls /home cd /home give no problem, but chdir("/home") in a C program fails. I used getcwd() to see what the actual directory n