Re: Application not working in 64-bit cygwin cygwin/X

2016-03-11 Thread Marco Atzeri
On 12/03/2016 00:10, David Stacey wrote: On 11/03/16 14:23, Girish Joglekar wrote: I have cleaned up the test example based on X-Windows/Motif which crashes on 64-bit cygwin cygwin/X but runs on the 32-bit version. The only warnings are of the type 'variable set but not used'. Here is the link

Re: Fwd: [PATCH] spinlock spin with pause instruction

2016-03-11 Thread Mark Geisert
Václav Haisman wrote: Hi. I have noticed that Cygwin's spinlock goes into heavy sleeping code for each spin. It seems it would be a good idea to actually try to spin a bit first. There is this 'pause' instruction which let's the CPU make such busy loops be less busy. Here is a patch to do this.

Re: Problem with line buffering and getc function on 1.7.33.

2016-03-11 Thread Kaz Kylheku
On 11.03.2016 14:14, Marco Atzeri wrote: On 11/03/2016 22:57, Kaz Kylheku wrote: On 11.03.2016 12:08, Yaakov Selkowitz wrote: On 2016-03-11 13:16, Kaz Kylheku wrote: On a Cygwin installation version 1.7.33-2(0.280/5/3), I encountered an odd issue. This is a 15-month old release which is no

Re: [ANNOUNCEMENT] Updated: coreutils-8.25-1

2016-03-11 Thread Andrey Repin
Greetings, Chris Sutcliffe! >> Anybody out there using 'su'? Speak now, or forever hold the pieces. >> > I would appreciate having a working 'su' command. I currently make > use of an elevated terminal to do my Admin duties, so having 'su' > would come in real handy. Using it for

Re: Application not working in 64-bit cygwin cygwin/X

2016-03-11 Thread David Stacey
On 11/03/16 14:23, Girish Joglekar wrote: I have cleaned up the test example based on X-Windows/Motif which crashes on 64-bit cygwin cygwin/X but runs on the 32-bit version. The only warnings are of the type 'variable set but not used'. Here is the link to the tar file.

Re: Problem with line buffering and getc function on 1.7.33.

2016-03-11 Thread Marco Atzeri
On 11/03/2016 22:57, Kaz Kylheku wrote: On 11.03.2016 12:08, Yaakov Selkowitz wrote: On 2016-03-11 13:16, Kaz Kylheku wrote: On a Cygwin installation version 1.7.33-2(0.280/5/3), I encountered an odd issue. This is a 15-month old release which is no longer supported. Please update to 2.4.1.

[ANNOUNCEMENT] TEST RELEASE: Cygwin 2.5.0-0.5

2016-03-11 Thread Corinna Vinschen
Hi Cygwin friends and users, I released a new Cygwin TEST version 2.5.0-0.5. Refresh with mostly bugfixes. What's new: --- - Full set of POSIX.1e ACL API functions now implemented. New APIs: acl_add_perm, acl_calc_mask, acl_clear_perms, acl_copy_entry, acl_copy_ext, acl_copy_int,

TEST RELEASE: Cygwin 2.5.0-0.5

2016-03-11 Thread Corinna Vinschen
Hi Cygwin friends and users, I released a new Cygwin TEST version 2.5.0-0.5. Refresh with mostly bugfixes. What's new: --- - Full set of POSIX.1e ACL API functions now implemented. New APIs: acl_add_perm, acl_calc_mask, acl_clear_perms, acl_copy_entry, acl_copy_ext, acl_copy_int,

Re: Problem with line buffering and getc function on 1.7.33.

2016-03-11 Thread Kaz Kylheku
On 11.03.2016 12:08, Yaakov Selkowitz wrote: On 2016-03-11 13:16, Kaz Kylheku wrote: On a Cygwin installation version 1.7.33-2(0.280/5/3), I encountered an odd issue. This is a 15-month old release which is no longer supported. Please update to 2.4.1. Do you mean, "Please update to 2.4.1,

[newlib-cygwin] gmon.h: Fix type of gmonparam state member

2016-03-11 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=5b972d5b297203a7717a4d8f2058867dfac3ab9e commit 5b972d5b297203a7717a4d8f2058867dfac3ab9e Author: Corinna Vinschen Date: Fri Mar 11 22:50:24 2016 +0100 gmon.h: Fix type of gmonparam state member

Problem with ssh-copy-id when home folder contains spaces

2016-03-11 Thread darkdragon
Some file paths were not correctly escaped. Fix attached ("ssh-copy-id.patch"). ssh-copy-id.patch Description: Binary data -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info:

[ANNOUNCEMENT] Updated: findutils-4.6.0-1

