Re: [ERROR] Locale Monetary Symbol Prints Wrongly on Windows : Cygwin

2023-03-12 Thread Brian Inglis via Cygwin
On 2023-03-12 18:40, Yeo Kai Wei via Cygwin wrote: May I ask if there's a bug with Cygwin and Windows currency? Windows Language Locale culture codes and currencies This is the output from the code below. Region: en_AU.utf-8 Currency symbol: $ International currency symbol: AUD Region: en_CA.

[ERROR] Locale Monetary Symbol Prints Wrongly on Windows : Cygwin

2023-03-12 Thread Yeo Kai Wei via Cygwin
Hi All, May I ask if there's a bug with Cygwin and Windows currency? This is the output from the code below. Region: en_AU.utf-8 Currency symbol: $ International currency symbol: AUD Region: en_CA.utf-8 Currency symbol: $ International currency symbol: CAD Region: en_GB.utf-8 Currency symbol: £

Re: 3.4.6-1 shm_open always returns -1, errno EINVAL

2023-03-12 Thread Matthew Rickard via Cygwin
That's perfect, thank you! On 12/03/2023 9:35 pm, Csaba Raduly wrote: Hi Matthew, ... https://man7.org/linux/man-pages/man3/shm_open.3.html says: For portable use, a shared memory object should be identified by a name of the form /somename; that is, a null-terminated string o

[ANNOUNCEMENT] Updated: fortune-mod 3.18

2023-03-12 Thread Cygwin fortune-mod Maintainer via Cygwin-announce via Cygwin
The following packages have been upgraded in the Cygwin distribution: * fortune-mod 3.18 The ever-popular fortune program, which will display quotes or witticisms. Fun-loving system administrators can add fortune to users' .profile or .login files so that they get their dose of wisdom each time

[ANNOUNCEMENT] Updated: cpuid 20230306

2023-03-12 Thread Cygwin cpuid Maintainer via Cygwin-announce via Cygwin
The following package has been upgraded in the Cygwin distribution: * cpuid 20230306 Displays detailed information about the CPU(s) gathered from the CPUID instruction, and also determines the exact model of CPU(s). Whereas /proc/cpuinfo is like an abstract of the features important to L

Re: 3.4.6-1 shm_open always returns -1, errno EINVAL

2023-03-12 Thread Csaba Raduly via Cygwin
Hi Matthew, On Sun, 12 Mar 2023 at 07:44, Matthew Rickard wrote: > > Hi all, > > Cygwin 3.4.6-1 shm_open seems to reject all calls, returning the value > -1 and setting errno to 22 EINVAL. > > For example, this program: > > #include > #include > #include > #include > > int main() { >int