[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Useful patch for Win32 / WSA errors


Now it's stuck because of open threads...

I'm new to gitlab. I could close the threads myself, at least there's a button. But I think the "netiquette" is to ask you to review it ...?

Cheers
Till

July 25, 2025 3:06 PM, g4-lisz@xxxxxxxxxxxx (mailto:g4-lisz@xxxxxxxxxxxx) wrote:
Hi Jakub

It's in the pipeline...

Cheers
Till

July 25, 2025 9:28 AM, "Jakub Jelen" <jjelen@xxxxxxxxxx (mailto:jjelen@xxxxxxxxxx?to=%22Jakub%20Jelen%22%20<jjelen@xxxxxxxxxx>)> wrote:
Hi, I am not a windows expert so I do not know if there is a better way to do that. But if it is helpful for you, it should be helpful for more of libssh users or developers so we would be happy to accept this as a MR on gitlab.

Thanks,
Jakub
On Fri, Jul 25, 2025 at 1:13 AM <g4-lisz@xxxxxxxxxxxx (mailto:g4-lisz@xxxxxxxxxxxx)> wrote:
With my cross compiled version for Windows I use this patch to get more meaningful error messages from winsock (attached),

strerror_s() doesn't know WSA error numbers. One would actually need FormatMessage() for this purpose.

Cheers
Till

References:
Re: Useful patch for Win32 / WSA errorsg4-lisz@xxxxxxxxxxxx
Re: Useful patch for Win32 / WSA errorsJakub Jelen <jjelen@xxxxxxxxxx>
Useful patch for Win32 / WSA errorsg4-lisz@xxxxxxxxxxxx
Archive administrator: postmaster@lists.cynapses.org