2016-03-11 Thread Eric Blake (cygwin)
A new release of findutils, 4.6.0-1, will soon be available on your favorite mirror as the current version, leaving 4.5.12-1 as previous. NEWS: = This is a new upstream release. See /usr/share/doc/findutils/ for documentation of what has changed. DESCRIPTION: The findutils

Updated: findutils-4.6.0-1

2016-03-11 Thread Eric Blake (cygwin)
A new release of findutils, 4.6.0-1, will soon be available on your favorite mirror as the current version, leaving 4.5.12-1 as previous. NEWS: = This is a new upstream release. See /usr/share/doc/findutils/ for documentation of what has changed. DESCRIPTION: The findutils

Re: Problem with line buffering and getc function on 1.7.33.

2016-03-11 Thread Yaakov Selkowitz
On 2016-03-11 13:16, Kaz Kylheku wrote: On a Cygwin installation version 1.7.33-2(0.280/5/3), I encountered an odd issue. This is a 15-month old release which is no longer supported. Please update to 2.4.1. -- Yaakov -- Problem reports: http://cygwin.com/problems.html FAQ:

Problem with line buffering and getc function on 1.7.33.

2016-03-11 Thread Kaz Kylheku
Hi all, On a Cygwin installation version 1.7.33-2(0.280/5/3), I encountered an odd issue. I wrote it up in a StackOverflow question: http://stackoverflow.com/questions/35928828/cygwin-missing-stream-data-due-to-stdio-putc-line-buffering This contains a repro test case. For the benefit of

[ANNOUNCEMENT] Updated: OpenSSH-7.2p2-1

2016-03-11 Thread Corinna Vinschen
I've just updated the Cygwin version of OpenSSH to 7.2p2-1. This is a security upstream release. Below's the original release message. = Portable OpenSSH 7.2p2 has just been released. It will be available from the mirrors

Updated: OpenSSH-7.2p2-1

2016-03-11 Thread Corinna Vinschen
I've just updated the Cygwin version of OpenSSH to 7.2p2-1. This is a security upstream release. Below's the original release message. = Portable OpenSSH 7.2p2 has just been released. It will be available from the mirrors

Re: request for gnupg v2

2016-03-11 Thread Marco Atzeri
On 11/03/2016 17:15, j...@jeffunit.com wrote: Is there a way to update Cygwin's version of gnupg to version 2? I tried to compile it and all the dependencies myself, but I ran into some roadblocks. I use thunderbird and enigmail now requires gnupg 2. Thanks, Jeff I have not tried. However

[ANNOUNCEMENT] Updated: openmpi-1.10.2-1

2016-03-11 Thread Marco Atzeri
Version 10.2-1 of packages libopenmpi12 API bump libopenmpicxx1 libopenmpifh12 API bump libopenmpiuse1 libopenmpi-devel libopenmpiusef08_11 API bump libopenmpiusetkr6API bump openmpi are available in the Cygwin distribution: CHANGES First relase of

request for gnupg v2

2016-03-11 Thread jeff
Is there a way to update Cygwin's version of gnupg to version 2? I tried to compile it and all the dependencies myself, but I ran into some roadblocks. I use thunderbird and enigmail now requires gnupg 2. Thanks, Jeff -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: Problem with ssh-host-config?

2016-03-11 Thread Corinna Vinschen
On Mar 11 14:01, Achim Gratz wrote: > Nick.Battle uk.fujitsu.com uk.fujitsu.com> writes: > > Changing ${username} to ${csih_PRIVILEGED_USERNAME} seems to fix the > problem and everything works as expected. > > >From a quick glance I'd say this is correct. ACK. > > So I have the result I want,

[ANNOUNCEMENT] Updated: rebase-4.4.2-1

2016-03-11 Thread Corinna Vinschen
Hi folks, I have updated the version of rebase to 4.4.2-1. The following is the change since the previous release: - Fix arbitrary restriction to 50 sections per file which resulted in a SEGV: https://cygwin.com/ml/cygwin/2016-03/msg00145.html - Rebase now comes with a matching debuginfo

Updated: rebase-4.4.2-1

2016-03-11 Thread Corinna Vinschen
Hi folks, I have updated the version of rebase to 4.4.2-1. The following is the change since the previous release: - Fix arbitrary restriction to 50 sections per file which resulted in a SEGV: https://cygwin.com/ml/cygwin/2016-03/msg00145.html - Rebase now comes with a matching debuginfo

[ANNOUNCEMENT] Updated: lilypond-2.19.37-1

2016-03-11 Thread Marco Atzeri
Versions 2.19.37-1 of lilypond lilypond-doc for cygwin are now available: CHANGES Last dev upstream release http://www.lilypond.org/old-news.html DESCRIPTION LilyPond is a music engraving program, devoted to producing the highest-quality sheet music possible. It brings the

