Re: [ITP] CUnit-2.1.2-1

2011-03-11 Thread marco atzeri
On Thu, Mar 10, 2011 at 6:38 PM, Corinna Vinschen wrote: Hi Marco, On Mar  6 09:29, marco atzeri wrote: DESCRIPTION CUnit is a lightweight system for writing, administering, and running unit tests in C.  It provides C programmers a basic testing functionality with a flexible variety of

[RFU] {emacs,emacs-X11,emacs-el}-23.3-1

2011-03-11 Thread Ken Brown
New upstream release. wget -x -nH --cut-dirs=2 \ http://www.math.cornell.edu/~kbrown/cygwin/emacs/emacs-23.3-1-src.tar.bz2 \ http://www.math.cornell.edu/~kbrown/cygwin/emacs/emacs-23.3-1.tar.bz2 \ http://www.math.cornell.edu/~kbrown/cygwin/emacs/emacs-X11/setup.hint \

Re: [RFU] {emacs,emacs-X11,emacs-el}-23.3-1

2011-03-11 Thread Corinna Vinschen
On Mar 11 10:18, Ken Brown wrote: New upstream release. wget -x -nH --cut-dirs=2 \ http://www.math.cornell.edu/~kbrown/cygwin/emacs/emacs-23.3-1-src.tar.bz2 \ http://www.math.cornell.edu/~kbrown/cygwin/emacs/emacs-23.3-1.tar.bz2 \

RFU: w32api-3.17-1

2011-03-11 Thread Chris Sutcliffe
Please upload w32api-3.17-1: --- wget -x -nH --cut-dirs=1 \ http://emergedesktop.org/cygwin/w32api/w32api-3.17-1.tar.bz2 \ http://emergedesktop.org/cygwin/w32api/w32api-3.17-1-src.tar.bz2 --- Thank you, Chris

Re: RFU: w32api-3.17-1

2011-03-11 Thread Andy Koppe
On 12 March 2011 04:41, Chris Sutcliffe wrote: Please upload w32api-3.17-1: Done. I've also nuked 3.11 to 3.15. Cheers, Andy

Re: [ ITA ] base-files

2011-03-11 Thread Andy Koppe
On 11 March 2011 21:26, David Sastre wrote: Links to base-files-4.0-4: http://crapsteak.org/cygwin/release/base-files/base-files-4.0-4.tar.bz2 http://crapsteak.org/cygwin/release/base-files/base-files-4.0-4.tar.bz2.sig Looks good to me. Uploaded and cygwin-pkg-maint updated. Can versions

src/winsup/cygwin ChangeLog net.cc

2011-03-11 Thread corinna
CVSROOT:/cvs/src Module name:src Branch: cv-post-1_7_9 Changes by: cori...@sourceware.org 2011-03-11 09:26:27 Modified files: winsup/cygwin : ChangeLog net.cc Log message: * net.cc (SIO_BASE_HANDLE): Define. (fdsock): If we got an LSP handle,

src/winsup/cygwin autoload.cc hires.h ntdll.h ...

2011-03-11 Thread corinna
CVSROOT:/cvs/src Module name:src Branch: cv-post-1_7_9 Changes by: cori...@sourceware.org 2011-03-11 10:21:55 Modified files: winsup/cygwin : autoload.cc hires.h ntdll.h path.cc times.cc Log message: * autoload.cc (winmm): Rremove time functions. Don't

src/winsup/cygwin ChangeLog

2011-03-11 Thread corinna
CVSROOT:/cvs/src Module name:src Branch: cv-post-1_7_9 Changes by: cori...@sourceware.org 2011-03-11 11:16:35 Modified files: winsup/cygwin : ChangeLog Log message: Add missing ChangeLog entry Patches:

src/winsup/cygwin ChangeLog times.cc

2011-03-11 Thread corinna
CVSROOT:/cvs/src Module name:src Branch: cv-post-1_7_9 Changes by: cori...@sourceware.org 2011-03-11 11:17:50 Modified files: winsup/cygwin : ChangeLog times.cc Log message: * times.cc (hires_ms::timeGetTime_ns): Document entire functionality of

src/winsup/cygwin ChangeLog times.cc

