Re: RFU: wcd-5.1.4-2

2011-05-05 Thread Corinna Vinschen
On May 4 20:18, Jari Aalto wrote: 2011-05-04 12:26 Corinna Vinschen corinna-cygwin-rdbxbdvo6bxqt0dzr+a...@public.gmane.org: | On May 4 11:27, Jari Aalto wrote: | | Uploaded. What about old versions? Can be removed. Done. Thanks, Corinna -- Corinna Vinschen Please,

Re: libsigsegv packaging problem

2011-05-05 Thread Reini Urban
2011/5/3 Corinna Vinschen: On May  3 16:32, Reini Urban wrote: 2011/5/3 Corinna Vinschen: AFAICS the only reason to include windows.h is to get the definition of the CONTEXT type which in turn is used to typedef stackoverflow_context_t. Is it really necessary to expose this to the

Re: libsigsegv packaging problem

2011-05-05 Thread Corinna Vinschen
On May 5 10:50, Reini Urban wrote: 2011/5/3 Corinna Vinschen: On May  3 16:32, Reini Urban wrote: 2011/5/3 Corinna Vinschen: AFAICS the only reason to include windows.h is to get the definition of the CONTEXT type which in turn is used to typedef stackoverflow_context_t. Is

src/winsup/cygwin ChangeLog fhandler_registry.cc

2011-05-05 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2011-05-05 06:45:21 Modified files: winsup/cygwin : ChangeLog fhandler_registry.cc Log message: * fhandler_registry.cc (fhandler_registry::exists): Fix regression in EACCES handling.

src/winsup/cygwin ChangeLog posix.sgml

2011-05-05 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2011-05-05 06:48:51 Modified files: winsup/cygwin : ChangeLog posix.sgml Log message: * posix.sgml (std-notimpl): Remove bsd_signal, setcontext, and swapcontext, marked obsolete in

src/winsup/cygwin ChangeLog dcrt0.cc

2011-05-05 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2011-05-05 07:31:13 Modified files: winsup/cygwin : ChangeLog dcrt0.cc Log message: * dcrt0.cc (dll_crt0_1): Reset locale to C even when dynamically loaded. Patches:

src/winsup/cygwin ChangeLog fhandler.cc fhandl ...

2011-05-05 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2011-05-05 09:05:06 Modified files: winsup/cygwin : ChangeLog fhandler.cc fhandler_disk_file.cc Log message: * fhandler.cc (is_at_eof): Drop static storage class. Drop err parameter

src/winsup/cygwin ChangeLog fhandler_disk_file.cc

2011-05-05 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2011-05-05 13:45:06 Modified files: winsup/cygwin : ChangeLog fhandler_disk_file.cc Log message: * fhandler_disk_file.cc (fhandler_disk_file::pread): Correctly return with errno set to

src/winsup/cygwin ChangeLog

2011-05-05 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2011-05-05 13:46:36 Modified files: winsup/cygwin : ChangeLog Log message: Fix typo. Patches:

winsup/cygwin ChangeLog pinfo.cc

2011-05-05 Thread cgf
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: c...@sourceware.org 2011-05-05 14:46:14 Modified files: cygwin : ChangeLog pinfo.cc Log message: * pinfo.cc (_pinfo::exists): Check for PID_REAPED. Patches:

winsup/cygwin ChangeLog pinfo.cc fork.cc sigpr ...

2011-05-05 Thread cgf
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: c...@sourceware.org 2011-05-05 15:03:56 Modified files: cygwin : ChangeLog pinfo.cc fork.cc sigproc.cc Log message: * fork.cc (fork): Clear PID_REAPED. * pinfo.cc (pinfo_init): Ditto.

winsup/cygwin ChangeLog fhandler.cc fhandler.h ...

2011-05-05 Thread cgf
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: c...@sourceware.org 2011-05-05 17:44:42 Modified files: cygwin : ChangeLog fhandler.cc fhandler.h fhandler_fifo.cc fhandler_mailslot.cc pipe.cc Log message: * fhandler.cc

src/winsup/cygwin ChangeLog syscalls.cc

2011-05-05 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2011-05-05 18:46:38 Modified files: winsup/cygwin : ChangeLog syscalls.cc Log message: * syscalls.cc (readv): Add myfault handler. Don't check repeatedly open state of file handler.

winsup/cygwin ChangeLog cygheap.cc debug.cc de ...

2011-05-05 Thread cgf
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: c...@sourceware.org 2011-05-05 22:30:53 Modified files: cygwin : ChangeLog cygheap.cc debug.cc devices.cc devices.h devices.in dtable.cc fhandler.cc

