Re: static vs. shared linking

2015-04-11 Thread David Stacey
On 09/04/15 22:32, Larry Hall (Cygwin) wrote: On 04/09/2015 04:15 AM, David Stacey wrote: snip I can't believe that I'm the first person to fall foul of this - any library that relies heavily on templates risks falling into the same trap. snip It's true that someone using STL strings has

Re: static vs. shared linking

2015-04-11 Thread David Stacey
On 09/04/15 18:24, Corinna Vinschen wrote: On Apr 9 09:15, David Stacey wrote: The solution is to compile with '-frepo', which works for both my test code and also poco-1.6.0 - although it has quite an impact on the compilation time (it trebles what was already a fairly lengthy

Re: Soft link created with 'ln -s' is not seen as a shortcut by WXP

2015-04-11 Thread Rodrigo Medina
Thanks to Andrey Repin. The problem was that the environmet variable CYGWIM was not set. Now everything works OK RM -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info:

Re: Shared memory handling for mixed C/FORTRAN program

2015-04-11 Thread Christoph Weise
On Apr 10 22:20, Christoph Weise wrote: PAGESIZE on Cygwin is not 1024, and the right value to use for XSI SHM is SHMLBA (== 64K on Cygwin) Setting PAGESIZE to SHMLBA creates problems elsewhere in the program (then PAGESIZE is too big for the program to handle, a problem I have yet to

Re: [TESTERS needed] New POSIX permission handling

2015-04-11 Thread Corinna Vinschen
On Apr 11 10:47, Achim Gratz wrote: Corinna Vinschen writes: - To accommodate Windows default ACLs, the new code ignores SYSTEM and Administrators group permissions when computing the MASK/CLASS_OBJ permission mask on old ACLs, and it doesn't deny access to SYSTEM and Administrators

Re: [TESTERS needed] New POSIX permission handling

2015-04-11 Thread Corinna Vinschen
On Apr 10 19:00, Steven Penny wrote: On Fri, Apr 10, 2015 at 5:07 AM, Corinna Vinschen wrote: Please give the new code a try. I uploaded new 2015-04-10 developer snapshots to https://cygwin.com/snapshots/ Here is the test I ran: $ cd /cygdrive/c $ touch ~/{alpha,bravo}.sh

Re: [TESTERS needed] New POSIX permission handling

2015-04-11 Thread Achim Gratz
Corinna Vinschen writes: - To accommodate Windows default ACLs, the new code ignores SYSTEM and Administrators group permissions when computing the MASK/CLASS_OBJ permission mask on old ACLs, and it doesn't deny access to SYSTEM and Administrators group based on the value of

Re: [TESTERS needed] New POSIX permission handling

2015-04-11 Thread David Macek
On 11. 4. 2015 11:08, Achim Gratz wrote: David Macek writes: Power Users don't have access to (almost) everything, like Administrators do. The Domain Administrators group is a member of Administrators, so unless I'm missing something, there's no reason to have them explicitely in the DACL.

Re: [TESTERS needed] New POSIX permission handling

2015-04-11 Thread Achim Gratz
David Macek writes: Power Users don't have access to (almost) everything, like Administrators do. The Domain Administrators group is a member of Administrators, so unless I'm missing something, there's no reason to have them explicitely in the DACL. That doesn't stop folks from using them in

Re: [TESTERS needed] New POSIX permission handling

2015-04-11 Thread David Macek
On 11. 4. 2015 10:47, Achim Gratz wrote: Corinna Vinschen writes: - To accommodate Windows default ACLs, the new code ignores SYSTEM and Administrators group permissions when computing the MASK/CLASS_OBJ permission mask on old ACLs, and it doesn't deny access to SYSTEM and

Re: Rebase, Peflags, and cygserver

2015-04-11 Thread Achim Gratz
Jim Reisert AD1C writes: From a Cygwin Terminal (MINTTY), after shutting down the X.org server, I ran the: Did you check that really no other Cygwin processes were running? rebase-trigger fullrebase command. Then I ran setup-x86, nothing to update, but let it rebase anyway. Then I

Re: [TESTERS needed] New POSIX permission handling

2015-04-11 Thread Corinna Vinschen
On Apr 10 15:13, Warren Young wrote: On Apr 10, 2015, at 4:07 AM, Corinna Vinschen corinna-cyg...@cygwin.com wrote: This should help in Cygwin-Windows interoperability. That’s pretty vague. Would you care to list some specific expected improvements from this change? Are there

Re: [TESTERS needed] New POSIX permission handling

2015-04-11 Thread Corinna Vinschen
On Apr 11 11:40, Corinna Vinschen wrote: On Apr 10 19:00, Steven Penny wrote: On Fri, Apr 10, 2015 at 5:07 AM, Corinna Vinschen wrote: Please give the new code a try. I uploaded new 2015-04-10 developer snapshots to https://cygwin.com/snapshots/ Here is the test I ran: $ cd

Re: [TESTERS needed] New POSIX permission handling

2015-04-11 Thread Bryan Berns
That means, even if SYSTEM or Administrators have full access to the file, the POSIX permssion bits will not reflect that fact. And while other users get access denied based on the mask value, SYSTEM and Administrators will never get access denied based on the mask. If you want

Re: [TESTERS needed] New POSIX permission handling

2015-04-11 Thread David Macek
On 11. 4. 2015 11:59, Corinna Vinschen wrote: Out of curiosity, does the code somehow distinguish ACLs that don't have these default permissions (or have different permissions set for SYSTEM / Administrators)? I don't quite understand the question. For a start, I'd like to point out how

Re: [TESTERS needed] New POSIX permission handling

2015-04-11 Thread Corinna Vinschen
On Apr 11 11:01, David Macek wrote: On 11. 4. 2015 10:47, Achim Gratz wrote: Corinna Vinschen writes: - To accommodate Windows default ACLs, the new code ignores SYSTEM and Administrators group permissions when computing the MASK/CLASS_OBJ permission mask on old ACLs, and it doesn't

Re: [TESTERS needed] New POSIX permission handling

2015-04-11 Thread Andrey Repin
Greetings, Achim Gratz! Corinna Vinschen writes: - To accommodate Windows default ACLs, the new code ignores SYSTEM and Administrators group permissions when computing the MASK/CLASS_OBJ permission mask on old ACLs, and it doesn't deny access to SYSTEM and Administrators group based on

Re: [TESTERS needed] New POSIX permission handling

2015-04-11 Thread Ernie Rael
I'm primarily a lurker, reading this list hoping things soak in a bit. So I may be off base on this. In the table below, describing NULL DENY access mask, looks like there's a typo concerning read/execute. (of course it might just be a windows mapping peculiarity that I really didn't want to

Re: Remove please

2015-04-11 Thread John Kissell
On 4/9/2015 8:35 PM, Larry Hall (Cygwin) wrote: On 04/09/2015 08:51 PM, John Kissell wrote: Please remove me (kissellj-at-ecentral-dot-com) from cygwin-at-cygwin-dot-com Actually, that's not how this works. Just like in the beginning when you subscribed yourself, you can also unsubscribe

Re: Remove please

2015-04-11 Thread Marco Atzeri
On 4/11/2015 7:42 PM, John Kissell wrote: On 4/9/2015 8:35 PM, Larry Hall (Cygwin) wrote: On 04/09/2015 08:51 PM, John Kissell wrote: Please remove me (kissellj-at-ecentral-dot-com) from cygwin-at-cygwin-dot-com Actually, that's not how this works. Just like in the beginning when you

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.0.0-1

2015-04-11 Thread Houder
Reference: https://cygwin.com/ml/cygwin/2015-04/msg00201.html - [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.0.0-1 I really appreciate bug reports, but, please, try to keep the threading intact. Please reply to mails rather than creating new threads which have no connection to the original

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.0.0-1

2015-04-11 Thread Achim Gratz
Houder writes: :-) ... I understand ... my problem is, that I am usually NOT subscribed to the (any) list, and that I process all my e-mail using webmail, and as far as I aware of, it does not provide the In-Reply-To feature. You can post via Gmane rather than the webmailer. Regards, Achim.

Re: [TESTERS needed] New POSIX permission handling

2015-04-11 Thread Andrey Repin
Greetings, Steven Penny! What is '~+'? Is that some weird bash feature? If the tilde-prefix is ‘~+’, the value of the shell variable PWD replaces the tilde-prefix. http://gnu.org/software/bash/manual/html_node/Tilde-Expansion In other words, ~+/ is a weird way to say ./ ? -- With best

Re: Soft link created with 'ln -s' is not seen as a shortcut by WXP

2015-04-11 Thread Andrey Repin
Greetings, Rodrigo Medina! One nice feature of cygwin was that a link to a folder created by 'ln -s' was seen as shortcut to the folder by WXP. Lately it does not function like that. $ ls -aFl Escr lrwxrwxrwx 1 rmedina Usuarios 53 Dic 9 2009 Escr - /cygdrive/c/Documents and

Re: [TESTERS needed] New POSIX permission handling

2015-04-11 Thread donmez
Hi, Corinna Vinschen-2 wrote Hi folks, I just applied a patch I'm working on for quite some time now. As I outlined before on this list, the POSIX permission handling has aged considerably and, for historical reasons, did things differently dependent on the calling function. I took

[ANNOUNCEMENT] Updated: lilypond-2.18.2-1 (64bit only)

2015-04-11 Thread Marco Atzeri
Versions 2.18.2-1 of lilypond lilypond-doc only for 64bit are now available: CYGWIN CHANGES New maintainer. First release for 64 bit architecture. The 32bit version is not functional so investigation is in progress. The 64 bit version is not 100% functional, but it passed

[ANNOUNCEMENT] Updated: ed-1.11-1

2015-04-11 Thread Marco Atzeri
New version 1.11-1 ofed is available in the Cygwin distribution: CHANGES It is a upstream bugfix release. http://lists.gnu.org/archive/html/info-gnu/2015-04/msg0.html DESCRIPTION GNU ed is a line-oriented text editor. It is used to create, display, modify and otherwise manipulate text

Updated: lilypond-2.18.2-1 (64bit only)

2015-04-11 Thread Marco Atzeri
Versions 2.18.2-1 of lilypond lilypond-doc only for 64bit are now available: CYGWIN CHANGES New maintainer. First release for 64 bit architecture. The 32bit version is not functional so investigation is in progress. The 64 bit version is not 100% functional, but it passed

Re: [TESTERS needed] New POSIX permission handling

2015-04-11 Thread Achim Gratz
David Macek writes: https://technet.microsoft.com/en-us/library/cc776499(v=ws.10).aspx says otherwise about the group-in-group rights. As I see it, nesting groups is just a more efficient way of populating them, so by expanding the nested groups recursively you'll end up with the effective set

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.0.0-1

2015-04-11 Thread Corinna Vinschen
Hi Henri, On Apr 11 15:25, Houder wrote: Hi Corinna, Reference: https://cygwin.com/ml/cygwin/2015-04/msg00201.html - [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.0.0-1 I really appreciate bug reports, but, please, try to keep the threading intact. Please reply to mails rather than creating new

rejected mail to the list

2015-04-11 Thread Rodrigo Medina
Hi, My maail to this list is being reject because: Delivery to the following recipient failed permanently: cygwin@cygwin.com Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the server for the recipient domain cygwin.com by

[ANNOUNCEMENT] Updated: emacs-24.5-1

2015-04-11 Thread Ken Brown
The following packages have been updated in the Cygwin distribution: * emacs-24.5-1 * emacs-X11-24.5-1 * emacs-w32-24.5-1 * emacs-el-24.5-1 Emacs is a powerful, customizable, self-documenting, modeless text editor. Emacs contains special code editing features, a scripting language (elisp),

Updated: emacs-24.5-1

2015-04-11 Thread Ken Brown
The following packages have been updated in the Cygwin distribution: * emacs-24.5-1 * emacs-X11-24.5-1 * emacs-w32-24.5-1 * emacs-el-24.5-1 Emacs is a powerful, customizable, self-documenting, modeless text editor. Emacs contains special code editing features, a scripting language (elisp),

Re: [TESTERS needed] New POSIX permission handling

2015-04-11 Thread Steven Penny
On Sat, Apr 11, 2015 at 4:40 AM, Corinna Vinschen wrote: What is '~+'? Is that some weird bash feature? If the tilde-prefix is ‘~+’, the value of the shell variable PWD replaces the tilde-prefix. http://gnu.org/software/bash/manual/html_node/Tilde-Expansion -- Problem reports:

Correct? (Cygwin 2.0)

2015-04-11 Thread Houder
Hi Corinna, Reference: https://cygwin.com/ml/cygwin/2015-04/msg00201.html - [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.0.0-1 Sorry, Corinna, but I have to ask: will this be the correct behaviour of Cygwin from now on? ... because I am very much surprised ... Is there anything I can do (settings

Re: [TESTERS needed] New POSIX permission handling

2015-04-11 Thread Corinna Vinschen
On Apr 11 11:40, Corinna Vinschen wrote: On Apr 10 19:00, Steven Penny wrote: On Fri, Apr 10, 2015 at 5:07 AM, Corinna Vinschen wrote: Please give the new code a try. I uploaded new 2015-04-10 developer snapshots to https://cygwin.com/snapshots/ Here is the test I ran: $ cd

TEST RELEASE: Cygwin 2.0.0-1

2015-04-11 Thread Corinna Vinschen
Hi Cygwin friends and users, as outlined in https://cygwin.com/ml/cygwin/2015-04/msg00171.html I've now created a TEST release of Cygwin which can be installed via setup-x86{_64}.exe. The version number is 2.0.0-0.1. Yes, we're going full Torvalds with the release numbers and bump them to 2.0.

[ANNOUNCEMENT] TEST RELEASE: Cygwin 2.0.0-1

2015-04-11 Thread Corinna Vinschen
Hi Cygwin friends and users, as outlined in https://cygwin.com/ml/cygwin/2015-04/msg00171.html I've now created a TEST release of Cygwin which can be installed via setup-x86{_64}.exe. The version number is 2.0.0-0.1. Yes, we're going full Torvalds with the release numbers and bump them to 2.0.

[newlib-cygwin] Fix typo in new fchmod implementation

2015-04-11 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=8ede2acefd1221f9af7c089f8ed4eaeea16409e9 commit 8ede2acefd1221f9af7c089f8ed4eaeea16409e9 Author: Corinna Vinschen cori...@vinschen.de Date: Sat Apr 11 16:03:18 2015 +0200 Fix typo in new fchmod implementation *

Re: [TESTERS needed] New POSIX permission handling

2015-04-11 Thread Corinna Vinschen
On Apr 11 05:47, Steven Penny wrote: On Sat, Apr 11, 2015 at 4:40 AM, Corinna Vinschen wrote: What is '~+'? Is that some weird bash feature? If the tilde-prefix is ‘~+’, the value of the shell variable PWD replaces the tilde-prefix. Ah, thanks. Learn something new each day (tcsh user

Re: Shared memory handling for mixed C/FORTRAN program

2015-04-11 Thread Corinna Vinschen
On Apr 10 22:20, Christoph Weise wrote: PAGESIZE on Cygwin is not 1024, and the right value to use for XSI SHM is SHMLBA (== 64K on Cygwin) Setting PAGESIZE to SHMLBA creates problems elsewhere in the program (then PAGESIZE is too big for the program to handle, a problem I have yet to

Re: [TESTERS needed] New POSIX permission handling

2015-04-11 Thread Corinna Vinschen
On Apr 11 14:35, David Macek wrote: On 11. 4. 2015 11:59, Corinna Vinschen wrote: Out of curiosity, does the code somehow distinguish ACLs that don't have these default permissions (or have different permissions set for SYSTEM / Administrators)? I don't quite understand the question.

Re: [TESTERS needed] New POSIX permission handling

2015-04-11 Thread Corinna Vinschen
On Apr 11 07:11, Bryan Berns wrote: That means, even if SYSTEM or Administrators have full access to the file, the POSIX permssion bits will not reflect that fact. And while other users get access denied based on the mask value, SYSTEM and Administrators will never get access

Executable from x86_64-w64-mingw32-gcc.exe waits for input before prompt in Cygwin terminal but not Win Command Prompt

2015-04-11 Thread Randy Decker
# Brief problem description # C source file - 'printf(Test);' added as diagnostics # Source compiles and executes in Ubuntu # Executable compiled in cygwin terminal OK in command prompt W8.1 # - Also OK in another machine running Windows 8.1 # Same executable in cygwin term waits for input