Re: Problem to develop Qt5 application in Samba share

2020-01-13 Thread PAULUS, Raimund, TI-ABN
The problem is solved. It was an entry in the Samba configuration file smb.conf in section [global]: unix charset = ISO8859-1 After deleting this entry qmake works correctly. R. Paulus For many years i develop C/C++ applications in Cygwin with source code located in Samba shares. The

Re: stty -cooked not usable since cygwin-3.1.1-1

2020-01-13 Thread Rabbe Fogelholm
Takashi Yano wrote: On Mon, 13 Jan 2020 11:52:43 +0100 Rabbe Fogelholm wrote: I am running a console Java program that is started from a shellscript wrapper. Before invoking Java the wrapper calls `stty -cooked'. The Java program polls the keyboard using System.in.available() and reads

Re: Request package updates for Poppler, Subversion and Git

2020-01-13 Thread Kptain
Thanks for your help. It is probably better to wait for next perl 5.30.1 release that should be available soon. Next package that I am not able to build by myself concerns poppler package as lot of library dependencies are not resolved. -- Sent from:

Re: stty -cooked not usable since cygwin-3.1.1-1

2020-01-13 Thread Takashi Yano
On Mon, 13 Jan 2020 11:52:43 +0100 Rabbe Fogelholm wrote: > I am running a console Java program that is started from a shellscript > wrapper. Before invoking Java the wrapper calls `stty -cooked'. The Java > program polls the keyboard using System.in.available() and reads > characters immediately

Re: lftp 4.9.0-1 segmentation fault (core dumped)

