Re: [EXTERNAL] Re: Strange behavior when executing programs

2022-12-12 Thread Frank Redeker via Cygwin
Am 12/12/2022 um 4:41 PM schrieb Corinna Vinschen via Cygwin: On Dec 12 15:22, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: Sorry about the earlier typos (and, hence, I suppose for the purposes of the OP). and, hence, I suppose, *would work* for the purposes of the OP. Since

Re: [EXTERNAL] Re: Strange behavior when executing programs

2022-12-12 Thread Corinna Vinschen via Cygwin
On Dec 12 16:42, Corinna Vinschen via Cygwin wrote: > On Dec 12 15:29, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > > > The problem is that resolved paths may become longer than MAX_PATH. > > > > Oh... But that'd be the same on any other OS that exceeds MAX_PATH, > > symlinking is

Re: [EXTERNAL] Re: Strange behavior when executing programs

2022-12-12 Thread Corinna Vinschen via Cygwin
On Dec 12 15:29, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > > The problem is that resolved paths may become longer than MAX_PATH. > > Oh... But that'd be the same on any other OS that exceeds MAX_PATH, > symlinking is going to help work around that, > if the full path resolution

Re: [EXTERNAL] Re: Strange behavior when executing programs

2022-12-12 Thread Corinna Vinschen via Cygwin
On Dec 12 15:22, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > Sorry about the earlier typos > > > (and, hence, I suppose for the purposes of the OP). > > and, hence, I suppose, *would work* for the purposes of the OP. > > > Since realpath is supposed to resolve all symlinks, > > I

RE: [EXTERNAL] Re: Strange behavior when executing programs

2022-12-12 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
Was supposed to be: > symlinking is *NOT* going to help work around that Sorry I am struggling with MS Outlook this morning Anton Lavrentiev Contractor NIH/NLM/NCBI -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:

RE: [EXTERNAL] Re: Strange behavior when executing programs

2022-12-12 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> The problem is that resolved paths may become longer than MAX_PATH. Oh... But that'd be the same on any other OS that exceeds MAX_PATH, symlinking is going to help work around that, if the full path resolution was requested. BTW, about MAX_PATH -- was it Cygwin's or Windows'? If the former,

RE: [EXTERNAL] Re: Strange behavior when executing programs

2022-12-12 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
ct: RE: [EXTERNAL] Re: Strange behavior when executing programs > > > Let's consider this problem again, but I don't see a quick and easy > > solution. > > $ realpath /cygdrive/s/ado/msadox.dll > /cygdrive/s/ado/msadox.dll<== IMO the problem is actually he

Re: [EXTERNAL] Re: Strange behavior when executing programs

2022-12-12 Thread Corinna Vinschen via Cygwin
On Dec 12 14:52, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > > Let's consider this problem again, but I don't see a quick and easy > > solution. > > $ realpath /cygdrive/s/ado/msadox.dll > /cygdrive/s/ado/msadox.dll<== IMO the problem is actually here > > $ realpath

RE: [EXTERNAL] Re: Strange behavior when executing programs

2022-12-12 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> Let's consider this problem again, but I don't see a quick and easy > solution. $ realpath /cygdrive/s/ado/msadox.dll /cygdrive/s/ado/msadox.dll<== IMO the problem is actually here $ realpath msadox.dll /cygdrive/c/Program Files/Common Files/System/ado/msadox.dll Both paths