Re: Problem with sh/bash and snapshot cygwin1-20050825.dll

2005-08-25 Thread Christopher Faylor
On Fri, Aug 26, 2005 at 12:31:07AM -0400, Volker Quetschke wrote: >I just stumbled over the following problem: > >$ cat shelltest.sh >#! /bin/sh >ANT_HOME="/cygdrive/c/apache-ant-1.6.5/bin/.." >ANT_HOME=`cd "$ANT_HOME" && pwd` > >With cygwin1-200

Re: Problem with sh/bash and snapshot cygwin1-20050825.dll

2005-08-25 Thread Volker Quetschke
Brian Dessent wrote: Volker Quetschke wrote: #! /bin/sh ANT_HOME="/cygdrive/c/apache-ant-1.6.5/bin/.." ANT_HOME=`cd "$ANT_HOME" && pwd` [...] If I change the first line to: #! /bin/bash it surprisingly works with both snapshots. Does the 'bin' subdirectory exist? Yes. $ ll /cygdrive/c/apac

Re: Problem with sh/bash and snapshot cygwin1-20050825.dll

2005-08-25 Thread Brian Dessent
Volker Quetschke wrote: > #! /bin/sh > ANT_HOME="/cygdrive/c/apache-ant-1.6.5/bin/.." > ANT_HOME=`cd "$ANT_HOME" && pwd` > [...] > If I change the first line to: > #! /bin/bash > it surprisingly works with both snapshots. Does the 'bin' subdirectory exist? If not then you're probably running int

Problem with sh/bash and snapshot cygwin1-20050825.dll

2005-08-25 Thread Volker Quetschke
I just stumbeled over the following problem: $ cat shelltest.sh #! /bin/sh ANT_HOME="/cygdrive/c/apache-ant-1.6.5/bin/.." ANT_HOME=`cd "$ANT_HOME" && pwd` With cygwin1-20050825.dll: $ ./shelltest.sh ./shelltest.sh: line 3: cd: /cygdrive/c/apache-ant-1.6.5/bin/..

Re: Msg reply

2005-08-25 Thread support
Check attached file. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: zsh: command not found => hangs

2005-08-25 Thread Christopher Faylor
On Thu, Aug 25, 2005 at 04:57:46PM -0700, Peter A. Castro wrote: >On Fri, 26 Aug 2005, Samuel Thibault wrote: >>Peter A. Castro, le Thu 25 Aug 2005 14:18:53 -0700, a ?crit : >>>On Thu, 25 Aug 2005, Samuel Thibault wrote: Note that I replaced cygwin1.dll by the latest snapshot (2005/08/24).

Re: Which snapshot file should I use?

2005-08-25 Thread Brian Dessent
William Deegan wrote: > I installed the cygwin1.dll and cygwin1.dbg, but I'm still not seeing > any symbols in > cygwin.dll. Am I missing a step? > I attached to a running process via: > gdb -pid > > (gdb) dll-symbols /bin/cygwin1.dbg > (gdb) where > #0 0x77f75a59 in ntdll!DbgUiConnectToDb

Re: zsh: command not found => hangs

2005-08-25 Thread Peter A. Castro
On Fri, 26 Aug 2005, Samuel Thibault wrote: Hi, Peter A. Castro, le Thu 25 Aug 2005 14:18:53 -0700, a écrit : On Thu, 25 Aug 2005, Samuel Thibault wrote: Note that I replaced cygwin1.dll by the latest snapshot (2005/08/24). The current release version (2005/07/03) does work fine. I tried with

Problems with pthread mutex attributes

2005-08-25 Thread Pablo Bleyer Kocik
Hello list. I am having problems using pthread conditional variables with mutexes created using mutex attributes with the latest Cygwin. If I initialize my mutexes with NULL attributes to get the default behavior, everything works. However if I try to use mutex attributes my program freezes

perennity of cygwin_internal(CW_GET_ERRNO_FROM_WINERROR,err)

2005-08-25 Thread Samuel Thibault
Hi, While writing a library for instance, we'd like to return appropriate errno values, and for this cygwin_internal(CW_GET_ERRNO_FROM_WINERROR,err) would be much useful. Documentation says "Stay away unless you know what you're doing". Could it be removed some day, and hence we shouldn't use it?

