Re: [PATCH v6 4/4] Do not rely on `getenv ("HOME")`'s path conversion

2023-04-06 Thread Corinna Vinschen
On Apr 6 11:54, Johannes Schindelin wrote: > On Thu, 6 Apr 2023, Corinna Vinschen wrote: > > While the description is clear on the colon problem, shouldn't this > > catch UNC paths as well? I. e., just check for strchr(home, '\\')? > > Good idea! I do not know off-hand how well things work when

Re: [PATCH v6 4/4] Do not rely on `getenv ("HOME")`'s path conversion

2023-04-06 Thread Johannes Schindelin
Hi Corinna, On Thu, 6 Apr 2023, Corinna Vinschen wrote: > On Apr 4 17:07, Johannes Schindelin wrote: > > In the very early code path where `dll_crt0_1 ()` calls > > `user_shared->initialize ()`, the Cygwin runtime calls `internal_pwsid ()` > > to initialize the user name in preparation for readi

Re: [PATCH v6 4/4] Do not rely on `getenv ("HOME")`'s path conversion

2023-04-06 Thread Corinna Vinschen
On Apr 4 17:07, Johannes Schindelin wrote: > In the very early code path where `dll_crt0_1 ()` calls > `user_shared->initialize ()`, the Cygwin runtime calls `internal_pwsid ()` > to initialize the user name in preparation for reading the `fstab` file. > > In case `db_home: env` is defined in `/e