Re: possible snprintf() regression in 3.3.2

2021-11-23 Thread Takashi Yano via Cygwin
On Tue, 23 Nov 2021 10:48:21 +0100 Corinna Vinschen wrote: > On Nov 23 17:34, Takashi Yano via Cygwin wrote: > > However, in reality, for example in the case: > > snprintf(buf, sizeof(buf), "%.3f", 1234567890123456.789); > > 'ndigits' is only 3 even though total digits will be 20. > > > > So, Tony

Re: raise(-1) has stopped returning an error recently

2021-11-23 Thread Duncan Roe
On Tue, Nov 23, 2021 at 11:18:25AM -0700, Brian Inglis wrote: > On 2021-11-23 02:50, Corinna Vinschen via Cygwin wrote: > > On Nov 23 19:27, Duncan Roe wrote: > > > On Mon, Nov 22, 2021 at 02:06:19PM +0100, cygwin wrote: > > > > On Nov 22 11:25, Corinna Vinschen via Cygwin wrote: > > > > > On Nov 2

Re: raise(-1) has stopped returning an error recently

2021-11-23 Thread Brian Inglis
On 2021-11-23 02:50, Corinna Vinschen via Cygwin wrote: On Nov 23 19:27, Duncan Roe wrote: On Mon, Nov 22, 2021 at 02:06:19PM +0100, cygwin wrote: On Nov 22 11:25, Corinna Vinschen via Cygwin wrote: On Nov 22 16:20, Duncan Roe wrote: #include #include int main (void) { int retcod; r

Re: Program files environmental variables

2021-11-23 Thread Brian Inglis
On 2021-11-23 02:02, john doe via Cygwin wrote: Cygwins, Is there a way to get the value of PROGRAMFILES(x86) and PROGRAMW6432 in Bash: $ echo $PROGRAMFILES; echo "$PROGRAMFILES(x86)"; echo $PROGGRAMW6432 C:\Program Files C:\Program Files(x86) $ cmd.exe /C "echo %PROGRAMFILES% %PROGRAMFILES(x8

Re: Program files environmental variables

2021-11-23 Thread Eliot Moss
On 11/23/2021 10:15 AM, john doe via Cygwin wrote: On 11/23/2021 2:10 PM, Eliot Moss wrote: On 11/23/2021 4:02 AM, john doe via Cygwin wrote:  > Cygwins,  >  > Is there a way to get the value of PROGRAMFILES(x86) and PROGRAMW6432 in  > Bash:  >  > $ echo $PROGRAMFILES; echo "$PROGRAMFILES(x86)";

Re: Program files environmental variables

2021-11-23 Thread john doe via Cygwin
On 11/23/2021 2:10 PM, Eliot Moss wrote: On 11/23/2021 4:02 AM, john doe via Cygwin wrote: > Cygwins, > > Is there a way to get the value of PROGRAMFILES(x86) and PROGRAMW6432 in > Bash: > > $ echo $PROGRAMFILES; echo "$PROGRAMFILES(x86)"; echo $PROGGRAMW6432 > C:\Program Files > C:\Progr

Re: Program files environmental variables

2021-11-23 Thread john doe via Cygwin
On 11/23/2021 10:37 AM, Daniel Abrahamsson wrote: John Doe wrote: Cygwins, Is there a way to get the value of PROGRAMFILES(x86) and PROGRAMW6432 in Bash: $ echo $PROGRAMFILES; echo "$PROGRAMFILES(x86)"; echo $PROGGRAMW6432 C:\Program Files C:\Program Files(x86) $ cmd.exe /C "echo %PROGRAMFIL

Re: Program files environmental variables

2021-11-23 Thread Eliot Moss
On 11/23/2021 4:02 AM, john doe via Cygwin wrote: > Cygwins, > > Is there a way to get the value of PROGRAMFILES(x86) and PROGRAMW6432 in > Bash: > > $ echo $PROGRAMFILES; echo "$PROGRAMFILES(x86)"; echo $PROGGRAMW6432 > C:\Program Files > C:\Program Files(x86) > > $ cmd.exe /C "echo %PROGRAMFILES

Re: Program files environmental variables

2021-11-23 Thread Lemures Lemniscati via Cygwin
On Tue, 23 Nov 2021 10:52:18 +0100, Csaba Raduly via Cygwin > On Tue, 23 Nov 2021 at 10:02, john doe via Cygwin wrote: > > > > Cygwins, > > > > Is there a way to get the value of PROGRAMFILES(x86) and PROGRAMW6432 in > > Bash: > > > > $ env | grep PROGRAMFILES > COMMONPROGRAMFILES=C:\Program File