Updated: lilypond-2.19.37-1

2016-03-11 Thread Marco Atzeri
Versions 2.19.37-1 of lilypond lilypond-doc for cygwin are now available: CHANGES Last dev upstream release http://www.lilypond.org/old-news.html DESCRIPTION LilyPond is a music engraving program, devoted to producing the highest-quality sheet music possible. It brings the

Re: git svn -T svn://svn. ...

2016-03-11 Thread cyg Simple
On 3/9/2016 2:56 PM, Adam Dinwoodie wrote: > On Wed, Mar 09, 2016 at 07:46:06PM +, Adam Dinwoodie wrote: >> On Tue, Mar 08, 2016 at 01:32:30PM -0500, cyg Simple wrote: >>> Using the latest production release 2.4.1(1) the command is removing the >>> / after the svn: leaving svn:/svn which isn't

Re: Problems with Qt5's QDesktopServices::openUrl()

2016-03-11 Thread Dr Rainer Woitok
Yaakov, On Thursday, 2016-03-10 16:30:40 -0600, you wrote: > ... > Have you tried the same on Linux? No. Simply because I do not have any access to a Linux box. Sincerely, Rainer -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/

Re: rebase segfaults on ocaml-base

2016-03-11 Thread Corinna Vinschen
On Mar 11 09:59, Marco Atzeri wrote: > On x86_64 > > rebase segfault on > /usr/lib/ocaml/stublibs/dllunix.so > > As this cripple the full rebaseall setup, it should be worth > to check if it is a rebase weakness (*) or if dllunix.so is an incorrect > binary. > > > Regards > Marco > > > (*)

Application not working in 64-bit cygwin cygwin/X

2016-03-11 Thread Girish Joglekar
I have cleaned up the test example based on X-Windows/Motif which crashes on 64-bit cygwin cygwin/X but runs on the 32-bit version. The only warnings are of the type 'variable set but not used'. Here is the link to the tar file. https://www.dropbox.com/s/lknuoac64hfql4s/test.tar?dl=0 Hope you

Re: /bin/bash: Operation not permitted

2016-03-11 Thread Aaron Digulla
Am 09.03.2016 um 16:35 schrieb Marco Atzeri: > On 09/03/2016 16:25, Achim Gratz wrote: >> Francis Korning yahoo.ca> writes: >>> Specifically, ssh-host-config needs these following lines: >> >> The cyg_server account is actually set up in >> /usr/share/csih/cygwin-service-installation-helper.sh

Re: [ANNOUNCEMENT] Updated: coreutils-8.25-1

2016-03-11 Thread Chris Sutcliffe
On 11 March 2016 at 01:52, Mark Geisert wrote: > > Anybody out there using 'su'? Speak now, or forever hold the pieces. > I would appreciate having a working 'su' command. I currently make use of an elevated terminal to do my Admin duties, so having 'su' would come in real handy. Cheers,

Re: Problem with ssh-host-config?

2016-03-11 Thread Achim Gratz
Nick.Battle uk.fujitsu.com uk.fujitsu.com> writes: > Changing ${username} to ${csih_PRIVILEGED_USERNAME} seems to fix the problem and everything works as expected. >From a quick glance I'd say this is correct. > So I have the result I want, but I'm not sure that the fix above is correct. Isn't

Re: passwd -R?

2016-03-11 Thread Marco Atzeri
On 11/03/2016 14:47, Alex P wrote: I do have cygserver running as "Local System". My original issue is that cron stopped working after domain user password reset. Stopped as - it worked fine before. My first stop was to reset password with "passwd -R", but it did not fix my cron problem - not

Re: passwd -R?

