genpeimg replacement or application that act like it

2022-12-12 Thread Jose Isaias Cabrera via Cygwin
Greetings! I tried using setup to install an application called 'genpeimg', https://sources.debian.org/src/mingw-w64/10.0.0-2/mingw-w64-tools/genpeimg/ but I could not find it in the repo. Is there an application that does the same thing in Cygwin? Thanks. josé -- Problem reports: htt

RE: Creating the sqlite3.exe stand-alone w/o cygwin dependency

2022-12-12 Thread Jose Isaias Cabrera via Cygwin
On December 11, 2022 3:42 PM, Michael Soegtrop expressed: > > Hi José, > > Yes, I did. I think you missed one of my emails. But, here is what I did: > > $ ldd sqlite3.exe > > ntdll.dll => /cygdrive/c/Windows/SYSTEM32/ntdll.dll > > (0x7ffc1d6f) > > ntdll.dll => /cygdrive/c

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 r

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 go

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 wa

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 m

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:ht

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
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 meant by default (the -P behavior). If -s was asked, then the output would be corect. An

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 m

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 sho

[ANNOUNCEMENT] Updated: Git v2.38.2

2022-12-12 Thread Adam Dinwoodie via Cygwin
Version 2.38.2-1 of Git has been uploaded to the Cygwin distribution servers, and should be coming soon to a mirror near you. Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. This is an upda

Re: Strange behavior when executing programs

2022-12-12 Thread Corinna Vinschen via Cygwin
On Dec 12 13:46, Frank Redeker via Cygwin wrote: > Am 12/12/2022 um 1:12 PM schrieb Corinna Vinschen: > > On Dec 12 11:21, Frank Redeker via Cygwin wrote: > > > $ pwd > > > /cygdrive/s/ado > > > > > > $ realpath /cygdrive/s/ado/msadox.dll > > > /cygdrive/s/ado/msadox.dll > > > > > > $ realpath ms

Re: Strange behavior when executing programs

2022-12-12 Thread Frank Redeker via Cygwin
Am 12/12/2022 um 1:12 PM schrieb Corinna Vinschen: On Dec 12 11:21, Frank Redeker via Cygwin wrote: $ pwd /cygdrive/s/ado $ realpath /cygdrive/s/ado/msadox.dll /cygdrive/s/ado/msadox.dll $ realpath msadox.dll /cygdrive/c/Program Files/Common Files/System/ado/msadox.dll Is there any way to re

Re: Strange behavior when executing programs

2022-12-12 Thread Corinna Vinschen via Cygwin
On Dec 12 11:21, Frank Redeker via Cygwin wrote: > $ pwd > /cygdrive/s/ado > > $ realpath /cygdrive/s/ado/msadox.dll > /cygdrive/s/ado/msadox.dll > > $ realpath msadox.dll > /cygdrive/c/Program Files/Common Files/System/ado/msadox.dll > > > Is there any way to restore the old behavior. Since wi

Re: Regarding EFBIG error while opening a file using catopen() function

2022-12-12 Thread Corinna Vinschen via Cygwin
It's somewhat rude to send such a request to everybody and the kitchen sink. This belong on the cygwin ML, so please keep it here. On Dec 12 10:40, Kavita Gore via Cygwin wrote: > Hi all, > > I'm getting errno 27[EFBIG] file too large while opening catalogue with > catopen() function in the cy

Strange behavior when executing programs

2022-12-12 Thread Frank Redeker via Cygwin
Hello List, I have a strange behavior when the executing a program in a shell. I'm on Windows 10 Version 22H2 (OS Build 19045.2251). The strange behavior occurs when the current directory is on a drive created with subst. Originally I found the problem in a MSYS shell and already reported the