Re: How to investigate a bug in /bin/mkshortcut.exe ?

2011-10-24 Thread Andy Koppe
On 23 October 2011 23:14, Regid Ichira wrote: >  /etc/postinstall/mintty.sh's exit code is 127. > >    $ cat /etc/postinstall/mintty.sh >    PROGS=$(/bin/cygpath -P $CYGWINFORALL) >    /bin/mkdir -p "$PROGS/Cygwin" && >    cd "$PROGS/Cygwin" && >    /bin/mkshortcut -n mintty /bin/mintty -a - -d "Cy

Re: Install error with rebase 4.0.0-1

2011-10-24 Thread Corinna Vinschen
On Oct 23 19:36, scow...@ckhb.org wrote: > > this new release of rebaseall has an error at lines 217 and 219. > the version i just downloaded erroneously assumes invocation of the > utility from the current directory. if i missed any previous > mention of this in the list, i apologize for the dup

Re: Install error with rebase 4.0.0-1

2011-10-24 Thread Corinna Vinschen
On Oct 23 16:05, Marco Atzeri wrote: > On 10/23/2011 3:57 PM, Marc Girod wrote: > > > > > >Marc Girod wrote: > >> > >>To be honest, I find that cygcheck too behaves strangely: > >> > >>... > >>~> cygcheck -l rebase-3.0.1-1 > >> > >OK: my mistake (Thanks Marco): > > > >~> cygcheck -c rebase > >Cyg

Re: Mapping "underline" to "colour" - how is the colour determined?

2011-10-24 Thread Ronald Fischer
>>> infocmp cygwin>cygwin.txt >> >> Which package do I need to have infocmp installed? According to Setup, I >> have terminfo 5.7 installed. However, infocmp is not in my PATH, not is >> there a man page for it. >> >http://cygwin.com/cgi-bin2/package-grep.cgi?grep=infocmp >Regards >Marco Hmm...

Re: rm -rf calls rmdir() prior to close(), which can fail

2011-10-24 Thread Jim Meyering
Jim Meyering wrote: ... > Here is the patch that I expect to push tomorrow: > > Subject: [PATCH] fts: close parent dir FD before returning from > post-traversal fts_read > > The problem: the fts-using "rm -rf A/B/" would attempt to unlink A, > while a file descriptor open on A remained. This is s

Re: rm -rf calls rmdir() prior to close(), which can fail

2011-10-24 Thread Jim Meyering
Jim Meyering wrote: >> Here is the patch that I expect to push tomorrow: ... > I've fixed/improved the ChangeLog/commit-log: > > Subject: [PATCH] fts: close parent dir FD before returning from > post-traversal fts_read > > The problem: the fts-using "mkdir -p A/B; rm -rf A" would attempt to > unli

Re: Install error with rebase 4.0.0-1

2011-10-24 Thread Marc Girod
Marc Girod wrote: > > Sorry. This made a difference on the command line, but not in the file. > Is there something wrong in redirecting xauth's stderr to /dev/null? It complains that the file doesn't exist, and indeed just made sure to remove it... trap "rm -f '$xserverauthfile'" HUP INT Q

Re: Mapping "underline" to "colour" - how is the colour determined?

2011-10-24 Thread Marco Atzeri
On 10/24/2011 10:12 AM, Ronald Fischer wrote: infocmp cygwin>cygwin.txt Which package do I need to have infocmp installed? According to Setup, I have terminfo 5.7 installed. However, infocmp is not in my PATH, not is there a man page for it. http://cygwin.com/cgi-bin2/package-grep.cgi?grep=

Re: (CVS) SH_USER_SHAREDplus allocation

2011-10-24 Thread Corinna Vinschen
On Oct 22 14:35, jan.kolar wrote: > > http://cygwin.com/ml/cygwin-cvs/2011-q2/msg00196.html > introduced reordering of SH_- related memory blocks and the following change > > | - unsigned size = offsets[i + 1] - offsets[i]; > | + unsigned size = offsets[i] - offsets[i + 1]; > | off

Re: syslog-ng on Win7

2011-10-24 Thread Corinna Vinschen
On Oct 22 18:04, Ken Brown wrote: > I have syslog-ng running on two 64-bit Win7 systems, and the service > stops periodically and can't be restarted. The file > /var/log/syslog.ng log contains many lines saying > > Persistent configuration file is in invalid format, ignoring; > > But apparentl

RE: 1.7.9: spawn brakes reopening of serial port

