Re: pthreads leaks handles and threads when threads use sockets

2005-01-30 Thread Reini Urban
Mark Pizzolato schrieb: Reini Urban wrote: Mark Pizzolato schrieb: I've been using clamav's clamd under cygwin and noticed that over time the handle count as viewed with TaskManager seems to grow to arbitrary values. I used clamd's option IdleTimeout set to 600 seconds which dramatically

Re: New user needs help

2005-01-30 Thread Igor Pechtchanski
On Sun, 30 Jan 2005, itzack s wrote: I would be very grateful if someone could explain to me the procedure for installing software on cygwin,i am new to this system but i am very keen to learn,Do i need some form of account to log on as root..Hope i dont sound to stupid. Thank you

Why does cygwin1.dll use NtCreateFile() instead of CreateFile()

2005-01-30 Thread Dan Ch
I noticed that cygwin-1.5.12-1/winsup/cygwin/fhandler.cc uses NtCreateFile() instead of CreateFile() on Windows NT based operating systems (NT, 2000, 2003, XP) for opening files. Why? I checked the archives for this mailing list and noted some activity that discuses some side affects caused by

Re: Why does cygwin1.dll use NtCreateFile() instead of CreateFile()

2005-01-30 Thread Igor Pechtchanski
On Sun, 30 Jan 2005, Dan Ch wrote: I noticed that cygwin-1.5.12-1/winsup/cygwin/fhandler.cc uses NtCreateFile() instead of CreateFile() on Windows NT based operating systems (NT, 2000, 2003, XP) for opening files. Why? I checked the archives for this mailing list and noted some activity

Re: Cron problem on Windows 2003

2005-01-30 Thread Igor Pechtchanski
On Fri, 28 Jan 2005, Pierre A. Humblet wrote: Igor Pechtchanski wrote: I don't know, I kind of prefer the way it's phrased in the openssh.README (i.e., a special note about the user privileges in Win2003, rather than a common description). That README also has a nice step-by-step

Cygwin not passing return code to Windows?

2005-01-30 Thread Brian Bruns
Hello all, I hope I'm not repeating a bug someone mentioned in the past, but here goes. I maintain one of the ports of ClamAV for windows, which I do using Cygwin. Up until Cygwin 1.5.12, the return code from stuff like clamscan was being passed back to Windows, so programs outside of Cygwin

Re: Cygwin not passing return code to Windows?

2005-01-30 Thread Christopher Faylor
On Sun, Jan 30, 2005 at 03:06:03PM -0500, Brian Bruns wrote: Up until Cygwin 1.5.12, the return code from stuff like clamscan was being passed back to Windows, so programs outside of Cygwin could call the binary and tell weather or not the program found a virus in the file it scanned. Now, in the

Re: Updated: sed-4.1.3-1

2005-01-30 Thread Luke Kendall
On 29 Jan, Corinna Vinschen wrote: * regex addresses do not use leftmost-longest matching. In other words, /.\+/ only looks for a single character, and does not try to find as many of them as possible like it used to do. Interesting: does that mean every existing script that relied

Problem with 20050130 snapshot and ssh-agent

2005-01-30 Thread David Rothenberger
I tried using keychain with the 20050130 snapshot and encountered the following problem. The command was run from an rxvt window running bash. % keychain ~/.ssh/id_dsa KeyChain 2.0.3; http://www.gentoo.org/projects/keychain Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL

Re: Why does cygwin1.dll use NtCreateFile() instead of CreateFile()

2005-01-30 Thread Dan Ch
On Sun, 30 Jan 2005, Igor Pechtchanski wrote: On Sun, 30 Jan 2005, Dan Ch wrote: I noticed that cygwin-1.5.12-1/winsup/cygwin/fhandler.cc uses NtCreateFile() instead of CreateFile() on Windows NT based operating systems (NT, 2000, 2003, XP) for opening files. Why? I checked the archives

Re: Why does cygwin1.dll use NtCreateFile() instead of CreateFile()