cygwin 1.5.18-1: Process hangs, trying to debug, have tried snapshots

2005-08-25 Thread William Deegan
Greetings, I've download and installed the latest snapshot, in hopes of being able to see what's happening inside of cygwin1.dll where the process seems to be intermittanly hanging in perl: Here's the stack trace obtained with sysinternals process explorer: thread 1 ntoskrnl.exe+0x618fb ntoskrnl

Re: 1.5.18 ( 0.132/4/2 ) - ioperm - OpenSCManager failed

2005-08-25 Thread Marcel Telka
On Thu, Aug 25, 2005 at 05:15:15PM -0300, pppd wrote: > $ ioperm.sys > bash: /usr/bin/ioperm.sys: Permission denied ioperm.sys is not a standalone executable. [snip] > Cygwin Package Information > Last downloaded files to: c:\cyg_packages > Last downloaded files from: http://planetmirror.com/pu

Re: 1.5.18 ( 0.132/4/2 ) - ioperm - OpenSCManager failed

2005-08-25 Thread Marcel Telka
On Thu, Aug 25, 2005 at 10:42:21PM +0200, Gerrit P. Haase wrote: > pppd wrote: > > >$ ioperm -i > >OpenSCManager function call failed. > >Error: ioperm.sys installation failed. > > > >and then.. > > > >$ ioperm.sys > >bash: /usr/bin/ioperm.sys: Permission denied > > > >Does anybody can help me ? >

Re: zsh: command not found => hangs

2005-08-25 Thread Samuel Thibault
Hi, Peter A. Castro, le Thu 25 Aug 2005 14:18:53 -0700, a écrit : > On Thu, 25 Aug 2005, Samuel Thibault wrote: > >Note that I replaced cygwin1.dll by the latest snapshot (2005/08/24). > >The current release version (2005/07/03) does work fine. I tried with > >previous snapshots, even 2005/07/05 f

Re: strerror(), errno and syslog()

2005-08-25 Thread Corinna Vinschen
On Aug 25 23:34, Samuel Thibault wrote: > Hi, > > This crashes (yes it's odd code, but it shouldn't crash): > > #include > #include > > int main(void) { > errno = -1; > syslog(LOG_ERR,"foo"); > } > > Indeed, one of the first things that vsyslog does is > > char *errtext = s

Re: 1.5.18 ( 0.132/4/2 ) - ioperm - OpenSCManager failed