2011-10-24 Thread Manuel Wienand
Hallo Corinna, thanks for the response. Yes, you are right, I missed the fact that the child process inherits the file descriptors. I took a look at the documentation of exec and just to be clear on the descriptor/handler issue: - file descriptor are passed down (basically always when calling t

Re: 1.7.9: spawn brakes reopening of serial port

2011-10-24 Thread Corinna Vinschen
Please, don't http://cygwin.com/acronyms/#TOFU On Oct 24 12:02, Manuel Wienand wrote: > Hallo Corinna, > > thanks for the response. Yes, you are right, I missed the fact that > the child process inherits the file descriptors. > > I took a look at the documentation of exec and just to be clear

Re: rm -rf cannot delete the upmost directory level anymore on a Novell share

2011-10-24 Thread Corinna Vinschen
On Oct 24 12:11, Franz Sirl wrote: > Am 2011-10-21 17:35, schrieb Corinna Vinschen: > >On Oct 21 16:58, Franz Sirl wrote: > >>I will create a support case with Novell. To make my understanding > >>clear, I think there are actually 2 problems here (Win32 calls for > >>illustration, assuming the dire

Re: rm -rf cannot delete the upmost directory level anymore on a Novell share

2011-10-24 Thread Franz Sirl
Am 2011-10-24 12:31, schrieb Corinna Vinschen: On Oct 24 12:11, Franz Sirl wrote: Am 2011-10-21 17:35, schrieb Corinna Vinschen: On Oct 21 16:58, Franz Sirl wrote: I will create a support case with Novell. To make my understanding clear, I think there are actually 2 problems here (Win32 calls

Re: rm -rf cannot delete the upmost directory level anymore on a Novell share

2011-10-24 Thread Corinna Vinschen
On Oct 24 13:49, Franz Sirl wrote: > Am 2011-10-24 12:31, schrieb Corinna Vinschen: > >On Oct 24 12:11, Franz Sirl wrote: > >>Am 2011-10-21 17:35, schrieb Corinna Vinschen: > >>>On Oct 21 16:58, Franz Sirl wrote: > I will create a support case with Novell. To make my understanding > clear,

General question on the status of named pipes

2011-10-24 Thread Nathan Thern
I have several scripts that use named pipes for the purpose of processing sound files. I use them on both linux and cygwin. After the switch to cygwin1.7 I converted most of them to the use of tempfiles. Nevertheless, when encountering old scripts in my archives or when trying to create efficient n

W7x64/Cygwin 1.7.9-1 Weird problem with cp and cat

2011-10-24 Thread g...@novadsp.com
I am trying to build WebKit on Windows. There are a large number of bash and perl scripts plus makefiles which rely on Cygwin tools. My original problem was that cat and cp refused to work when given filenames starting with/dev/fs/. I 'solved' this by modifying the scripts to run "mount -c /dev/f

Re: rm -rf calls rmdir() prior to close(), which can fail

2011-10-24 Thread Eric Blake
On 10/24/2011 02:58 AM, Jim Meyering wrote: ** Bug fixes + rm -rf DIR would fail with "Device or resource busy" on Cygwin with NWFS + and NcFsd file systems. This did not affect Unix/Linux-based kernels. + [bug introduced in coreutils-7.0, when rm began using fts] rm didn't use fts() unt

[ANNOUNCEMENT] [security] Updated: socat 1.7.1.3-1 and 2.0.0b4-1

2011-10-24 Thread Andrew Schulman
Two new versions of socat, 1.7.1.3-1 and 2.0.0b4-1, are now available in the Cygwin distribution. These releases both include a security fix for a stack overflow vulnerability. Please see the upstream advisory at http://www.dest-unreach.org/socat/contrib/socat-secadv2.html for details. All soca

[ANNOUNCEMENT] Updated: lftp-4.3.3-1

2011-10-24 Thread Andrew Schulman
A new version of lftp, 4.3.3-1, is now available in the Cygwin distribution. This is a new upstream release, including bug fixes and new features. Please see http://lftp.yar.ru/news.html for the full changelog. The previous Cygwin release was 4.2.3-1. lftp is a sophisticated file transfer progra

Re: Install error with rebase 4.0.0-1

2011-10-24 Thread S. Cowles
On Mon, 24 Oct 2011, Corinna Vinschen wrote: then ! rebase "${Verbose}" -s "${Mach}" -T "${TmpFile}" else ! rebase "${Verbose}" -s "${Mach}" -b "${BaseAddress}" -o "${Offset}" -T "${TmpFile}" fi ExitCode=$? Ouch, that's probably a residue of my testing. Fixed in CVS. tha

Re: rm -rf cannot delete the upmost directory level anymore on a Novell share

2011-10-24 Thread Eric Blake
On 10/24/2011 05:49 AM, Franz Sirl wrote: Thanks, it looks like expected now, given NcFsd's behaviour. Note that this can't be fixed on NWFS. On NWFS, only the changes to upstream coreutils as outlined in http://cygwin.com/ml/cygwin/2011-10/msg00481.html will help. Yes, I noticed that one too,

Re: General question on the status of named pipes

2011-10-24 Thread Eric Blake
On 10/24/2011 06:51 AM, Nathan Thern wrote: I have several scripts that use named pipes for the purpose of processing sound files. I use them on both linux and cygwin. After the switch to cygwin1.7 I converted most of them to the use of tempfiles. Nevertheless, when encountering old scripts in my

Re: General question on the status of named pipes

2011-10-24 Thread Nathan Thern
On Mon, Oct 24, 2011 at 12:55 PM, Eric Blake wrote: > Actually, named pipes have _never_ worked, at least according to the full > set of POSIX rules. It's just that some releases had code that limped along > better than in other releases for the particular use cases you happened to > throw at the

Re: [ANNOUNCEMENT] Updated: binutils-2.22.51-1

2011-10-24 Thread Dave Korn
On 20/10/2011 03:14, Chris Sutcliffe wrote: > On 18/10/2011 3:03 PM, Christopher Faylor wrote: >> I've made a new version of binutils available for installation. This >> is a refresh against CVS. The contents of the NEWS file for this >> snapshot >> are in /usr/share/doc/Cygwin/binutils-2.22.51-1

[ANNOUNCEMENT] Updated: smartmontools-5.42-1

2011-10-24 Thread Christian Franke
Version 5.42-1 of smartmontools has been uploaded. http://smartmontools.sourceforge.net/ Changes include: - smartctl option '-l devstat' (Device Statistics). - smartctl option '-l ssd' (SSD endurance indicator). - smartd logs identify information of each SCSI/SAS device. - smartd resends warning

rebase problem

2011-10-24 Thread Zdzislaw Meglicki
There is a problem with running rebase on my system. I go through the motions: (1) invoke Windows Command Prompt, then cd c:\Cygwin\bin dash PATH=. rebaseall -v This works fine until: /usr/bin/cygAfterImage-0.dll: new base = 6ff7, new size = 7 /usr/X11R6/bin/cygXft-1.dll: new base = 6ff

[ANNOUNCEMENT] Updated: rebase-4.0.1-1

2011-10-24 Thread Jason Tishler
New News: === I have updated the version of rebase to 4.0.1-1. The tarballs should be available on a Cygwin mirror near you shortly. The following are the changes since the previous release: * Change rebaseall to call rebase instead of ./rebase. * Configure with --sysconfdir=/etc.

OpenSSH *** fatal error - unable to load C:\WINDOWS\system32\user32.dll, Win32 error 1114

2011-10-24 Thread Jim Garrison
I'm consistently getting a stack trace when attempting to run a command via ssh, using a dsa key, on a remote Windows Server 2003 SP2 x64 that has Cygwin sshd installed and configured. The error is occurring at the remote sshd process: $ ssh qaautotest1 ls 2 [main] sshd 3156 D:\c

RE: Re: How to investigate a bug in /bin/mkshortcut.exe ?

2011-10-24 Thread Regid Ichira
On 24 October 2011 08:38:07 +0100, Andy Koppe wrote: > On 23 October 2011 23:14, Regid Ichira wrote: > > Â/etc/postinstall/mintty.sh's exit code is 127. > > > > Â Â$ cat /etc/postinstall/mintty.sh > > Â ÂPROGS=$(/bin/cygpath -P $CYGWINFORALL) > > Â Â/bin/mkdir -p "$PROGS/Cygwin" && > > Â Âcd "$PRO

Re: Contributing license information?

2011-10-24 Thread Luke Kendall
Corinna Vinschen wrote: On Aug 19 11:09, Luke Kendall wrote: Soon, I will have prepared a list of the location of every license file in every Cygwin package. My motivation is to make it easy for people to find the license information, if they need it. (Preparing this information has required

[ANNOUNCEMENT] Updated: version 5.45 of expect/tcl

2011-10-24 Thread Craig Miller
Hello All, I am the author of expect-lite which relies heavily on expect. The version in the cygwin repository is quite old (from 2003). I have compiled a modern version of expect (v 5.45) based on TCL 8.5. Expect, originally written by Don Libes, is a program that "talks" to other inter

Re: [ANNOUNCEMENT] Updated: version 5.45 of expect/tcl

2011-10-24 Thread Marco Atzeri
On 10/25/2011 3:31 AM, Craig Miller wrote: Hello All, I am the author of expect-lite which relies heavily on expect. The version in the cygwin repository is quite old (from 2003). I have compiled a modern version of expect (v 5.45) based on TCL 8.5. Expect, originally written by Don Libes, is