Re: Program files environmental variables

2021-11-23 Thread Csaba Raduly via Cygwin
On Tue, 23 Nov 2021 at 10:02, john doe via Cygwin wrote: > > Cygwins, > > Is there a way to get the value of PROGRAMFILES(x86) and PROGRAMW6432 in > Bash: > $ env | grep PROGRAMFILES COMMONPROGRAMFILES=C:\Program Files\Common Files PROGRAMFILES=C:\Program Files These are the environment variable

Re: raise(-1) has stopped returning an error recently

2021-11-23 Thread Corinna Vinschen via Cygwin
On Nov 23 19:27, Duncan Roe wrote: > On Mon, Nov 22, 2021 at 02:06:19PM +0100, cygwin wrote: > > On Nov 22 11:25, Corinna Vinschen via Cygwin wrote: > > > On Nov 22 16:20, Duncan Roe wrote: > > > > #include > > > > #include > > > > > > > > int > > > > main (void) > > > > { > > > > int retcod; >

Re: possible snprintf() regression in 3.3.2

2021-11-23 Thread Corinna Vinschen via Cygwin
On Nov 23 17:34, Takashi Yano via Cygwin wrote: > On Tue, 23 Nov 2021 10:23:02 +1100 > Tony Cook wrote: > > On Mon, Nov 22, 2021 at 02:04:06PM +0100, Corinna Vinschen via Cygwin wrote: > > > On Nov 22 11:34, Corinna Vinschen via Cygwin wrote: > > > > On Nov 21 11:16, Tony Cook wrote: > > > > > A si

Re: issues with cygwin programs in windows console

2021-11-23 Thread Takashi Yano via Cygwin
On Tue, 23 Nov 2021 08:53:49 + Миронов Леонид Владимирович via Cygwin wrote: > Something, probably a recent windows 10 update (currently at 10.0.17763.2300 > - way behind, but it is LTSC) broke cygwin programs using fullscreen > (ncurses?) console output e.g. less, mc, vi when run in Window

Re: [ANNOUNCEMENT] Updated: cygutils 1.4.16-8 (Test)

2021-11-23 Thread Mark Geisert
Jon Turney wrote: On 21/11/2021 10:36, Mark Geisert wrote: Hi Denis, Denis Excoffier wrote: Hello, On 2021-11-03 10:59, Mark Geisert wrote: The following packages have been uploaded to the Cygwin distribution: * cygutils-1.4.16-8 * cygutils-extra-1.4.16-8 * cygutils-x11-1.4.16-8 The '-u

Program files environmental variables

2021-11-23 Thread john doe via Cygwin
Cygwins, Is there a way to get the value of PROGRAMFILES(x86) and PROGRAMW6432 in Bash: $ echo $PROGRAMFILES; echo "$PROGRAMFILES(x86)"; echo $PROGGRAMW6432 C:\Program Files C:\Program Files(x86) $ cmd.exe /C "echo %PROGRAMFILES% %PROGRAMFILES(x86)% %PROGRAMW6432%" C:\Program Files C:\Program F

issues with cygwin programs in windows console

2021-11-23 Thread Миронов Леонид Владимирович via Cygwin
Something, probably a recent windows 10 update (currently at 10.0.17763.2300 - way behind, but it is LTSC) broke cygwin programs using fullscreen (ncurses?) console output e.g. less, mc, vi when run in Windows console windows (cmd and such): they produce no output at all, just black screen with

Re: possible snprintf() regression in 3.3.2

2021-11-23 Thread Takashi Yano via Cygwin
On Tue, 23 Nov 2021 10:23:02 +1100 Tony Cook wrote: > On Mon, Nov 22, 2021 at 02:04:06PM +0100, Corinna Vinschen via Cygwin wrote: > > On Nov 22 11:34, Corinna Vinschen via Cygwin wrote: > > > On Nov 21 11:16, Tony Cook wrote: > > > > On Thu, Nov 18, 2021 at 09:08:40PM +, Sam Edge via Cygwin wr

Re: raise(-1) has stopped returning an error recently

2021-11-23 Thread Duncan Roe
On Mon, Nov 22, 2021 at 02:06:19PM +0100, cygwin wrote: > On Nov 22 11:25, Corinna Vinschen via Cygwin wrote: > > On Nov 22 16:20, Duncan Roe wrote: > > > Hi, > > > > > > I stumbled across this when running 'make check' in the grep source > > > directory. > > > > > > test-raise failed when it didn