Re: std::runtime_error on std::locale("")

2023-09-21 Thread ASSI via Cygwin
Takashi Yano via Cygwin writes: > I wonder why the following code throws std::runtime_error > even though the LC_ALL is set to valid locale other than "C". > This does not occur only when LC_ALL is set to "C". This functionality is currently only supported for Glibc targets in libstdc++. I seem t

Python C Extension Module loading issue on Cygwin

2023-09-21 Thread Mesibo Technical via Cygwin
This issue is about Python on Cygwin not using the recommended module extension. We have a real-time messaging Python module (https://pypi.org/project/mesibo/) available on various platforms, including Linux, macOS, Windows, and Raspberry Pi. It is written in C/C++ and has been working correctly o

Shell API to get Windows SID from Cygwin name?

2023-09-21 Thread Martin Wege via Cygwin
Hello, Does Cygwin have a shell (e.g. bash) API to lookup the Windows SID for a given Cygwin user or group name? /usr/bin/getent usersid thisisausername does not work Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documen

Re: std::runtime_error on std::locale("")

2023-09-21 Thread Martin Wege via Cygwin
On Thu, Sep 21, 2023 at 9:07 PM Christian Franke via Cygwin wrote: > > Brian Inglis via Cygwin wrote: > > On 2023-09-21 10:28, Takashi Yano via Cygwin wrote: > >> On Fri, 22 Sep 2023 01:12:04 +0900 > >> Takashi Yano wrote: > >>> I wonder why the following code throws std::runtime_error > >>> even

Re: Question on statically linking with cygwin

2023-09-21 Thread Martin Wege via Cygwin
On Tue, Sep 19, 2023 at 5:24 PM Johannes Thoma via Cygwin wrote: > > Hi, > > As I understood the reason for not being able to statically link > the cygwin1.dll in to a binary and distribute that is because of > licensing issues. Do you have any references for that? > Are there any technical issu

Unmount USB stick from Cygwin shell?

2023-09-21 Thread Martin Wege via Cygwin
Hello, How can I unmount an USB stick from the bash shell? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

/usr/bin/dd *.iso to USB stick?

2023-09-21 Thread Martin Wege via Cygwin
Hello, How can I use /usr/bin/dd to copy a *.iso image (Debian netinstall boot image) to a USB stick as raw bytes? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscrib

Running bash script as SYSTEM from account with admin rights?

2023-09-21 Thread Martin Wege via Cygwin
Hello, Does Cygwin have a tool to run a bash script as SYSTEM user if my account already have admin rights? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info:

Re: std::runtime_error on std::locale("")

2023-09-21 Thread Takashi Yano via Cygwin
On Thu, 21 Sep 2023 21:06:59 +0200 Christian Franke wrote: > Brian Inglis via Cygwin wrote: > > On 2023-09-21 10:28, Takashi Yano via Cygwin wrote: > >> On Fri, 22 Sep 2023 01:12:04 +0900 > >> Takashi Yano wrote: > >>> I wonder why the following code throws std::runtime_error > >>> even though the

righteoushack.com

2023-09-21 Thread Alic Brotzman via Cygwin
Hello, I noticed you have righteoushack.net. Are you interested in righteoushack.com? Only the name is on sale, it does not have a website. I would be happy to hear from you! Alic Brotzman -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ D

Re: Announcements now only go to the cygwin-announce list

2023-09-21 Thread Duncan Roe via Cygwin
Hi cygwin, On Thu, Sep 21, 2023 at 03:46:31PM +0100, cygwin wrote: > > The auto-forwarding of announcements from the cygwin-announce mailing list > to the cygwin mailing list has been removed. > > This seems to be hard to make work reliably (sometimes it doubles the > messages, sometimes they don'

Re: std::runtime_error on std::locale("")

2023-09-21 Thread Christian Franke via Cygwin
Brian Inglis via Cygwin wrote: On 2023-09-21 10:28, Takashi Yano via Cygwin wrote: On Fri, 22 Sep 2023 01:12:04 +0900 Takashi Yano wrote: I wonder why the following code throws std::runtime_error even though the LC_ALL is set to valid locale other than "C". This does not occur only when LC_ALL

Re: std::runtime_error on std::locale("")

2023-09-21 Thread Brian Inglis via Cygwin
On 2023-09-21 10:28, Takashi Yano via Cygwin wrote: On Fri, 22 Sep 2023 01:12:04 +0900 Takashi Yano wrote: I wonder why the following code throws std::runtime_error even though the LC_ALL is set to valid locale other than "C". This does not occur only when LC_ALL is set to "C". #include int ma

Re: Announcements now only go to the cygwin-announce list

2023-09-21 Thread Brian Inglis via Cygwin
On 2023-09-21 08:46, Jon Turney via Cygwin wrote: The auto-forwarding of announcements from the cygwin-announce mailing list to the cygwin mailing list has been removed. This seems to be hard to make work reliably (sometimes it doubles the messages, sometimes they don't get forwarded), apparen

Re: std::runtime_error on std::locale("")

2023-09-21 Thread Takashi Yano via Cygwin
On Fri, 22 Sep 2023 01:12:04 +0900 Takashi Yano wrote: > I wonder why the following code throws std::runtime_error > even though the LC_ALL is set to valid locale other than "C". > This does not occur only when LC_ALL is set to "C". > > #include > int main() > { > std::locale(""); > r

std::runtime_error on std::locale("")

2023-09-21 Thread Takashi Yano via Cygwin
I wonder why the following code throws std::runtime_error even though the LC_ALL is set to valid locale other than "C". This does not occur only when LC_ALL is set to "C". #include int main() { std::locale(""); return 0; } In linux, this occurs only when the LC_ALL is set to inva

Announcements now only go to the cygwin-announce list

2023-09-21 Thread Jon Turney via Cygwin
The auto-forwarding of announcements from the cygwin-announce mailing list to the cygwin mailing list has been removed. This seems to be hard to make work reliably (sometimes it doubles the messages, sometimes they don't get forwarded), apparently prevents us from adding a meaningful standa