2005-01-30 Thread Reini Urban
Dan Ch schrieb: Thank you for providing some information. But I do not understand what types of objects require read permission in order to successfully open with SYNCHRONIZE access. On Windows XP Professional SP2, using CreateFile(...,GENERIC_WRITE | SYNCHRONIZE, ...) to open an ordinary file

Hyperthreading problem: remote access

2005-01-30 Thread Joris van der Sande
The hyperthreading problem reproduces perfectly on my Hush ATX 2.8 GHz P4 (www.hush-pc.com): building my application fails consistent (within 1 minute) with hyperthreading enabled. Since my machine is on-line 24/7, would it help if I gave Christopher (or another motivated developer) remote

customizing bash

2005-01-30 Thread vshastri
Hi, I am a new cygwin user. I am not able to locate the .profile, .login .bashrc etc bash files, so I can use it to customize bash. I understand from various installation instruction that I red that the HOME env variable needs to be set for this. I followed the instructions given in many

Re: Hyperthreading problem: remote access

2005-01-30 Thread Larry Hall
At 07:45 PM 1/30/2005, you wrote: The hyperthreading problem reproduces perfectly on my Hush ATX 2.8 GHz P4 (www.hush-pc.com): building my application fails consistent (within 1 minute) with hyperthreading enabled. Since my machine is on-line 24/7, would it help if I gave Christopher (or

Re: Updated: sed-4.1.3-1

2005-01-30 Thread Igor Pechtchanski
On Mon, 31 Jan 2005, Luke Kendall wrote: On 29 Jan, Corinna Vinschen wrote: * regex addresses do not use leftmost-longest matching. In other words, /.\+/ only looks for a single character, and does not try to find as many of them as possible like it used to do. Interesting: does

Re: Why does cygwin1.dll use NtCreateFile() instead of CreateFile()

2005-01-30 Thread Dan Ch
On Sun, 30 Jan 2005, Reini Urban wrote: Dan Ch schrieb: Thank you for providing some information. But I do not understand what types of objects require read permission in order to successfully open with SYNCHRONIZE access. On Windows XP Professional SP2, using

Re: _AS_DETECT_BETTER_SHELL speedup

2005-01-30 Thread Stepan Kasal
Hello, On Sat, Jan 29, 2005 at 06:34:19AM -0800, Noah Misch wrote: On Sat, Jan 29, 2005 at 03:03:53PM +0100, Alexandre Duret-Lutz wrote: $ strace bash -c '{ foo; } 2/dev/null' 21 | grep clone clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,

Unable to properly execute a let statement from a shell script

2005-01-30 Thread Paolo Gesmundo
Hi all, I am running bash on XP I have a very simple script a.sh a.sh: export P=1 let Q=$P+1 echo P=$P echo Q=$Q Case 1) If at prompt I run: a.sh let: not found P=1 Q= Case 2) If I run: bash a.sh P=1 Q=2 I know that I could modify a.sh by adding

Re: Unable to properly execute a let statement from a shell script

2005-01-30 Thread Jani Tiainen
Paolo Gesmundo kirjoitti: Hi all, I am running bash on XP I have a very simple script a.sh a.sh: export P=1 let Q=$P+1 echo P=$P echo Q=$Q Case 1) If at prompt I run: a.sh let: not found P=1 Q= Case 2) If I run: bash a.sh P=1 Q=2 I know that I could modify

Randomly Cursor Jumps To Home

2005-01-30 Thread Ryan Wagoner
When typing in xwin the cursor will jump to the beginning of the line at random times, like pressing the home key would accomplish. I have the latest version installed on both my p4 hyperthreaded desktop and p2 laptop. The desktop machine is the only one having this problem. There is no way to

Re: Randomly Cursor Jumps To Home

2005-01-30 Thread Igor Furlan
I had similar problem with my mouse. At the end I've figured it out, was just the mouse. After I've replace it with another one, the problem was gone. --- Ryan Wagoner [EMAIL PROTECTED] wrote: When typing in xwin the cursor will jump to the beginning of the line at random times, like