Re: [PATCH] False positive from access(/proc/registry/..., F_OK)

2011-05-05 Thread Corinna Vinschen
On May 4 22:09, Christian Franke wrote: * fhandler_registry.cc (fhandler_registry::exists): Fix regression in EACCES handling. (fhandler_registry::open): Fix %val case. Applied with the EACCESS typo noted by Eric fixed. Thanks, Corinna -- Corinna Vinschen

Re: [PATCH] update posix.sgml:std-notimpl

2011-05-05 Thread Corinna Vinschen
On May 4 17:22, Yaakov (Cygwin/X) wrote: * posix.sgml (std-notimpl): Remove bsd_signal, setcontext, and swapcontext, marked obsolete in SUSv3 and not present in SUSv4. Applied. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin

[PATCH] Fix access(/proc/registry/HKEY_PERFORMANCE_DATA, R_OK)

2011-05-05 Thread Christian Franke
This patch fixes access(/proc/registry/HKEY_PERFORMANCE_DATA, R_OK) which always fails with EBADF. Christian 2011-05-05 Christian Franke fra...@computer.org * security.cc (check_registry_access): Handle missing security descriptor of HKEY_PERFORMANCE_DATA. diff --git

Re: [PATCH] tcsetpgrp fails unexpectedly

2011-05-05 Thread Christopher Faylor
On Mon, Apr 04, 2011 at 12:23:00PM -0700, Tor Perkins wrote: Thanks for the patch and the report. I'll take a look at this in detail in the next couple of days. However, unfortunately, I think this is a large enough submission that it requires an assignment form. Thanks for looking into it!

Re: [PATCH] tcsetpgrp fails unexpectedly

2011-05-05 Thread Corinna Vinschen
On May 5 13:10, Christopher Faylor wrote: On Mon, Apr 04, 2011 at 12:23:00PM -0700, Tor Perkins wrote: Thanks for the patch and the report. I'll take a look at this in detail in the next couple of days. However, unfortunately, I think this is a large enough submission that it requires

Re: [PATCH] Fix access(/proc/registry/HKEY_PERFORMANCE_DATA, R_OK)

2011-05-05 Thread Corinna Vinschen
On May 5 18:51, Christian Franke wrote: This patch fixes access(/proc/registry/HKEY_PERFORMANCE_DATA, R_OK) which always fails with EBADF. Christian 2011-05-05 Christian Franke ... * security.cc (check_registry_access): Handle missing security descriptor of

Re: [PATCH] tcsetpgrp fails unexpectedly

2011-05-05 Thread Corinna Vinschen
On May 5 19:23, Corinna Vinschen wrote: On May 5 13:10, Christopher Faylor wrote: On Mon, Apr 04, 2011 at 12:23:00PM -0700, Tor Perkins wrote: Thanks for the patch and the report. I'll take a look at this in detail in the next couple of days. However, unfortunately, I think this is

Re: [PATCH] tcsetpgrp fails unexpectedly

2011-05-05 Thread Christopher Faylor
On Thu, May 05, 2011 at 08:19:24PM +0200, Corinna Vinschen wrote: On May 5 19:23, Corinna Vinschen wrote: On May 5 13:10, Christopher Faylor wrote: On Mon, Apr 04, 2011 at 12:23:00PM -0700, Tor Perkins wrote: Thanks for the patch and the report. I'll take a look at this in detail in

Re: [PATCH] Fix access(/proc/registry/HKEY_PERFORMANCE_DATA, R_OK)

2011-05-05 Thread Christian Franke
Corinna Vinschen wrote: On May 5 18:51, Christian Franke wrote: This patch fixes access(/proc/registry/HKEY_PERFORMANCE_DATA, R_OK) which always fails with EBADF. Christian 2011-05-05 Christian Franke... * security.cc (check_registry_access): Handle missing

[PATCH] sysinfo

2011-05-05 Thread Yaakov (Cygwin/X)
This implements sysinfo(2), a GNU extension: http://www.kernel.org/doc/man-pages/online/pages/man2/sysinfo.2.html The code is partially based on our /proc/meminfo and /proc/uptime code. (My next patch will port the former to use sysinfo(2), but the latter cannot as it uses .01s resolution, more

Re: Cygwin Permissions Error - solved

2011-05-05 Thread 2del
THE PROBLEM: (see solution below) I used to get this error while running cygwin binaries from Visual Studio (either linked to IIS or not). I think it applies to other cases as well, when the binaries are being run by other users on that box. The Error was:       4 [main] ssh-keygen 8796

difficulties with snapshots