2011-03-11 Thread corinna
CVSROOT:/cvs/src Module name:src Branch: cv-post-1_7_9 Changes by: cori...@sourceware.org 2011-03-11 11:22:06 Modified files: winsup/cygwin : ChangeLog times.cc Log message: * times.cc (hires_ms::timeGetTime_ns): Fix typo in comment. Patches:

src/winsup/cygwin times.cc

2011-03-11 Thread corinna
CVSROOT:/cvs/src Module name:src Branch: cv-post-1_7_9 Changes by: cori...@sourceware.org 2011-03-11 11:24:38 Modified files: winsup/cygwin : times.cc Log message: Fix previous fix for typo Patches:

src/winsup/cygwin ChangeLog cygwin.din posix.s ...

2011-03-11 Thread corinna
CVSROOT:/cvs/src Module name:src Branch: cv-post-1_7_9 Changes by: cori...@sourceware.org 2011-03-11 11:37:50 Modified files: winsup/cygwin : ChangeLog cygwin.din posix.sgml pthread.cc thread.cc thread.h winsup/cygwin/include:

src/winsup/cygwin ChangeLog times.cc

2011-03-11 Thread corinna
CVSROOT:/cvs/src Module name:src Branch: cv-post-1_7_9 Changes by: cori...@sourceware.org 2011-03-11 15:56:05 Modified files: winsup/cygwin : ChangeLog times.cc Log message: * times.cc (clock_setres): Use status code from NtSetTimerResolution to

src/winsup/w32api ChangeLog Makefile.in includ ...

2011-03-11 Thread ironhead
CVSROOT:/cvs/src Module name:src Changes by: ironh...@sourceware.org 2011-03-12 04:33:16 Modified files: winsup/w32api : ChangeLog Makefile.in winsup/w32api/include: w32api.h Log message: 2011-03-11 Chris Sutcliffe ir0nh...@users.sf.net

Re: Solution to using different usernames

2011-03-11 Thread Corinna Vinschen
On Mar 10 21:24, Jay Adams wrote: Shouldn't there be a tool in Cygwin that will give you the SID? mkpasswd -c Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports:

Re: snapshots revisited

2011-03-11 Thread Corinna Vinschen
On Mar 10 18:25, Christopher Faylor wrote: On Thu, Mar 10, 2011 at 06:24:24PM -0500, Christopher Faylor wrote: On Thu, Mar 10, 2011 at 10:13:53AM +0100, Corinna Vinschen wrote: On Mar 10 08:09, EXCOFFIER Denis wrote: Also that you replace GMT by UT in this snapshot page. I guess you mean

Re: Typing trouble?

2011-03-11 Thread Leonid Sadikov
At 10:24 AM 12/13/2000, Richard Dixon wrote: Dear All, A novice's question here - just got Cygwin running using an older version (a 10MB-or-so executable containing all the relevant files). It seems to be OK in terms of running but when typing in the bash shell, there are lots

Re: cygpath, cygcheck not working

2011-03-11 Thread Csaba Raduly
Hi Tod, On Thu, Mar 10, 2011 at 5:31 PM, Tod wrote: I just ran an update and now I can't get either of these two programs to display anything.  I execute them and get nothing back.  I tried getting out of X (I use WindowMaker) to see if that was an issue but the bare bones console has the

native console apps from #!/bin/sh scripts

2011-03-11 Thread Rafael Kitover
I can run native console apps from a console in a cygwin shell fine, however, for some reason they don't work correctly from a #!/bin/sh script. E.g., for activestate perl: TERM=dumb /c/Perl/bin/perl -MCPAN -e shell run from zsh prompt works correctly with readline support. Now if I put that

Re: ld: fatal error - cmalloc would have returned NULL

2011-03-11 Thread Rainer Emrich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mar 1 18:39, Corinna Vinschen wrote: On Mar 1 18:26, Rainer Emrich wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Any news on this issue? At the moment it's impossible to build libgcj during bootstrap of gcc! I tried 1.7.7-1 and

Re: Fork issues with long command lines and long $PATH