2020-01-13 Thread Henry S. Thompson
thierry blind writes: > I updated lftp 4.8.4-1 to lftp 4.9.0-1 but now calling following > command will always core dump (I anonymized some confidential data): Likewise, with just lftp, no arguments at all! : gdb lftp (gdb) run Starting program: /usr/bin/lftp [New Thread 23540.0x480c] [New

[ANNOUNCEMENT] meson 0.52.1-1

2020-01-13 Thread Jon Turney
The following packages have been uploaded to the Cygwin distribution: * meson-0.51.2-1 Meson is an open source build system meant to be extremely fast. It generates files for various backends including Ninja, Visual Studio, and Xcode. Meson does not generate Makefiles, relying solely on

[ANNOUNCEMENT] Updated: octave-5.1.0-1

2020-01-13 Thread Marco Atzeri
New versions 5.1.0-1 of octave octave-devel octave-doc are available in the Cygwin distribution: CHANGES Latest upstream release. https://www.gnu.org/software/octave/news/release/2019/03/01/octave-5.1-released.html Full changes: https://www.gnu.org/software/octave/NEWS-5.1.html

Re: [ANNOUNCEMENT] cygwin 3.1.0-1

2020-01-13 Thread Houder
On Wed, 18 Dec 2019 10:23:16, Henning wrote: > On 16/12/2019 20:11, Corinna Vinschen wrote: > > The following packages have been uploaded to the Cygwin distribution: > > > > * cygwin-3.1.0-1 > > * cygwin-devel-3.1.0-1 > > * cygwin-doc-3.1.0-1 > > After cygwin-3.0.7 all attempts to update (to

[ANNOUNCEMENT] Updated: octave forge packages

2020-01-13 Thread Marco Atzeri
New versions of octave-bim-1.1.5-4 octave-bsltl-1.3.1-1 octave-cgi-0.1.2-4 octave-communications-1.2.2-1 octave-control-3.2.0-1 octave-database-2.4.4-1 octave-dataframe-1.2.0-3 octave-data-smoothing-1.3.0-5 octave-debuginfo-5.1.0-1 octave-divand-1.1.2-5 octave-doctest-0.7.0-1

Re: Cygwin 3.1.X Fatal Errors - add_item ("\??\C:", "/", ...) failed, errno 22

2020-01-13 Thread Ken Brown
[Redirecting to the Cygwin list.] On 1/13/2020 6:59 AM, Ken Turner wrote: > Dear Ken > > As you will see from https://cygwin.com/ml/cygwin/2020-01/msg00111.html I > have > been having difficulty with installing Cygwin 3.1.X. It appears that it is no > longer possible to install Cygwin

Re: [ANNOUNCEMENT] cygwin 3.1.0-1

2020-01-13 Thread Ken Brown
On 1/13/2020 4:30 PM, Houder wrote: > On Wed, 18 Dec 2019 10:23:16, Henning wrote: >> On 16/12/2019 20:11, Corinna Vinschen wrote: >>> The following packages have been uploaded to the Cygwin distribution: >>> >>> * cygwin-3.1.0-1 >>> * cygwin-devel-3.1.0-1 >>> * cygwin-doc-3.1.0-1 >> >> After

Re: [PATCH] Cygwin: fhandler_socket::open: support the O_PATH flag

2020-01-13 Thread Corinna Vinschen
Hi Ken, On Dec 26 15:25, Ken Brown wrote: > If that flag is not set, fail with EOPNOTSUPP instead of ENXIO. This > is consistent with POSIX, starting with the 2016 edition. Earlier > editions were silent on this issue. > --- > winsup/cygwin/fhandler_socket.cc | 13 +++-- >

Re: [PATCH v2 0/3] Support opening a symlink with O_PATH | O_NOFOLLOW

2020-01-13 Thread Ken Brown
On 1/13/2020 10:28 AM, Corinna Vinschen wrote: > Hi Ken, > > On Dec 29 17:56, Ken Brown wrote: >> Currently, opening a symlink with O_NOFOLLOW fails with ELOOP. >> Following Linux, the first patch in this series allows the call to >> succeed if O_PATH is also specified. >> >> According to the

Re: [PATCH v2 0/3] Support opening a symlink with O_PATH | O_NOFOLLOW

2020-01-13 Thread Ken Brown
On 1/13/2020 12:24 PM, Eric Blake wrote: > On 1/13/20 10:53 AM, Ken Brown wrote: >> On 1/13/2020 10:28 AM, Corinna Vinschen wrote: >>> Hi Ken, >>> >>> On Dec 29 17:56, Ken Brown wrote: Currently, opening a symlink with O_NOFOLLOW fails with ELOOP. Following Linux, the first patch in this

Re: [PATCH v2 0/3] Support opening a symlink with O_PATH | O_NOFOLLOW

2020-01-13 Thread Corinna Vinschen
On Jan 13 16:53, Ken Brown wrote: > On 1/13/2020 10:28 AM, Corinna Vinschen wrote: > > On Dec 29 17:56, Ken Brown wrote: > >> [...] > >> Note: The man page mentions fchownat and linkat also. linkat already > >> supports the AT_EMPTY_PATH flag, so nothing needs to be done. But I > >> don't

Re: [PATCH v2 0/3] Support opening a symlink with O_PATH | O_NOFOLLOW

2020-01-13 Thread Corinna Vinschen
On Jan 13 19:34, Corinna Vinschen wrote: > On Jan 13 16:53, Ken Brown wrote: > > On 1/13/2020 10:28 AM, Corinna Vinschen wrote: > > > On Dec 29 17:56, Ken Brown wrote: > > >> [...] > > >> Note: The man page mentions fchownat and linkat also. linkat already > > >> supports the AT_EMPTY_PATH flag,

Re: [PATCH v2 0/3] Support opening a symlink with O_PATH | O_NOFOLLOW

2020-01-13 Thread Eric Blake
On 1/13/20 11:44 AM, Ken Brown wrote: I don't think so.  I think we agree, although maybe I didn't express myself clearly enough for that to be obvious.  What confused me was the following paragraph further down in the open(2) man page (still discussing O_PATH):     If pathname is a symbolic

Re: [PATCH v2 0/3] Support opening a symlink with O_PATH | O_NOFOLLOW

2020-01-13 Thread Ken Brown
On 1/13/2020 1:39 PM, Corinna Vinschen wrote: > On Jan 13 19:34, Corinna Vinschen wrote: >> On Jan 13 16:53, Ken Brown wrote: >>> On 1/13/2020 10:28 AM, Corinna Vinschen wrote: On Dec 29 17:56, Ken Brown wrote: > [...] > Note: The man page mentions fchownat and linkat also. linkat

Re: [PATCH] Cygwin: fhandler_socket::open: support the O_PATH flag

2020-01-13 Thread Ken Brown
On 1/13/2020 10:31 AM, Corinna Vinschen wrote: > Hi Ken, > > On Dec 26 15:25, Ken Brown wrote: >> If that flag is not set, fail with EOPNOTSUPP instead of ENXIO. This >> is consistent with POSIX, starting with the 2016 edition. Earlier >> editions were silent on this issue. >> --- >>

Re: [PATCH v2 0/3] Support opening a symlink with O_PATH | O_NOFOLLOW

2020-01-13 Thread Eric Blake
On 1/13/20 10:53 AM, Ken Brown wrote: On 1/13/2020 10:28 AM, Corinna Vinschen wrote: Hi Ken, On Dec 29 17:56, Ken Brown wrote: Currently, opening a symlink with O_NOFOLLOW fails with ELOOP. Following Linux, the first patch in this series allows the call to succeed if O_PATH is also specified.

Re: [PATCH] Cygwin: pty: Add missing CloseHandle() calls.

2020-01-13 Thread Corinna Vinschen
Hi Takashi, On Jan 1 15:48, Takashi Yano wrote: > --- > winsup/cygwin/fhandler_tty.cc | 22 -- > 1 file changed, 20 insertions(+), 2 deletions(-) > > diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc > index 65b12fd6c..23156f977 100644 > ---

meson 0.52.1-1

2020-01-13 Thread Jon Turney
The following packages have been uploaded to the Cygwin distribution: * meson-0.51.2-1 Meson is an open source build system meant to be extremely fast. It generates files for various backends including Ninja, Visual Studio, and Xcode. Meson does not generate Makefiles, relying solely on

Re: [PATCH v2 0/3] Support opening a symlink with O_PATH | O_NOFOLLOW

2020-01-13 Thread Corinna Vinschen
Hi Ken, On Dec 29 17:56, Ken Brown wrote: > Currently, opening a symlink with O_NOFOLLOW fails with ELOOP. > Following Linux, the first patch in this series allows the call to > succeed if O_PATH is also specified. > > According to the Linux man page for 'open', the file descriptor > returned by

[newlib-cygwin] Cygwin: pty: Revise the code for setting code page of pseudo console.

2020-01-13 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=b3e78186d107c3cf6cabad4fc18ee829f2b279f4 commit b3e78186d107c3cf6cabad4fc18ee829f2b279f4 Author: Takashi Yano Date: Wed Jan 1 15:50:36 2020 +0900 Cygwin: pty: Revise the code for setting code page of pseudo console. -

[newlib-cygwin] Cygwin: pty: Remove destructor for fhandler_pty_master class.

2020-01-13 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=fd03749b9c255d6f78d71c65fb4f49d8f766a629 commit fd03749b9c255d6f78d71c65fb4f49d8f766a629 Author: Takashi Yano Date: Wed Jan 1 15:49:41 2020 +0900 Cygwin: pty: Remove destructor for fhandler_pty_master class. - The

Re: [PATCH] Cygwin: pty: Revise the code for setting code page of pseudo console.

2020-01-13 Thread Corinna Vinschen
On Jan 1 15:50, Takashi Yano wrote: > - Fix the problem which overrides the code page setting, reported > in https://www.cygwin.com/ml/cygwin/2019-12/msg00292.html. > --- Pushed. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

Re: [PATCH] Cygwin: pty: Remove destructor for fhandler_pty_master class.

2020-01-13 Thread Corinna Vinschen
On Jan 1 15:49, Takashi Yano wrote: > - The destructor for fhandler_pty_master class does not seem to be > necessary anymore. Therefore, it has been removed. > --- > winsup/cygwin/fhandler.h | 1 - > winsup/cygwin/fhandler_tty.cc | 9 - > 2 files changed, 10 deletions(-) > > diff

Re: [PATCH] Cygwin: console: Add workaround for broken CSI3J in Win10 1809.

2020-01-13 Thread Corinna Vinschen
On Jan 1 15:52, Takashi Yano wrote: > - In Win10 1809, the cursor position sometimes goes out of screen > by clear command in console. This seems to be caused by escape > sequence CSI3J (ESC[3J). This happens only for 1809. This patch > is a workaround for the issue. > --- >

Re: [PATCH] Cygwin: pty: Fix the issue regarding open and close multiple PTYs.

2020-01-13 Thread Corinna Vinschen
Hi Takashi, On Jan 1 15:47, Takashi Yano wrote: > - If two PTYs are opened in the same process and the first one > is closed, the helper process for the first PTY remains running. > This patch fixes the issue. > --- > [...] > diff --git a/winsup/utils/cygwin-console-helper.cc >

Re: [PATCH] Cygwin: console: Disable xterm mode for non cygwin process only.

2020-01-13 Thread Corinna Vinschen
Hi Takashi, On Jan 1 15:51, Takashi Yano wrote: > - Special function keys such as arrow keys or function keys do not > work in ConEmu with cygwin-connector after commit > 6a06c6bc8f8492ea09aa3ae180fe94e4ac265611. This patch fixes the > issue. > --- > [...] > diff --git

Re: [PATCH] Cygwin: console: Add code to restore console mode on close.

2020-01-13 Thread Corinna Vinschen
Hi Takashi, On Jan 2 22:17, Takashi Yano wrote: > - The console with 24bit color support has a problem that console > mode is changed if cygwin process is executed in cmd.exe which > started in cygwin shell. For example, cursor keys become not > working if bash -> cmd -> true are executed

[newlib-cygwin] Fixed crash on wine by adding NULL check after memchr

2020-01-13 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=4ddf5903fd24feaa6f75ffb12f9cafdd266b386a commit 4ddf5903fd24feaa6f75ffb12f9cafdd266b386a Author: Arseniy Lartsev Date: Tue Jan 7 16:34:39 2020 +0100 Fixed crash on wine by adding NULL check after memchr This is not a

Re: [PATCH] Fixed crash on wine by adding NULL check after memchr

2020-01-13 Thread Corinna Vinschen
On Jan 7 16:34, Arseniy Lartsev wrote: > This is not a joke, there are vendors out there who build software for cygwin > only. Besides, this NULL check is good to have anyway. > --- > winsup/cygwin/path.cc | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/winsup/cygwin/path.cc

[newlib-cygwin] Cygwin: console: Make suspending process work properly.

2020-01-13 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=a6e87f589ae113cc3f947eca7db8c6d8c795e3c2 commit a6e87f589ae113cc3f947eca7db8c6d8c795e3c2 Author: Takashi Yano Date: Sun Jan 5 22:25:55 2020 +0900 Cygwin: console: Make suspending process work properly. - After commit

Re: [PATCH] Cygwin: console: Make suspending process work properly.

2020-01-13 Thread Corinna Vinschen
On Jan 5 22:25, Takashi Yano wrote: > - After commit f4b47827cf87f055687a0c52a3485d42b3e2b941, suspending > process by Ctrl-Z does not work in console and results in hang up. > This patch fixes the issue. > --- > winsup/cygwin/fhandler_console.cc | 2 ++ > 1 file changed, 2 insertions(+) >

Re: [PATCH] Cygwin: select: Speed up select() call for pty, pipe and fifo.

2020-01-13 Thread Corinna Vinschen
On Jan 6 23:38, Takashi Yano wrote: > - The slowing down issue of X11 forwarding using ssh -Y, reported > in https://www.cygwin.com/ml/cygwin/2019-12/msg00295.html, > is due to the change of select() code for pty in the commit > 915fcd0ae8d83546ce135131cd25bf6795d97966. cygthread::detach()

[newlib-cygwin] Cygwin: select: Speed up select() call for pty, pipe and fifo.

2020-01-13 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=a1c7e920845ab21185f18950be3d84f431de commit a1c7e920845ab21185f18950be3d84f431de Author: Takashi Yano Date: Mon Jan 6 23:38:34 2020 +0900 Cygwin: select: Speed up select() call for pty, pipe and fifo. - The

[newlib-cygwin] Cygwin: Add missing Linux #define of CPU_SETSIZE

2020-01-13 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=7b6414d459bb66affe077a062b88ca1e1e392fc4 commit 7b6414d459bb66affe077a062b88ca1e1e392fc4 Author: Mark Geisert Date: Sun Dec 22 22:45:54 2019 -0800 Cygwin: Add missing Linux #define of CPU_SETSIZE Though our

Re: [PATCH] Cygwin: Add missing Linux #define of CPU_SETSIZE

2020-01-13 Thread Corinna Vinschen
On Dec 22 22:45, Mark Geisert wrote: > Though our implementation of cpu sets doesn't need it, software from > Linux environments expects this definition to be present. It's > documented on the Linux CPU_SET(3) man page but was left out due to > oversight. > > Addresses

Updated: octave-5.1.0-1

2020-01-13 Thread Marco Atzeri
New versions 5.1.0-1 of octave octave-devel octave-doc are available in the Cygwin distribution: CHANGES Latest upstream release. https://www.gnu.org/software/octave/news/release/2019/03/01/octave-5.1-released.html Full changes: https://www.gnu.org/software/octave/NEWS-5.1.html

Re: [PATCH] Cygwin: select: Speed up select() call for pty, pipe and fifo.

2020-01-13 Thread Marco Atzeri
Am 13.01.2020 um 17:33 schrieb Corinna Vinschen: On Jan 6 23:38, Takashi Yano wrote: - The slowing down issue of X11 forwarding using ssh -Y, reported in https://www.cygwin.com/ml/cygwin/2019-12/msg00295.html, is due to the change of select() code for pty in the commit

Updated: octave forge packages

2020-01-13 Thread Marco Atzeri
New versions of octave-bim-1.1.5-4 octave-bsltl-1.3.1-1 octave-cgi-0.1.2-4 octave-communications-1.2.2-1 octave-control-3.2.0-1 octave-database-2.4.4-1 octave-dataframe-1.2.0-3 octave-data-smoothing-1.3.0-5 octave-debuginfo-5.1.0-1 octave-divand-1.1.2-5 octave-doctest-0.7.0-1

[PATCH v2] Cygwin: pty: Add missing CloseHandle() calls.

2020-01-13 Thread Takashi Yano
- PTY code which support pseudo console has a problem that causes handle leaks. Four of these are bug in pty code, and the other one seems to be a bug of Windows10. ClosePseudoConsole() fails to close one internal handle. This patch fixes the issue. --- winsup/cygwin/fhandler_tty.cc | 16

[PATCH v2] Cygwin: console: Add workaround for broken CSI3J in Win10 1809.

2020-01-13 Thread Takashi Yano
- In Win10 1809, the cursor position sometimes goes out of screen by clear command in console. This seems to be caused by escape sequence CSI3J (ESC[3J). This happens only for 1809. This patch is a workaround for the issue. --- winsup/cygwin/fhandler_console.cc | 12 +

Re: [PATCH] Cygwin: console: Add code to restore console mode on close.

2020-01-13 Thread Takashi Yano
Hi Corinna, welcome back! On Mon, 13 Jan 2020 17:25:53 +0100 Corinna Vinschen wrote: > On Jan 2 22:17, Takashi Yano wrote: > > - The console with 24bit color support has a problem that console > > mode is changed if cygwin process is executed in cmd.exe which > > started in cygwin shell. For

[PATCH v2] Cygwin: console: Disable xterm mode for non cygwin process only.

2020-01-13 Thread Takashi Yano
- Special function keys such as arrow keys or function keys do not work in ConEmu with cygwin-connector after commit 6a06c6bc8f8492ea09aa3ae180fe94e4ac265611. This patch fixes the issue. --- winsup/cygwin/fhandler_console.cc | 19 --- winsup/cygwin/fhandler_tty.cc | 10

[PATCH v2] Cygwin: pty: Fix the issue regarding open and close multiple PTYs.

2020-01-13 Thread Takashi Yano
- If two PTYs are opened in the same process and the first one is closed, the helper process for the first PTY remains running. This patch fixes the issue. --- winsup/cygwin/fhandler_tty.cc | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git

Re: [PATCH] Cygwin: pty: Fix the issue regarding open and close multiple PTYs.

2020-01-13 Thread Takashi Yano
Hi Corinna, On Mon, 13 Jan 2020 16:49:52 +0100 Corinna Vinschen wrote: > But then again, given that Cygwin uses EXTENDED_STARTUPINFO_PRESENT > anyway, wouldn't it makes sense to pass the required handles with > PROC_THREAD_ATTRIBUTE_HANDLE_LIST to avoid having to open the > parent with