2011-05-05 Thread EXCOFFIER Denis
Hi, 1) It seems that we have management problems with the snapshots. The last one (indicated 2011-05-04 01:02:18 UTC) belongs in fact to 2011-05-05, and it is more recent than the preceding snapshot (indicated yesterday 2011-05-04 06:xx:xx UTC), which has now disappeared (diffs are shown against

Re: difficulties with snapshots

2011-05-05 Thread Corinna Vinschen
On May 5 10:47, EXCOFFIER Denis wrote: Hi, 1) It seems that we have management problems with the snapshots. The last one (indicated 2011-05-04 01:02:18 UTC) belongs in fact to 2011-05-05, and it is more recent than the preceding snapshot (indicated yesterday 2011-05-04 06:xx:xx UTC), which

RE: Background processes prevent terminal window from closing

2011-05-05 Thread Buchbinder, Barry (NIH/NIAID) [E]
Ryan Dortmans sent the following at Thursday, May 05, 2011 12:30 AM I have found that background processes prevent the terminal window from closing. I have tried with the cmd terminal as well as mintty. Here is a simple example: $ notepad .profile [1] 10260 $ exit logout The window remains

Re: sshd in a domain

2011-05-05 Thread Robert Jacobson
On 6/24/2010 9:24 AM, Robert Jacobson |cygwin/Example Allow| wrote: I need some help to get sshd working so that when I login using public-key auth to my domain account (which has local administrator privileges), it actually has the Adminisitrator privs. The platform is Windows XP Pro,

Re: Any way to prevent programs like Vim from clearing scrollback buffers?

2011-05-05 Thread Robert Jacobson
For vim specifically, the following line in ~/.vimrc should prevent that: set t_ti= t_te= For man -- it uses less by default as a pager. So, you can set the environment variable LESS to include the character X. man . export LESS=X Note that the above will also prevent less from clearing the

Re: sshd in a domain

2011-05-05 Thread Corinna Vinschen
On May 5 07:57, Robert Jacobson wrote: Is there some reason (other than the reboot-after-cygwin-update requirement) that ssh-host-config doesn't automatically run cyglsa-config as well? Yes, because it installs a kind of driver into the OS and it's not really necessary in all circumstances.

Re: Background processes prevent terminal window from closing

2011-05-05 Thread Charles Wilson
On 5/5/2011 7:38 AM, Buchbinder, Barry (NIH/NIAID) [E] wrote: But if you do not want to be limited file in the current working directory, use a function. notepad () { cygstart $(cygpath -u -W)/notepad.exe $(cygpath -w $1) } You might have to change -W to -S in the first cygpath, if

Re: mksh

2011-05-05 Thread Refr Bruhl
Of course. However I try to avoid daisy chaining files in an enterprise setting. 6 to 1 or half dozen to the other. Both methods work. Its just a preference. --Refr inn gra Wars are to be won with swords and spears, not with rice and salt. -- Uesugi Kenshin On 3 May 2011 09:42, Refr

Emacs backgrounds itself

2011-05-05 Thread Ryan Johnson
Hi all, Strange one here... I just updated emacs and a bunch of other packages, and for some reason 'emacs -nw' now backgrounds itself immediately after starting, and again each time I try to foreground it afterward. If I run emacs-X11 directly (again, in -nw mode) it segfaults during

Re: Emacs backgrounds itself

2011-05-05 Thread Ryan Johnson
s/gcc/gdb/g *sigh* On 05/05/2011 10:34 AM, Ryan Johnson wrote: Hi all, Strange one here... I just updated emacs and a bunch of other packages, and for some reason 'emacs -nw' now backgrounds itself immediately after starting, and again each time I try to foreground it afterward. If I run

Re: Emacs backgrounds itself

2011-05-05 Thread Ken Brown
On 5/5/2011 10:34 AM, Ryan Johnson wrote: Hi all, Strange one here... I just updated emacs and a bunch of other packages, and for some reason 'emacs -nw' now backgrounds itself immediately after starting, and again each time I try to foreground it afterward. If I run emacs-X11 directly (again,

Re: difficulties with snapshots

2011-05-05 Thread Christopher Faylor
On Thu, May 05, 2011 at 10:47:39AM +0200, EXCOFFIER Denis wrote: Hi, 1) It seems that we have management problems with the snapshots. The last one (indicated 2011-05-04 01:02:18 UTC) belongs in fact to 2011-05-05, That has been fixed. Thanks for the heads up. and it is more recent than the

strchrnul() crashing latest dash

2011-05-05 Thread Akakima
I just tried to build dash. Downloaded the source code with setup.exe. dash.exe core dumped. Using GDB found that strchrnul (the one cygwin1.dll) was the location of the crash. I modified config.h to use dash's own strchrnul. Now everything seems ok. I am using the latest cygwin dll. May be