2011-03-11 Thread Daniel Colascione
On 2/17/11 2:27 AM, Corinna Vinschen wrote: There's no way to start a process and tell the Windows loader where you want the stack. True, but there's also no requirement to use the stack provided by the loader. Why not always allocate a separate stack and switch to it early in initialization?

Re: ssh from linux to windows - backtick output ended with '\r'

2011-03-11 Thread Philippe Scelers
I notice path is different between a ssh interactive session and a ssh remote command. When running remote command with ssh, the path does not include path to cygwin Workaround: should manually add path to cygwin at the very beginning e.g. into a shell script: #!/bin/sh

Re: ld: fatal error - cmalloc would have returned NULL

2011-03-11 Thread Corinna Vinschen
On Mar 11 12:57, Rainer Emrich wrote: On Mar 1 18:39, Corinna Vinschen wrote: And then ld crashes, because, apparently, it neglects to check the return value of mmap. Yes it's a fault to not check the return value of mmap, but that wouldn't help here either. So, the solution for me

Re: ld: fatal error - cmalloc would have returned NULL

2011-03-11 Thread Rainer Emrich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mar 11 12:57, Corinna Vinschen wrote: On Mar 11 12:57, Rainer Emrich wrote: On Mar 1 18:39, Corinna Vinschen wrote: And then ld crashes, because, apparently, it neglects to check the return value of mmap. Yes it's a fault to not check

Re: ld: fatal error - cmalloc would have returned NULL

2011-03-11 Thread Corinna Vinschen
On Mar 11 14:53, Rainer Emrich wrote: On Mar 11 12:57, Corinna Vinschen wrote: On Mar 11 12:57, Rainer Emrich wrote: So, the solution for me was to increase the cygheap size. The maximum seems to be 1792 MBytes. This solves the issue for boostrapping gcc with libjava enabled, but

Re: ld: fatal error - cmalloc would have returned NULL

2011-03-11 Thread Corinna Vinschen
On Mar 11 15:13, Corinna Vinschen wrote: On Mar 11 14:53, Rainer Emrich wrote: I have to be more clear. I increased the heap_chunk_in_mb to 1792 using: regtool -i set /HKLM/Software/Cygwin/heap_chunk_in_mb 1792 But that's the size of the application heap, not the size of the cygheap. The

Compiled program does nothing when executing it under Cygwin

2011-03-11 Thread Mengsk
Hello list, I've been using Cygwin for a few weeks to develop C programs under Windows XP. Since yesterday evening, various programs don't do anything anymore under Cygwin when I execute them though. This includes a program that I wrote and compiled myself but also Cygwin's psql binary. (When I

Re: ld: fatal error - cmalloc would have returned NULL

2011-03-11 Thread Corinna Vinschen
Rainer, On Mar 11 15:23, Corinna Vinschen wrote: On Mar 11 15:13, Corinna Vinschen wrote: On Mar 11 14:53, Rainer Emrich wrote: I have to be more clear. I increased the heap_chunk_in_mb to 1792 using: regtool -i set /HKLM/Software/Cygwin/heap_chunk_in_mb 1792 But that's the size of

Re: Compiled program does nothing when executing it under Cygwin

2011-03-11 Thread Mengsk
Hello again, I solved the problem already, sorry for the noise. Describing a problem to others often helps yourself if you do it properly I guess. ;) Mengsk wrote: I've been using Cygwin for a few weeks to develop C programs under Windows XP. Since yesterday evening, various programs don't

Re: Compiled program does nothing when executing it under Cygwin

