Re: How LANG environment variable is set?

2014-04-24 Thread Achim Gratz
Larry Hall (Cygwin cygwin.com> writes: > Good catch. Yes, the latest version of base_files makes this change to > the profile_d() function. Looks like the easiest interim solution is to > downgrade to base_files-4.1-2. The easiest interim solution is probably to unset LC_ALL or revert to _LC_SA

Coverity Scan

2014-04-24 Thread David Stacey
Coverity Scan [1] is a commercial (paid for) static analysis tool, but they offer it to Open Source programmes for free. I was having a browse through the list of Open Source programmes using Coverity Scan, and noticed that Cygwin wasn't listed. Would there be any interest in analysing the cygwin1

Re: Cygwin needs a man-db port

2014-04-24 Thread Chris J. Breisch
waterlan wrote: I must have done something wrong in the build before I sent this. Re-building libpipeline does cause 'make check' to execute the tests. I got one failure. I've talked to the owner of the project, and he's sent me a patch that does eliminate the failure. So I now have a libpipelin

Re: How LANG environment variable is set?

2014-04-24 Thread Angelo Graziosi
David Rothenberger wrote: It looks like /etc/profile sets LC_ALL=C before running the scripts in /etc/profile.d, then restores it to its original setting. This prevents LANG getting set by lang.sh. The statement LC_ALL=C has been introduced in /et/profile with the recent upgrade of base-file 4

Re: How LANG environment variable is set?

2014-04-24 Thread Larry Hall (Cygwin)
On 04/24/2014 05:56 PM, David Rothenberger wrote: Angelo Graziosi wrote: I remember that some time ago I had, in mintty, $ echo $LANG it_IT.UTF-8 Now LANG is empty ('echo $LANG' prints nothing). I notice that /etc/profile.d has lang.sh which should set LANG when I start mintty. That script co

[ANNOUNCEMENT] Updated: doxygen-1.8.7-1

2014-04-24 Thread David Stacey
The following packages have been updated: - doxygen-1.8.7-1 - doxygen-doxywizard-1.8.7-1 CHANGES: Numerous new features and bug fixes. For the full change log, please see: http://www.doxygen.org/manual/changelog.html#log_1_8_7 DESCRIPTION === Doxygen is a documentation

Re: Cygwin needs a man-db port

2014-04-24 Thread waterlan
waterlan schreef op 2014-04-24 21:43: Chris J. Breisch schreef op 2014-04-17 20:32: Erwin Waterlander wrote: Hi, The major linux distributions have switched for their man system to 'man-db' (http://man-db.nongnu.org/) in favour of the classic man. I think that Cygwin should also switch to man

Re: How LANG environment variable is set?

2014-04-24 Thread David Rothenberger
Angelo Graziosi wrote: > I remember that some time ago I had, in mintty, > > $ echo $LANG > it_IT.UTF-8 > > Now LANG is empty ('echo $LANG' prints nothing). > > I notice that /etc/profile.d has lang.sh which should set LANG when I > start mintty. That script contains > > test -z "${LC_ALL:-${LC

Re: How LANG environment variable is set?

2014-04-24 Thread Larry Hall (Cygwin)
On 04/24/2014 05:13 PM, Angelo Graziosi wrote: I remember that some time ago I had, in mintty, $ echo $LANG it_IT.UTF-8 Now LANG is empty ('echo $LANG' prints nothing). I notice that /etc/profile.d has lang.sh which should set LANG when I start mintty. That script contains test -z "${LC_ALL:-

How LANG environment variable is set?

2014-04-24 Thread Angelo Graziosi
I remember that some time ago I had, in mintty, $ echo $LANG it_IT.UTF-8 Now LANG is empty ('echo $LANG' prints nothing). I notice that /etc/profile.d has lang.sh which should set LANG when I start mintty. That script contains test -z "${LC_ALL:-${LC_CTYPE:-$LANG}}" && export LANG=$(/usr/bin

Re: ambiguous overload for operator [] on Cygwin_X86-64

2014-04-24 Thread Yaakov (Cygwin/X)
On 2014-04-23 22:15, Tatsuro MATSUOKA wrote: I tried to build wxWidgets-3.0.0 on Cygwin. For Cygwin x86, the build was successful. However, on Cygwin x86_64, the build failed at compling a cpp source file (src/common/appbase.cpp). ./include/wx/filename.h: In static member function 'static wxUn

Re: Cygwin needs a man-db port

2014-04-24 Thread waterlan
Chris J. Breisch schreef op 2014-04-17 20:32: Erwin Waterlander wrote: Hi, The major linux distributions have switched for their man system to 'man-db' (http://man-db.nongnu.org/) in favour of the classic man. I think that Cygwin should also switch to man-db. man-db is much better in handlin

Re: Cygwin needs a man-db port

2014-04-24 Thread waterlan
Chris J. Breisch schreef op 2014-04-23 17:18: Chris J. Breisch wrote: Check-0.9.12 seems to work out-of-the-box. Configure with --prefix=/usr. "make check" on check reports all tests passed, despite what appear to be some failures. The CHANGELOG says that this version should pass all tests o

Re: rm -f behavior

2014-04-24 Thread Douglas Coup
If it's any help, the same type of behavior happens when trying to do "cp -f" when the target exists and has a permission mask of 444. cp might be trying to do an rm first. Regards, Doug Coup Objective Systems, Inc. REAL WORLD ASN.1 AND XML SOLUTIONS Tel: +1 (484) 875-9841 Fax: +1 (484) 875-

default shell

2014-04-24 Thread Dawid Ferenczy
Hi, it's not a big deal, I just wonder what to execute, if I would like to execute user's default shell (defined in /etc/passwd). For example in cmd.exe, ConEmu or Console2. I don't want to hardcode a shell anywhere (in console emulator configuration, some batch file etc.), I just want to au

Re: rm -f behavior

2014-04-24 Thread Corinna Vinschen
On Apr 24 18:36, Corinna Vinschen wrote: > On Apr 24 11:34, Douglas Coup wrote: > > If I do "which rm" and "which chmod", it shows that both commands > > resolve to the Cygwin binaries. > > > > The attached rm.notworking.trace file is from an "rm -f dac.txt" > > command that gets the permission de

Re: rm -f behavior

2014-04-24 Thread Corinna Vinschen
On Apr 24 11:34, Douglas Coup wrote: > If I do "which rm" and "which chmod", it shows that both commands > resolve to the Cygwin binaries. > > The attached rm.notworking.trace file is from an "rm -f dac.txt" > command that gets the permission denied error; i.e., when the > permissions on the file

Re: rm -f behavior

2014-04-24 Thread Corinna Vinschen
On Apr 23 16:43, Douglas Coup wrote: > I run Cygwin on a Windows 8.1 workstation. > > I just recently started noticing that the following sequence doesn't work: > > $ touch dac.txt > $ chmod 444 dac.txt > $ rm -f dac.txt > > The rm -f command gets a permission denied error. This just started >

Re: cygcheck -p file.exe segmentation fault (x86_64)

2014-04-24 Thread Corinna Vinschen
On Apr 23 23:25, Doug Henderson wrote: > On Wed, Apr 23, 2014 at 9:44 AM, Corinna Vinschen wrote: > > On Apr 23 09:17, Doug Henderson wrote: > >> I am trying to identify the package containing the strings executable. > >> > >> $ uname -a > >> CYGWIN_NT-6.1 Rover 1.7.29(0.272/5/3) 2014-04-07 13:46 x

Re: Dup'd sockets lose error information

2014-04-24 Thread Corinna Vinschen
On Apr 23 17:38, Corinna Vinschen wrote: > On Apr 23 16:25, qq qq wrote: > > The following code is a simplified app that was used to test-connect > > to local ports 55000+ (none of which were actually listening) and > > received false-positive "connected" results because Cygwin's dup() > > for sock

Re: Fatal error from Cygwin emacs-w32 every day or so

2014-04-24 Thread Ken Brown
On 4/23/2014 7:56 PM, David Rothenberger wrote: Ken Brown wrote: I've rebuilt emacs-24.3 with the gnutls fix. David and Achim (and anyone else who's been experiencing these crashes), please try the following binary and let me know if it solves the problem: http://sanibeltranquility.com/cy