2016-03-11 Thread Alex P
I do have cygserver running as "Local System". My original issue is that cron stopped working after domain user password reset. Stopped as - it worked fine before. My first stop was to reset password with "passwd -R", but it did not fix my cron problem - not running as user (member of local

Re: [PATCH] spinlock spin with pause instruction

2016-03-11 Thread Corinna Vinschen
On Mar 11 11:28, Václav Haisman wrote: > Hi. > > I have noticed that Cygwin's spinlock goes into heavy sleeping code > for each spin. It seems it would be a good idea to actually try to > spin a bit first. There is this 'pause' instruction which let's the > CPU make such busy loops be less busy.

[newlib-cygwin] Spinlock spin with pause instruction

2016-03-11 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=b5476c81d2ab27dd4a46064d3fa45556630fd3cf commit b5476c81d2ab27dd4a46064d3fa45556630fd3cf Author: Václav Haisman Date: Fri Mar 11 11:28:27 2016 +0100 Spinlock spin with pause instruction Hi.

Problem with ssh-host-config?

2016-03-11 Thread nick.bat...@uk.fujitsu.com
I'm having a strange problem with the sshd configuration script on Windows 8. I'm calling it as follows, where I expect both the fjsupport Windows user account and /etc/passwd entry to be created by the script: /bin/ssh-host-config -y -c ntsec -u fjsupport -w If the user has no entry in

Re: SEMCTL fails with error 22

2016-03-11 Thread Marco Atzeri
On 11/03/2016 12:50, Meenakshi Pant wrote: Hi Attached the file cygcheck.out. Downloaded CYGWIN for 32 bit. Tested in both 32 and 64 bit. Getting the same problem. As you have at least two installations on your system Are you sure that L:\misys and C:\cygwin are not interfering ? Which one

Re: SEMCTL fails with error 22

2016-03-11 Thread Marco Atzeri
On 11/03/2016 11:52, Meenakshi Pant wrote: For me the out put is when cygserver is up. Semaphore Test Semaphore created successfully 196608 Value before errno = 0 Cannot set semaphore value.errno = 22 When cygserver is down the output is Semaphore Test Unable to obtain semaphore

Re: SEMCTL fails with error 22

2016-03-11 Thread Meenakshi Pant
For me the out put is when cygserver is up. Semaphore Test Semaphore created successfully 196608 Value before errno = 0 Cannot set semaphore value.errno = 22 When cygserver is down the output is Semaphore Test Unable to obtain semaphore 88 After bringing up cygserver the command

Re: SEMCTL fails with error 22

2016-03-11 Thread Achim Gratz
Meenakshi Pant gmail.com> writes: > My program creates a semaphore, but moving further the SEMCTL function > is failing with error 22 with the latest CYGWIN 2.4. The cygserver is > up. > > Below is the simplified code as a test case.It fails with the same > error as my original program. WJFFM

Fwd: [PATCH] spinlock spin with pause instruction

2016-03-11 Thread Václav Haisman
Hi. I have noticed that Cygwin's spinlock goes into heavy sleeping code for each spin. It seems it would be a good idea to actually try to spin a bit first. There is this 'pause' instruction which let's the CPU make such busy loops be less busy. Here is a patch to do this. -- VH diff --git

SEMCTL fails with error 22

2016-03-11 Thread Meenakshi Pant
Hi, My program creates a semaphore, but moving further the SEMCTL function is failing with error 22 with the latest CYGWIN 2.4. The cygserver is up. Below is the simplified code as a test case.It fails with the same error as my original program. /* semtest.c - program to test semaphore */

Re: rebase segfaults on ocaml-base

2016-03-11 Thread Marco Atzeri
On 11/03/2016 10:45, Achim Gratz wrote: Marco Atzeri gmail.com> writes: rebase segfault on /usr/lib/ocaml/stublibs/dllunix.so As this cripple the full rebaseall setup, it should be worth to check if it is a rebase weakness (*) or if dllunix.so is an incorrect binary. Well, rebase

[newlib-cygwin] Documentation covering profiling Cygwin programs.

2016-03-11 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=d0cf3b7c02ac5118ee8489db5737dd423689a2ca commit d0cf3b7c02ac5118ee8489db5737dd423689a2ca Author: Mark Geisert Date: Thu Mar 10 23:56:56 2016 -0800 Documentation covering profiling Cygwin programs. Diff: ---

Re: rebase segfaults on ocaml-base

2016-03-11 Thread Achim Gratz
Marco Atzeri gmail.com> writes: > rebase segfault on > /usr/lib/ocaml/stublibs/dllunix.so > > As this cripple the full rebaseall setup, it should be worth > to check if it is a rebase weakness (*) or if dllunix.so is an incorrect > binary. Well, rebase shouldn't segfault anyway. Do you know

rebase segfaults on ocaml-base

2016-03-11 Thread Marco Atzeri
On x86_64 rebase segfault on /usr/lib/ocaml/stublibs/dllunix.so As this cripple the full rebaseall setup, it should be worth to check if it is a rebase weakness (*) or if dllunix.so is an incorrect binary. Regards Marco (*) dllunix.so has an unusual high number of sections objdump.exe -h

[PATCH] Documentation covering profiling Cygwin programs.

2016-03-11 Thread Mark Geisert
This patch set updates the Cygwin User's Guide to say something about profiling. Existing winsup/doc files programming.xml and setup-env.xml are updated. A new winsup/doc file gprof.xml is added. I'd appreciate any comments y'all may have on formatting and/or content. Thanks much, ..mark From