2011-03-11 Thread Greg Chicares
On 2011-03-11 14:56Z, Mengsk wrote: [...previously-compiled program stopped working after partial Cygwin upgrade...] Cannot find entry point _feinitialise in dynamic link library cygwin1.dll Try rebuilding your program from scratch. It sounds like the cygwin1.dll you now have (after the

Re: Fork issues with long command lines and long $PATH

2011-03-11 Thread Corinna Vinschen
On Mar 11 04:33, Daniel Colascione wrote: On 2/17/11 2:27 AM, Corinna Vinschen wrote: There's no way to start a process and tell the Windows loader where you want the stack. True, but there's also no requirement to use the stack provided by the loader. Why not always allocate a separate

Re: Fork issues with long command lines and long $PATH

2011-03-11 Thread Christopher Faylor
On Fri, Mar 11, 2011 at 04:33:56AM -0800, Daniel Colascione wrote: On 2/17/11 2:27 AM, Corinna Vinschen wrote: There's no way to start a process and tell the Windows loader where you want the stack. True, but there's also no requirement to use the stack provided by the loader. Why not always

Re: snapshots revisited

2011-03-11 Thread Christopher Faylor
On Fri, Mar 11, 2011 at 09:20:12AM +0100, Corinna Vinschen wrote: On Mar 10 18:25, Christopher Faylor wrote: On Thu, Mar 10, 2011 at 06:24:24PM -0500, Christopher Faylor wrote: On Thu, Mar 10, 2011 at 10:13:53AM +0100, Corinna Vinschen wrote: On Mar 10 08:09, EXCOFFIER Denis wrote: Also that

'tr' Bug

2011-03-11 Thread Tim Daneliuk
echo /opt/IBN/df | tr [A-Z] [a-z] produces: /opt/xxx/df not: /opt/ibn/df Both Linux and FreeBSD produce correct results. Is this a known 'tr' bug? -- Tim Daneliuk tun...@tundraware.com -- Problem reports:

Re: native console apps from #!/bin/sh scripts

2011-03-11 Thread Andrew DeFaria
On 03/11/11 02:59, Rafael Kitover wrote: I can run native console apps from a console in a cygwin shell fine, however, for some reason they don't work correctly from a #!/bin/sh script. E.g., for activestate perl: TERM=dumb /c/Perl/bin/perl -MCPAN -e shell run from zsh prompt works correctly

Re: 'tr' Bug

2011-03-11 Thread marco atzeri
On Fri, Mar 11, 2011 at 4:28 PM, Tim Daneliuk wrote: echo /opt/IBN/df | tr [A-Z] [a-z] produces:   /opt/xxx/df not:   /opt/ibn/df Both Linux and FreeBSD produce correct results.  Is this a known 'tr' bug? --

RE: snapshots revisited

2011-03-11 Thread Karl M
Date: Fri, 11 Mar 2011 10:25:12 -0500 From: cgf Subject: Re: snapshots revisited On Fri, Mar 11, 2011 at 09:20:12AM +0100, Corinna Vinschen wrote: On Mar 10 18:25, Christopher Faylor wrote: On Thu, Mar 10, 2011 at 06:24:24PM -0500, Christopher Faylor wrote: On Thu, Mar 10, 2011 at

Re: 'tr' Bug

2011-03-11 Thread Eric Blake
On 03/11/2011 08:28 AM, Tim Daneliuk wrote: echo /opt/IBN/df | tr [A-Z] [a-z] produces: /opt/xxx/df Let me guess - you have a file named 'x' in the current directory. Quote your arguments, so that the shell won't glob them: echo /opt/IBN/df | tr '[A-Z]' '[a-z]' This is not

Re: 'tr' Bug

2011-03-11 Thread Reid Thompson
On 03/11/2011 10:28 AM, Tim Daneliuk wrote: echo /opt/IBN/df | tr [A-Z] [a-z] produces: /opt/xxx/df not: /opt/ibn/df Both Linux and FreeBSD produce correct results. Is this a known 'tr' bug? $ env|grep LANG LANG=en_US.UTF-8 GDM_LANG=en_US.UTF-8 [10:38:15] rthompso@raker~ $ uname

Re: 'tr' Bug

2011-03-11 Thread Reid Thompson
On 03/11/2011 10:39 AM, Eric Blake wrote: On 03/11/2011 08:28 AM, Tim Daneliuk wrote: echo /opt/IBN/df | tr [A-Z] [a-z] produces: /opt/xxx/df Let me guess - you have a file named 'x' in the current directory. Quote your arguments, so that the shell won't glob them: echo /opt/IBN/df |

Re: 'tr' Bug

2011-03-11 Thread Tim Daneliuk
On 3/11/2011 9:39 AM, Eric Blake said this: On 03/11/2011 08:28 AM, Tim Daneliuk wrote: echo /opt/IBN/df | tr [A-Z] [a-z] produces: /opt/xxx/df Let me guess - you have a file named 'x' in the current directory. Quote your arguments, so that the shell won't glob them: echo

Re: native console apps from #!/bin/sh scripts

2011-03-11 Thread David Sastre
2011/3/11, Andrew DeFaria wrote: On 03/11/11 02:59, Rafael Kitover wrote: I can run native console apps from a console in a cygwin shell fine, however, for some reason they don't work correctly from a #!/bin/sh script. E.g., for activestate perl: TERM=dumb /c/Perl/bin/perl -MCPAN -e shell

Re: 'tr' Bug

2011-03-11 Thread Eric Blake
On 03/11/2011 08:44 AM, Tim Daneliuk wrote: On 3/11/2011 9:39 AM, Eric Blake said this: On 03/11/2011 08:28 AM, Tim Daneliuk wrote: echo /opt/IBN/df | tr [A-Z] [a-z] produces: /opt/xxx/df Let me guess - you have a file named 'x' in the current directory. Quote your arguments, so that

Re: 'tr' Bug

2011-03-11 Thread Eliot Moss
On 3/11/2011 10:39 AM, Eric Blake wrote: On 03/11/2011 08:28 AM, Tim Daneliuk wrote: echo /opt/IBN/df | tr [A-Z] [a-z] produces: /opt/xxx/df Let me guess - you have a file named 'x' in the current directory. Quote your arguments, so that the shell won't glob them: echo /opt/IBN/df |

Re: Compiled program does nothing when executing it under Cygwin

2011-03-11 Thread Corinna Vinschen
On Mar 11 15:14, Greg Chicares wrote: On 2011-03-11 14:56Z, Mengsk wrote: [...previously-compiled program stopped working after partial Cygwin upgrade...] Cannot find entry point _feinitialise in dynamic link library cygwin1.dll Try rebuilding your program from scratch. It sounds

Re: 'tr' Bug

2011-03-11 Thread Eric Blake
On 03/11/2011 08:34 AM, marco atzeri wrote: $ echo /opt/IBN/df | tr [A-Z] [a-z] /opt/ibn/df $ uname -a CYGWIN_NT-5.1 1.7.8(0.236/5/3) 2011-03-01 09:36 i686 Cygwin $ set |grep LANG LANG=C.UTF-8 One more thing to note. According to POSIX, tr '[A-Z]' '[a-z]' is only portable in the POSIX

Re: 'tr' Bug

2011-03-11 Thread Tim Daneliuk
On 3/11/2011 9:44 AM, Tim Daneliuk said this: On 3/11/2011 9:39 AM, Eric Blake said this: On 03/11/2011 08:28 AM, Tim Daneliuk wrote: echo /opt/IBN/df | tr [A-Z] [a-z] produces: /opt/xxx/df Let me guess - you have a file named 'x' in the current directory. Quote your arguments, so

Re: snapshots revisited

2011-03-11 Thread Christopher Faylor
On Fri, Mar 11, 2011 at 10:25:12AM -0500, Christopher Faylor wrote: On Fri, Mar 11, 2011 at 09:20:12AM +0100, Corinna Vinschen wrote: On Mar 10 18:25, Christopher Faylor wrote: On Thu, Mar 10, 2011 at 06:24:24PM -0500, Christopher Faylor wrote: On Thu, Mar 10, 2011 at 10:13:53AM +0100, Corinna

Re: Compiled program does nothing when executing it under Cygwin

2011-03-11 Thread Larry Hall (Cygwin)
On 3/11/2011 10:09 AM, Mengsk wrote: When checking for the 'cygwin1.dll' file in C:\cygwin\bin, I discovered that there also was a file named 'cygwin1.dll.new' in there. I made a backup of my cygwin1.dll, deleted it and renamed the 'cygwin1.dll.new' file to 'cygwin1.dll'. Then I recompiled my

[ANNOUNCEMENT] Updated: {emacs,emacs-X11,emacs-el}-23.3-1

2011-03-11 Thread Ken Brown
New releases of the emacs, emacs-X11, and emacs-el packages (23.3-1) are now available, leaving 23.2-3 as previous. CYGWIN NOTES Install the emacs-X11 package if you want to use the X11 GUI. You can then type 'emacs' in an xterm window, and emacs will start in a new window. If

Please hold off testing [was Re: YA call to test cygwin snapshot]

2011-03-11 Thread Christopher Faylor
On Thu, Mar 10, 2011 at 12:47:38PM -0500, Christopher Faylor wrote: I'd appreciate another round of testing on the latest Cygwin snapshot. Please test it out and note successes/failures. When you do that, please include platform information, e.g., Windows 7 64-bit, Windows 2003 32-bit, etc.

Re: native console apps from #!/bin/sh scripts

2011-03-11 Thread Rafael Kitover
On 3/11/2011 10:34 AM, Andrew DeFaria wrote: On 03/11/11 02:59, Rafael Kitover wrote: I can run native console apps from a console in a cygwin shell fine, however, for some reason they don't work correctly from a #!/bin/sh script. E.g., for activestate perl: TERM=dumb /c/Perl/bin/perl

Re: Perl: Operation bool: no method found

2011-03-11 Thread Reini Urban
2011/3/9 Ken Brown: On 3/8/2011 8:42 PM, Rafael Kitover wrote: On 3/8/2011 2:14 PM, Ken Brown wrote: I'm trying to build biber (http://biblatex-biber.sourceforge.net/) for Cygwin.  It is written in Perl.  The documentation says to start by running `perl Build.PL' in order to make sure that I

Using cygwin LSA authentication package with non-cygwin applications?

2011-03-11 Thread Michal Suchanek
Hello, Is it possible to use the cyglsa.dll with non-cygwin applications? From licensing standpoint if the exception that opensource software can use the Cygwin library applies to this use I guess it would be good enough for me. From technical standpoint I can't locate the authentication

Re: Unset TMP/TEMP in profile? (was Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-67)

2011-03-11 Thread David Sastre
On Thu, Mar 10, 2011 at 10:17:08AM +0100, Corinna Vinschen wrote: On Mar 9 20:29, Thomas Wolff wrote: Am 09.03.2011 10:26, schrieb Corinna Vinschen: That's certainly feasible in some way, but I don't understand what you're trying to accomplish. In what situation would this have to be

Re: Compiled program does nothing when executing it under Cygwin

2011-03-11 Thread Mengsk
Hi, On 3/11/2011 10:09 AM, Mengsk wrote: I have no idea what changed/renamed the files in the first place though... 'setup.exe' did this. [...] Thanks for the info! What you guessed is true, except for the reboot part. It seems something went wrong with the scheduled completion of the

Re: Unset TMP/TEMP in profile? (was Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-67)

2011-03-11 Thread Andy Koppe
On 11 March 2011 19:36, David Sastre wrote: David, any problem to create tmp.sh and tmp.csh in profile.d for this purpose? Anyway, after that change it's really time to start using the new base-files package.  It's pending already too long, IMHO. I've been thinking about this, and I'd

[ANNOUNCEMENT] Updated: mscgen-0.20-1

2011-03-11 Thread Michael McTernan
Version 0.20-1 of mscgen has been uploaded. Mscgen is a small program that parses Message Sequence Chart descriptions and produces PNG, SVG, EPS or server side image maps as the output. Examples and more information are available at http://www.mcternan.me.uk/mscgen/ This update follows the

Re: Compiled program does nothing when executing it under Cygwin

2011-03-11 Thread René Berber
On 3/11/2011 2:00 PM, Mengsk wrote: Most likely it's just something about my PC/settings, otherwise others had noticed this already I guess. No, it is a well known problem with the handling of in use files, its even a well known problem in Microsoft (that the replace on boot doesn't always

Re: Perl: Operation bool: no method found

2011-03-11 Thread Rafael Kitover
On 3/11/2011 2:02 PM, Reini Urban wrote: 2011/3/9 Ken Brown: On 3/8/2011 8:42 PM, Rafael Kitover wrote: On 3/8/2011 2:14 PM, Ken Brown wrote: I'm trying to build biber (http://biblatex-biber.sourceforge.net/) for Cygwin. It is written in Perl. The documentation says to start by running