2005-08-25 Thread Marcel Telka
Hi Douglas. On Thu, Aug 25, 2005 at 05:59:16PM -0300, Douglas Schilling Landgraf wrote: > Thanks Gerrit, I got how to compile my program reading "README" file ;o). > It needs use -lioperm flag ( On Linux it's -O2 for ioperm functions ) . > > $ gcc -o io io.c -lioperm > $./io > Illegal instructi

strerror(), errno and syslog()

2005-08-25 Thread Samuel Thibault
Hi, This crashes (yes it's odd code, but it shouldn't crash): #include #include int main(void) { errno = -1; syslog(LOG_ERR,"foo"); } Indeed, one of the first things that vsyslog does is char *errtext = strerror (get_errno ()); int errlen = strlen (errtext);

Re: zsh: command not found => hangs

2005-08-25 Thread Peter A. Castro
On Thu, 25 Aug 2005, Samuel Thibault wrote: Peter A. Castro, le Wed 24 Aug 2005 16:21:16 -0700, a écrit : On Tue, 23 Aug 2005, Samuel Thibault wrote: With latest snapshot, whenever I mistype a command in zsh, I get proper zsh: command not found: foobar but then it hangs. This doesn't happen w

Re: 1.5.18 ( 0.132/4/2 ) - ioperm - OpenSCManager failed

2005-08-25 Thread Douglas Schilling Landgraf
Thanks Gerrit, I got how to compile my program reading "README" file ;o). It needs use -lioperm flag ( On Linux it's -O2 for ioperm functions ) . $ gcc -o io io.c -lioperm $./io Illegal instruction ( code dumped ) I don't know why it happens on Cygwin. On Linux the same code works fine ( below

Re: 1.5.18 ( 0.132/4/2 ) - ioperm - OpenSCManager failed

2005-08-25 Thread Gerrit P. Haase
pppd wrote: $ ioperm -i OpenSCManager function call failed. Error: ioperm.sys installation failed. and then.. $ ioperm.sys bash: /usr/bin/ioperm.sys: Permission denied Does anybody can help me ? From the website: Install (activate) ioperm.sys driver using ioperm -i. This is required only fo

Re: Which snapshot file should I use?

2005-08-25 Thread William Deegan
On 8/25/05, Larry Hall <[EMAIL PROTECTED]> wrote: > At 02:23 PM 8/25/2005, you wrote: > >Greetings, > > Reformatting: > > >I'm wondering under what circumstances do I use each of the above? > > > >I see the following files on the snapshot page: > >winsup-src-*.tar.bz2sources in the winsup d

Re: mini install of cygwin

2005-08-25 Thread Gerrit P. Haase
Gerrit P. Haase wrote: Gerrit P. Haase wrote: I case someone wants to try to figure out what is going wrong I have attached the patch I used to build it (also my script). Missed to attach the script, here is the configure options: export srcdir=../ && export prefix=/usr/local &&\ Sorry

Re: mini install of cygwin

2005-08-25 Thread Gerrit P. Haase
Gerrit P. Haase wrote: I case someone wants to try to figure out what is going wrong I have attached the patch I used to build it (also my script). Missed to attach the script, here is the configure options: export srcdir=../ && export prefix=/usr/local &&\ ${srcdir}/configure \ --sourc

Re: mini install of cygwin

2005-08-25 Thread Gerrit P. Haase
Frodo wrote: ffmpeg ( I can't compile it i don't know how to or why i can't ) You cannot compile it but you don't know why? I can compile it but it doesn't run, and I don't know why. Isn't that funny? However, I have a version online which is older and works (no idea if vhook works though):

1.5.18 ( 0.132/4/2 ) - ioperm - OpenSCManager failed

2005-08-25 Thread pppd
Hello guys, I'd like to use ioperm functions under Cygwin 1.5.18 ( 0.132/4/2 ). First I have tried to compile my C code ( below ) on Cygwin. P.S: It works on Linux. #include #include #include #include int main( void ) { unsigned char Value; ioperm(0x378, 3, 1); Value = inb

Re: gold star request for Andrew Schulman

2005-08-25 Thread Andrew Schulman
> I'd like to request a gold star for Andrew Schulman for displaying the > bravery, patience, and organization necessary for maintaining the unison > package. > > This package requires juggling a confusing mishmash of different > versions and, AFAICT, Andrew actually understands it all and is > pr

Re: gold star request for Andrew Schulman

2005-08-25 Thread Igor Pechtchanski
On Thu, 25 Aug 2005, Christopher Faylor wrote: > I'd like to request a gold star for Andrew Schulman for displaying the > bravery, patience, and organization necessary for maintaining the unison > package. > > This package requires juggling a confusing mishmash of different > versions and, AFAICT,

Re: zsh: command not found => hangs

2005-08-25 Thread Samuel Thibault
Hi, I also noticed that enabling tty in the CYGWIN environment variable makes the hang less systematic: I have to run around half a dozen unknown commands to get the hang (while without the tty option, it's systematic). Regards, Samuel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-

gold star request for Andrew Schulman

2005-08-25 Thread Christopher Faylor
I'd like to request a gold star for Andrew Schulman for displaying the bravery, patience, and organization necessary for maintaining the unison package. This package requires juggling a confusing mishmash of different versions and, AFAICT, Andrew actually understands it all and is providing differ

Re: Which snapshot file should I use?

2005-08-25 Thread Yitzchak Scott-Thoennes
On Thu, Aug 25, 2005 at 02:43:27PM -0400, Larry Hall wrote: > >cygwin-inst-*.tar.bz2 directory from "make install" (dll, exes, > >libs, headers, etc) > > > Use this if you plan to build stuff against the new DLL (but not the DLL > itself.) Used in conjunction with cygwin1-*.dll.bz2. No,

Re: Which snapshot file should I use?

2005-08-25 Thread Larry Hall
At 02:23 PM 8/25/2005, you wrote: >Greetings, Reformatting: >I'm wondering under what circumstances do I use each of the above? >I see the following files on the snapshot page: >winsup-src-*.tar.bz2sources in the winsup directory Use this when you just want to have the Cygwin source or so

Re: who is setting the NAME variable in bash?

2005-08-25 Thread Andrew Schulman
> >Any suggestions for how I can figure out who's setting NAME? I want > >to make them stop. > > Look in your Windows environment. Apparently someone set it for you there. > If you don't want it, you can try removing it. Windows doesn't require it > either so whatever added it is local to your

[ANNOUNCEMENT] New packages: unison2.13, unison2.17; updates to other unison packages

2005-08-25 Thread Schulman . Andrew
The unison2.13 and unison2.17 packages are now available in the Cygwin distribution. In addition, some minor documentation updates have been made to the unison2.9.1, unison2.9.20, unison2.10.2, unison2.12.0 packages. Unison is a file synchronizer for Unix and Windows. It allows two replicas of a

Re: Cygwin gcc and g90 compilers...

2005-08-25 Thread Bill Hughes
On 8/23/05, Christopher Faylor <[EMAIL PROTECTED]> wrote: > On Tue, Aug 23, 2005 at 04:30:28PM -0400, Igor Pechtchanski wrote: > >On Tue, 23 Aug 2005, Christopher Faylor wrote: ..snip.. > >>Checking up on this posting problem, I see that it is the standard > >>problem with attempting to send html e

Which snapshot file should I use?

2005-08-25 Thread William Deegan
Greetings, I see the following files on the snapshot page: winsup-src-*.tar.bz2sources in the winsup directory cygwin1-*.dll.bz2 stripped and compressed cygwin1.dll cygwin1-*.dbg.bz2 debugging information for cygwin1.dll (rename to /bin/cygwin1.dbg for use with gdb) cygwin-inst-*.t

Re: Re: misbehavior of ftell on stdin?

2005-08-25 Thread Larry Hall
At 01:31 PM 8/25/2005, you wrote: >Please delete me from this list. > > Ouch! You managed to make at least three mistakes with this posting: 1. This is not the list you can use to manage your subscription. A pointer to the directions to follow is available as a footer to all email se

Re: who is setting the NAME variable in bash?

2005-08-25 Thread Larry Hall
At 01:12 PM 8/25/2005, you wrote: >I'm running bash 3.0-11. I've just noticed for the first time that >the NAME environment variable is set (to the same value as USER). This >is breaking one of my Makefiles. > >Of course I can work around that, but what's bothering me is that I >can't figure out w

Re: Re: misbehavior of ftell on stdin?

2005-08-25 Thread Liya
Please delete me from this list. [EMAIL PROTECTED] - Original Message - From: "Larry Hall" <[EMAIL PROTECTED]> To: "June Kim" <[EMAIL PROTECTED]>; Sent: Thursday, August 25, 2005 12:32 PM Subject: Re: Re: misbehavior of ftell on stdin? > At 10:41 AM 8/25/2005, you wrote: > >> On Fri,

Re: who is setting the NAME variable in bash?

2005-08-25 Thread Raul Metsma
Andrew Schulman wrote: I'm running bash 3.0-11. I've just noticed for the first time that the NAME environment variable is set (to the same value as USER). This is breaking one of my Makefiles. Of course I can work around that, but what's bothering me is that I can't figure out why or where NAM

who is setting the NAME variable in bash?

2005-08-25 Thread Andrew Schulman
I'm running bash 3.0-11. I've just noticed for the first time that the NAME environment variable is set (to the same value as USER). This is breaking one of my Makefiles. Of course I can work around that, but what's bothering me is that I can't figure out why or where NAME is being set. I've gre

Re: mini install of cygwin

2005-08-25 Thread Larry Hall
At 10:45 AM 8/25/2005, you wrote: >Hello, > >I whould love to have cygwin for just > >pov-ray ( I compiled it b4 100% no errors ) >vcdimager ( I neer tryed to compile it ) >ffmpeg ( I can't compile it i don't know how to or why i can't ) > >also I want to use > >wget >vi, joe > >mmm so what package

Re: Re: misbehavior of ftell on stdin?

2005-08-25 Thread Larry Hall
At 10:41 AM 8/25/2005, you wrote: >> On Fri, Aug 19, 2005 at 04:51:12AM +0900, June Kim wrote: >> I've fixed cygwin so that it consistently returns -1 when an ftell is >> attempted on a tty device, which is the correct behavior. >> >> Thanks for the test case. >> >> cgf > >Thank you but where

Re: crontab

2005-08-25 Thread Igor Pechtchanski
Ugh, top-posting. Reformatted... On Thu, 25 Aug 2005, Jean-Michel Douchain wrote: > Igor Pechtchanski a écrit : > > > On Tue, 23 Aug 2005, Jean-Michel Douchain wrote: > > > > > I can't run automatically any program with cron?? > > > Can you help me?? > > > > > > -- crontab -- > > > # DO

Re: crontab

2005-08-25 Thread Jean-Michel Douchain
Hello, thanks for your response. I've tried your command line but with no success. When i simply do this: * * * * * /usr/bin/date >> /tmp/crontst the file crontst is created and i see each time the prog was executed in different line. But it's the only thing i can do!! When i run another simple p

Re: Incoming Message

2005-08-25 Thread support
Here is the file. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __

RE: Shared memory problem

2005-08-25 Thread Dave Korn
Original Message >From: CRAIG SORENSEN >Sent: 25 August 2005 15:56 > I have attached the cygcheck file and a short program that I have copied > from a tutorial online. I am compiling it as shown here: > > gcc shm_write.c -o shm_write > > There are no errors or warnings when I compile, bu

Re: Shared memory problem

2005-08-25 Thread Igor Pechtchanski
Ugh, top-posting. Reformatted. On Thu, 25 Aug 2005, CRAIG SORENSEN wrote: > From: Igor Pechtchanski <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: CRAIG SORENSEN <[EMAIL PROTECTED]> > CC: [EMAIL PROTECTED] . Thanks. > On Thu, 25 Aug 2005

mini install of cygwin

2005-08-25 Thread Frodo
Hello, I whould love to have cygwin for just pov-ray ( I compiled it b4 100% no errors ) vcdimager ( I neer tryed to compile it ) ffmpeg ( I can't compile it i don't know how to or why i can't ) also I want to use wget vi, joe mmm so what packages do I need ? I want to have the minimun becaus

Re: System environment variables

2005-08-25 Thread Jason Pyeron
On Thu, 25 Aug 2005, Corinna Vinschen wrote: Basically a good idea, but it probably won't work for two reasons. - Some of the env variables in the registry are REG_EXPAND_SZ strings which contain other variables like this: %SystemRoot%\System32 ignoring it for now, those are not needed

Re: Re: misbehavior of ftell on stdin?

2005-08-25 Thread June Kim
> On Fri, Aug 19, 2005 at 04:51:12AM +0900, June Kim wrote: > >I run cygwin on Windows XP through rxvt. When I compile and run the > >following code: > > > >#include > > > >main() > >{ > > printf("isatty=%d",isatty(fileno(stdin))); > > char *s=(char *)malloc(1024+1); > > char *s2=(char *)malloc

Re: Shared memory problem

2005-08-25 Thread Igor Pechtchanski
On Thu, 25 Aug 2005, CRAIG SORENSEN wrote: > I have followed the instructions in the README file and the messages > already sent about this subject. The cygserver is set up and running, > but I am still getting a Bad system call when I run a simple program > with and . What could I be doing wrong

Shared memory problem

2005-08-25 Thread CRAIG SORENSEN
I have followed the instructions in the README file and the messages already sent about this subject. The cygserver is set up and running, but I am still getting a Bad system call when I run a simple program with and . What could I be doing wrong? -- Unsubscribe info: http://cygwin.com

Re: Problems with Windows threads and cygwin sleep()

2005-08-25 Thread Corinna Vinschen
On Aug 25 15:40, Pavel Tsekov wrote: > Hello, > > On Thu, 25 Aug 2005, Corinna Vinschen wrote: > > > > Here when the app is compiled with -mno-cygwin it takes 100% cpu when it > > > allocates 400+ threads - both from Windows Command Prompt and Cygwin bash. > > > After all the testcase consist alm

bugs in realpath

2005-08-25 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 By my reading of POSIX, realpath() has several bugs. realpath("//", buf) should output "//", but currently resolves to /cygdrive/c/ realpath("nonexistent", buf) should fail with ENOENT, but currently resolves to `pwd`/nonexistent realpath(NULL, buf)

Re: Problems with Windows threads and cygwin sleep()

2005-08-25 Thread Keith Moore
Corinna Vinschen wrote: > You're on W2K, I'm on XP, maybe there's a difference? I can easily > reproduce nearly 0% CPU with 1000 threads if no Cygwin process is > present and nearly 99% if a Cygwin process is present. > > Even if we can't do much about it, it would be interesting to find out > h

Re: Diff and grep problems

2005-08-25 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [Ugh - top-posting. Reformatted] >> This is not cygwin specific. Read up on 'info diff' - the -X option is a >> file listing patterns of FILENAMES to ignore when diffing directories, >> not >> LINES to ignore within file pairs being diffed. Try -I

Re: Diff and grep problems

2005-08-25 Thread Adrian Marsh
Hi Eric, Thanks for the help. I'd already "man diff" and it doesn't read like it applies only to files, but info tells me more : `-I REGEXP' `--ignore-matching-lines=REGEXP' Ignore changes that just insert or delete lines that match REGEXP. *Note Specified Lines::. However - this

Re: Problems with Windows threads and cygwin sleep()

2005-08-25 Thread Pavel Tsekov
Hello, On Thu, 25 Aug 2005, Corinna Vinschen wrote: > > Here when the app is compiled with -mno-cygwin it takes 100% cpu when it > > allocates 400+ threads - both from Windows Command Prompt and Cygwin bash. > > After all the testcase consist almost entirely of Win32 calls. > > You're on W2K, I'm

RE: Problems with Windows threads and cygwin sleep()

2005-08-25 Thread Dave Korn
Original Message >From: Corinna Vinschen >Sent: 25 August 2005 13:09 > > Even if we can't do much about it, it would be interesting to find out > how Cygwin affects CPU usage of non-Cygwin processes. > When I moved from 2k to XP I noticed that running big cross compiles in the backgro

Re: Diff and grep problems

2005-08-25 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Adrian Marsh on 8/25/2005 3:52 AM: > I've trying to compare two files using diff from a .bat file : > > diff -iX scripts/%2.ignorelist "%difffile1%" "%difffile2%" > ... > > So I wanted to exclude the ntp line and I put it in the ignorel

Re: Problems with Windows threads and cygwin sleep()

2005-08-25 Thread Raul Metsma
You're on W2K, I'm on XP, maybe there's a difference? I can easily reproduce nearly 0% CPU with 1000 threads if no Cygwin process is present and nearly 99% if a Cygwin process is present. I have XP SP2 laptop and it occures on 200 threads Raul Metsma -- Unsubscribe info: http://cygwin.

Re: Problems with Windows threads and cygwin sleep()

2005-08-25 Thread Corinna Vinschen
On Aug 25 14:59, Pavel Tsekov wrote: > Hello, > > On Thu, 25 Aug 2005, Corinna Vinschen wrote: > > > On Aug 25 13:40, Raul Metsma wrote: > > > Seems this is something related CPU-s or total Windows thread count > > > I tested it on Windwos 2003, where are 2x2,4GHz Intel Xeon > > > There occurs th

Re: Problems with Windows threads and cygwin sleep()

2005-08-25 Thread Pavel Tsekov
Hello, On Thu, 25 Aug 2005, Corinna Vinschen wrote: > On Aug 25 13:40, Raul Metsma wrote: > > Seems this is something related CPU-s or total Windows thread count > > I tested it on Windwos 2003, where are 2x2,4GHz Intel Xeon > > There occurs this issue on 800 threads > > You're right, when raisin

Re: Problems with Windows threads and cygwin sleep()

2005-08-25 Thread Corinna Vinschen
On Aug 25 13:40, Raul Metsma wrote: > Seems this is something related CPU-s or total Windows thread count > I tested it on Windwos 2003, where are 2x2,4GHz Intel Xeon > There occurs this issue on 800 threads You're right, when raising the number of threads, I see this test gradually taking more CP

Re: Problems with Windows threads and cygwin sleep()

2005-08-25 Thread Pavel Tsekov
Hello, On Thu, 25 Aug 2005, Raul Metsma wrote: > Ohh never get this right :( > Actually I am more system administrator than programmer > > Lets try again: > http://rtedev.com/~raul/threads/threads.c > Compile this program under mingw > gcc -o threads.exe threads.c > ./threads 600 > > now compile

Re: Unable to read/write to a tape with tar

2005-08-25 Thread cyril bonnard
That's what i actually did, soory for the OT. From: Corinna Vinschen <[EMAIL PROTECTED]> Reply-To: cygwin@cygwin.com To: cygwin@cygwin.com Subject: Re: Unable to read/write to a tape with tar Date: Thu, 25 Aug 2005 11:53:32 +0200 On Aug 25 09:33, cyril bonnard wrote: > I was relieved too, bu

Re: Problems with Windows threads and cygwin sleep()

2005-08-25 Thread Raul Metsma
Seems this is something related CPU-s or total Windows thread count I tested it on Windwos 2003, where are 2x2,4GHz Intel Xeon There occurs this issue on 800 threads Maybe is this something related with OS? Raul Metsma Corinna Vinschen wrote: On Aug 25 12:30, Raul Metsma wrote: Ohh never get

RE: Problems with Windows threads and cygwin sleep()

2005-08-25 Thread Dave Korn
Original Message >From: Corinna Vinschen >Sent: 25 August 2005 11:03 > On Aug 25 12:30, Raul Metsma wrote: >> Ohh never get this right :( >> Actually I am more system administrator than programmer >> >> Lets try again: >> http://rtedev.com/~raul/threads/threads.c >> Compile this program u

Re: System environment variables

2005-08-25 Thread Corinna Vinschen
On Aug 24 14:27, Jason Pyeron wrote: > On Wed, 24 Aug 2005, Corinna Vinschen wrote: > > >On Aug 24 13:08, Jason Pyeron wrote: > >> > >> > >>How can I get the ssh service to inherit the environment variables as set > >>in the system properties control panel applet? > > > >You can't. Use one of the

Re: Problems with Windows threads and cygwin sleep()

2005-08-25 Thread Corinna Vinschen
On Aug 25 12:30, Raul Metsma wrote: > Ohh never get this right :( > Actually I am more system administrator than programmer > > Lets try again: > http://rtedev.com/~raul/threads/threads.c > Compile this program under mingw > gcc -o threads.exe threads.c > ./threads 600 > > now compile > http://rt

Re: Unable to read/write to a tape with tar

2005-08-25 Thread Corinna Vinschen
On Aug 25 09:33, cyril bonnard wrote: > I was relieved too, but iam currently facing another pb that i cannot solve > by searching the web. > I 'd like to write 60MB cartridge with my 150tape drive.Is that possible? I > tried...but without success...should i change sthg in the tar options? Sorry

Diff and grep problems

2005-08-25 Thread Adrian Marsh
I've trying to compare two files using diff from a .bat file : diff -iX scripts/%2.ignorelist "%difffile1%" "%difffile2%" The file is a cisco config file. A wc -l of the file tells me its over 500 lines long. I'm using diff to compare an OLD file to a NEW one. Constantly a line changes value:

Re: Unable to read/write to a tape with tar

2005-08-25 Thread cyril bonnard
I was relieved too, but iam currently facing another pb that i cannot solve by searching the web. I 'd like to write 60MB cartridge with my 150tape drive.Is that possible? I tried...but without success...should i change sthg in the tar options? Cyril. From: Corinna Vinschen <[EMAIL PROTECTE

Re: Problems with Windows threads and cygwin sleep()

2005-08-25 Thread Raul Metsma
Ohh never get this right :( Actually I am more system administrator than programmer Lets try again: http://rtedev.com/~raul/threads/threads.c Compile this program under mingw gcc -o threads.exe threads.c ./threads 600 now compile http://rtedev.com/~raul/threads/main.c with cygwin and when I exec

Re: Problems with Windows threads and cygwin sleep()

2005-08-25 Thread Pavel Tsekov
Hello, On Thu, 25 Aug 2005, Raul Metsma wrote: > Sorry no Makefile based project, but in Visual C > http://rtedev.com/~raul/threads/Threads.zip By doing this you are seriously reducing the chance that someone will look at your testcase. -- Unsubscribe info: http://cygwin.com/ml/#unsubscrib