Re: strchrnul() crashing latest dash

2011-05-05 Thread Eric Blake
On 05/05/2011 09:39 AM, Akakima wrote: I just tried to build dash. Downloaded the source code with setup.exe. dash.exe core dumped. Using GDB found that strchrnul (the one cygwin1.dll) was the location of the crash. I modified config.h to use dash's own strchrnul. Now everything seems ok.

Re: strchrnul() crashing latest dash

2011-05-05 Thread Akakima
Eric Blake ebl...@redhat.com a écrit dans le message de news: 4dc2c56d.9040...@redhat.com... Thanks. Tried again with latest snapshot. Everything is OK now Will remember the hint about the snapshots :-) -- Problem reports: http://cygwin.com/problems.html FAQ:

[ANNOUNCEMENT] Updated: libsigsegv-2.10-1

2011-05-05 Thread Reini Urban
I included Eric Blake's [PATCH] Avoid polluting cygwin namespace, also at http://repo.or.cz/w/libsigsegv/ericb.git Successfully tested with clisp. See http://cygwin.com/ml/cygwin-apps/2011-05/msg0.html It's a small library for handling page faults in user mode. A page fault occurs when a

[ANNOUNCEMENT] [security] updated: lftp-4.2.3-1

2011-05-05 Thread Andrew Schulman
A new version of lftp, 4.2.3-1, is now available in the Cygwin distribution. This release includes the following SECURITY UPDATE from upstream: * don't write passwords to transfer_log. As always see http://lftp.yar.ru/news.html for the full changelog. All lftp users are encouraged to

Re: Emacs backgrounds itself (solved)

2011-05-05 Thread Ryan Johnson
On 05/05/2011 10:34 AM, Ryan Johnson wrote: Hi all, Strange one here... I just updated emacs and a bunch of other packages, and for some reason 'emacs -nw' now backgrounds itself immediately after starting, and again each time I try to foreground it afterward. If I run emacs-X11 directly

Getting ACLs to Work on C:/?

2011-05-05 Thread Kimbo Mundy
In 1.5 I could set CYGWIN=ntsec and see the same (accurate) set of permissions if I did ls -l C:/ or ls -l /cygdrive/c. How can I do the same thing in 1.7? ACLs are already the default for mount -c, but if I do ls -l C:/ its as if I have noacl set. In other words, how do I get this to be the

Re: Getting ACLs to Work on C:/?

2011-05-05 Thread Larry Hall (Cygwin)
On 5/5/2011 3:54 PM, Kimbo Mundy wrote: In 1.5 I could set CYGWIN=ntsec and see the same (accurate) set of permissions if I did ls -l C:/ or ls -l /cygdrive/c. How can I do the same thing in 1.7? ACLs are already the default for mount -c, but if I do ls -l C:/ its as if I have noacl set. In

ssh issues

2011-05-05 Thread Eli Barzilay
Hopefully this is a FAQ in some place that I've missed... I have an XP machine set up for doing builds via ssh. This works fine with one problem: when ssh is started normally as a service, there's some obscure Visual Studio problem (it complains about some misconfiguration). To solve it, I

Re: ssh issues

2011-05-05 Thread René Berber
On 5/5/2011 3:31 PM, Eli Barzilay wrote: Hopefully this is a FAQ in some place that I've missed... Maybe not a FAQ but its a common complaint by people using VS; you might find more information on this list by searching over Visual Studio (which I don't use). I have an XP machine set up for

Re: ssh issues

2011-05-05 Thread Charles Wilson
On 5/5/2011 5:07 PM, René Berber wrote: On 5/5/2011 3:31 PM, Eli Barzilay wrote: But now I'm trying to set up a Windows 7 build machine, and things get more complicated in a way that I think is related to the above. The first thing that fails (after I start sshd as myself, similarly to the

libxml2 package does not include the static library

2011-05-05 Thread Dmitry Katsubo
Dear CygWin community, I haven't got from the FAQ how to report problems in CygWin, so I email to this maillist again. The current package v2.7.7-1 does not include the file /lib/libxml2.a, which I need for static linking. When I compile the package manually via configure make all install I got

Re: mksh

2011-05-05 Thread Cyrille Lefevre
Le 03/05/2011 14:39, Refr Bruhl a écrit : Has anyone else noticed in the 1.7.9 version of cygwin the mksh korn shell interpreter does not source the .profile file? Is there a work around other than sourcing it manually -- which manual sourcing breaks scripts. have you tried ksh -l ?