Re: KERNEL32!IsBadWritePtr () error raised while debugging thread test program.

2004-04-15 Thread Jeremy Song
Yeh, it works after typing 'continue' twice. Actually, I'd ever type it just once and gave up~ Thank you. - Original Message - From: "Brian Ford" <[EMAIL PROTECTED]> To: "Jeremy Song" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, April 16, 2004 11:55 AM Subject: Re: KERNEL32!I

Re: KERNEL32!IsBadWritePtr () error raised while debugging thread test program.

2004-04-15 Thread Brian Ford
Please try to configure your mailer to wrap lines at <= 80 chars. Thanks. On Fri, 16 Apr 2004, Jeremy Song wrote: > I made a simple multi-threaded application with g++ for cygwin and it > runs well but if I try to debug my program, it shows just SIGSEGV > Segmentation fault like the following. I

KERNEL32!IsBadWritePtr () error raised while debugging thread test program.

2004-04-15 Thread Jeremy Song
I made a simple multi-threaded application with g++ for cygwin and it runs well but if I try to debug my program, it shows just SIGSEGV Segmentation fault like the following. I can't even get into the main though...If I move out the lines for creating threads, it works fine. --

Re: Bash shell on Zip disk/ CDROM

2004-04-15 Thread Brian Ford
On Thu, 15 Apr 2004, Leonard Williams wrote: > Intro--I'm not much of computer wiz--I just follow instructions (a > little like the dumb box itself, I guess!). I could not find relevant > answers in the cygwin archives. > > I have been using the bash shell for compiling programs in c > si

Re: -mno-cygwin flag

2004-04-15 Thread Brian Ford
Please try to configure your mailer to wrap lines at <= 80 chars. On Thu, 15 Apr 2004, Leonard Williams wrote: > I could not find relevant answers to this question in the archives. Look in the archives for mingw-users at lists.sourceforge.net via www.mingw.org, and you might have better luck. >

-mno-cygwin flag

2004-04-15 Thread Leonard Williams
I could not find relevant answers to this question in the archives. Do I understand correctly that using this flag ( -mno-cygwin) in compiling a program for Windows will make it independent of the cygwin1.dll? How do I use this? The level of compiling I do is to unpack (tar xvzf) sourc

Bash shell on Zip disk/ CDROM

2004-04-15 Thread Leonard Williams
Intro--I'm not much of computer wiz--I just follow instructions (a little like the dumb box itself, I guess!). I could not find relevant answers in the cygwin archives. I have been using the bash shell for compiling programs in c since fall of 2002 (version?). Sometime before a hard-dr

ftw() revisited

2004-04-15 Thread John Hardin
All: Not being able to find any current signs of life for UUCP on Cygwin, I'm taking a shot at compiling 1.07. Taylor UUCP 1.07 apparently depends on the ftw libraries. Was the status of ftw() on Cygwin ever resolved? (ref the discussion of ftw and newlib last August...) Thanks! -- John Hardin

Re: Limit on number of open files

2004-04-15 Thread Edward Deitz
Thanks very much for your help. Using the snapshot version of the .dll fixed the problem. You'll have to trust me that I did search the archives before posting. . .I'm just not very good at it apparently. Ed. --- Brian Ford <[EMAIL PROTECTED]> wrote: > On Thu, 15 Apr 2004, Edward Deitz wrote: >

Re: Limit on number of open files

2004-04-15 Thread Brian Ford
On Thu, 15 Apr 2004, Edward Deitz wrote: > So I tested with the following code: > > #include > int > main(int argc, char **argv) > { > int i; > for (i = 0; i < 1000; i++) > { > FILE *f = fopen("/dev/null", "r"); > if (!f) > break; > printf("%d\n", i); > } > e

Re: df reports negative values on Network Shares

2004-04-15 Thread Reini Urban
Carl Peto schrieb: It gets better. There is something quite wierd going on here. I just wanted to upgrade cygwin1.dll so I downloaded cygwin-1.5.9-1.tar.bz2 from ftp://ftp.mirror.ac.uk/sites/sources.redhat.com/pub/cygwin/release/cygwin/ I then went into cygwin (bash), changed to /cygdrive/c/cygwi

Re: Shared installs

2004-04-15 Thread Larry Hall
At 04:46 PM 4/15/2004, you wrote: >On Thu, 15 Apr 2004 13:45:49 -0400, Larry Hall typed: >> At 12:43 PM 4/15/2004, you wrote: >>> On Tue, Apr 13, 2004 at 09:01:07PM -0400, Larry Hall wrote: At 08:17 PM 4/13/2004, you wrote: >>> How about an FAQ entry: >>> >>> How do I install Cygwi

Re: Shared installs

2004-04-15 Thread Matthew O. Persico
On Thu, 15 Apr 2004 13:45:49 -0400, Larry Hall typed: > At 12:43 PM 4/15/2004, you wrote: >> On Tue, Apr 13, 2004 at 09:01:07PM -0400, Larry Hall wrote: >>> At 08:17 PM 4/13/2004, you wrote: >> How about an FAQ entry: >> >> How do I install Cygwin to share over a network? >> >>

Limit on number of open files

2004-04-15 Thread Edward Deitz
Is there a way to increase the number of files that can be open simultaneously? Here's what I've tried: $ ulimit -n 1024 $ ulimit -n 1024 So I tested with the following code: #include int main(int argc, char **argv) { int i; for (i = 0; i < 1000; i++) { FILE *f = fopen("/dev/null

RE: Reformatting C/C++/Java code (RE: proposed sync() patch)

2004-04-15 Thread Hannu E K Nevalainen
> From: Robert Collins > On Thu, 2004-04-15 at 04:29, Hannu E K Nevalainen wrote: > > Assuming you do not use strange formatting/style - the > > output of indent will be perfectly acceptable, I presume. > > indent breaks nastily on C++. - it appears to work, but actually gets a > number of things

Re: rxvt and Virtual Dimension

2004-04-15 Thread Nic Roets
The problem seems to disappear when I disable "Integrate with shell" on VD. -- Regards Nic Roets -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: htt

rxvt and Virtual Dimension

2004-04-15 Thread Nic Roets
and I can even move them to different desktops. This is the non X11 version of rxvt (v2.7.10 - released: 26 MARCH 2003). I've tried to solve the problem by upgrading to cygwin1.dll Snapshot date: 20040415-13:40:17 but it did not help. I run Windows XP Professional Ver 5.1 Build 2600 Ser

Re: gcc -mno-cygwin finds the wrong include files

2004-04-15 Thread Chris Jefferson
... Hi self! I've been having a play around and I believe this problem is connected to #include_next not respecting the -mno-cygwin. My knowledge of gcc is however nowhere near enough for me to be sure. I just wanted to say this to perhaps save someone else some small amount of time. Chris -

setup.exe problem: fresh install, missing dlls: cygiconv-2.dll, cygintl-2.dll, cygpopt-0.dll etc

2004-04-15 Thread Frank Stajano
I am setting up a new computer which has no network connection, so I use another one to suck the install files onto a usb disk and then use that on the new machine. I have had similar dependency problems on install in the past; so, for good measure, I select half a dozen mirrors. I do "download

RE: gcc -mno-cygwin finds the wrong include files

2004-04-15 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Chris Jefferson > Sent: 15 April 2004 19:32 > $ echo "#include " | gcc -mno-cygwin -E - > # 1 "/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include/stddef.h" 1 3 4 > So I'm picking up i686-pc-cygwin > > But... > > $ gcc -mno-cygwin -print

Re: gcc -mno-cygwin finds the wrong include files

2004-04-15 Thread Chris Jefferson
Volker Quetschke wrote: Hi, could someone please confirm that this is a bug, and not a problem that exists only on this computer. Thanks Volker Volker Quetschke wrote: Hi, when I use the following command gcc finds the wrong include file. $ echo "#include " | gcc -mno-cygwin -E - # 1 ""

Re: cygwin install failing at download/progress stage

2004-04-15 Thread Reini Urban
[EMAIL PROTECTED] schrieb: Unable to get setup.ini from "ftp://ftp.easynet.be/cygwin>". Please try a http mirror, if ftp doesn't work for you. There are a number of http mirrors near you, near the end of the mirrors list. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ -- Unsubscribe info:

RE: unknown device

2004-04-15 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Elvin Peterson > Sent: 15 April 2004 18:10 > When I run gs with the option > > gs -sDEVICE=pngalpha > > I get the error: > > Unknown device: pngalpha > > However, I am able to run gs with the following > option. > > gs -sDEVICE=pn

Re: Shared installs

2004-04-15 Thread Larry Hall
At 12:43 PM 4/15/2004, you wrote: >On Tue, Apr 13, 2004 at 09:01:07PM -0400, Larry Hall wrote: >> At 08:17 PM 4/13/2004, you wrote: >> >>> How about an FAQ entry: >> >>> >> >>> How do I install Cygwin to share over a network? >> >>> >> >>> Having more than one person to be able to access a single s

Re: 1.5.9-1: socket() appears NOT to be thread-safe

2004-04-15 Thread Christopher Faylor
On Thu, Apr 15, 2004 at 12:14:55AM -0400, Christopher Faylor wrote: >On Thu, Apr 15, 2004 at 11:16:03AM +0800, Enzo Michelangeli wrote: >>What I can do for the time being is to provide the testcase that Corinna >>asked for (attached below). Here are the results: > >I can duplicate the behavior note

gs: unknown device

2004-04-15 Thread Elvin Peterson
When I run gs with the option gs -sDEVICE=pngalpha I get the error: Unknown device: pngalpha However, I am able to run gs with the following option. gs -sDEVICE=png16m $ gs -version GNU Ghostscript 7.05 (2002-04-22) Any help is appreciated. ___

Re: df reports negative values on Network Shares

2004-04-15 Thread Igor Pechtchanski
Do you have user quotas? This isn't Cygwin-related anymore, BTW. Igor On Thu, 15 Apr 2004, Carl Peto wrote: > It gets better. > > There is something quite wierd going on here. > > I just wanted to upgrade cygwin1.dll so I downloaded > cygwin-1.5.9-1.tar.bz2 from > ftp://ftp.mirror.ac.uk/

Re: Shared installs

2004-04-15 Thread Joshua Daniel Franklin
On Tue, Apr 13, 2004 at 09:01:07PM -0400, Larry Hall wrote: > At 08:17 PM 4/13/2004, you wrote: > >>> How about an FAQ entry: > >>> > >>> How do I install Cygwin to share over a network? > >>> > >>> Having more than one person to be able to access a single shared > >>> instance of Cygwin it is not

RE: cygheap and long parameter lines

2004-04-15 Thread Bertalan Fodor
Well, I looked into the archives and found that there were reports about cygheap windows error 487. And I found that 1.5.9-1 was aimed at: "Work around "Couldn't reserve space for cygwin's heap" errors reported by some people in the cygwin mailing list" About your tip: > 1. Try the latest snapshot

RE: Quick hack to implement gethostbyname_r() through gethostbyname()+mutex lock

2004-04-15 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Christopher Faylor > Sent: 15 April 2004 14:23 > On Thu, Apr 15, 2004 at 02:02:38PM +0100, Dave Korn wrote: > >Ah, but it's not a matter of it having no copyright, but of the > >copyright existing and belonging to the FSF so that the G

Re: df reports negative values on Network Shares

2004-04-15 Thread Larry Hall
OK, there are two points to make: 1. Winzip is not the same as 'tar' when it comes to installing Cygwin packages. If you have problems as a result of choosing to install Cygwin packages this way, you're on your own. However, I agree with you that this is not obviously the cause

Re: Quick hack to implement gethostbyname_r() through gethostbyname()+mutex lock

2004-04-15 Thread Christopher Faylor
On Thu, Apr 15, 2004 at 02:02:38PM +0100, Dave Korn wrote: >Ah, but it's not a matter of it having no copyright, but of the >copyright existing and belonging to the FSF so that the GPL can be >enforced on the file. If you submit a completely PD bit of source to a >GPL project, other people can tak

Re: Quick hack to implement gethostbyname_r() through gethostbyname()+mutex lock

2004-04-15 Thread Enzo Michelangeli
From: "Dave Korn" To: Date: Thu, 15 Apr 2004 14:02:38 +0100 Subject: RE: Quick hack to implement gethostbyname_r() through gethostbyname()+mutex lock [...] >> Well, OK, here is the code, hereby placed in the public >> domain. Everybody >> can do with it whatever s/he likes; attribution will be >>

Re: cygheap and long parameter lines

2004-04-15 Thread Larry Hall
At 07:01 AM 4/15/2004, you wrote: >I'm still getting the following error when executing a command with many >parameters. It is interesting, that the program exited normally, did not >crash when in gdb. When not in gdb it crashes. >When I cut the parameters in two smaller parts, it runs perfectly, s

Re: co-linux

2004-04-15 Thread Christopher Faylor
On Thu, Apr 15, 2004 at 01:22:50PM +0100, Chris January wrote: >> On Wed, Apr 14, 2004 at 02:50:42PM +0200, Pinhas Krengel wrote: >> >I have just read about beta release of co-linux (linux on >> windows). Is this product going to kill cygwin. >> >> No. >> >>>What will be the benefits of using cygwi

RE: Quick hack to implement gethostbyname_r() through gethostbyname()+mutex lock

2004-04-15 Thread Chris January
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of Dave Korn > Sent: 15 April 2004 14:03 > To: [EMAIL PROTECTED] > Subject: RE: Quick hack to implement gethostbyname_r() through > gethostbyname()+mutex lock > > > > -Original Message- > > From: cygwi

RE: Quick hack to implement gethostbyname_r() through gethostbyname()+mutex lock

2004-04-15 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Enzo Michelangeli > Sent: 15 April 2004 13:49 > Another self-followup :-) > > - Original Message - > From: "Enzo Michelangeli" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: ""Brian Ford"" <[EMAIL PROTECTED]> > Sent: Thu

Quick hack to implement gethostbyname_r() through gethostbyname()+mutex lock

2004-04-15 Thread Enzo Michelangeli
Another self-followup :-) - Original Message - From: "Enzo Michelangeli" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: ""Brian Ford"" <[EMAIL PROTECTED]> Sent: Thursday, April 15, 2004 12:03 PM Subject: Re: 1.5.9-1: socket() appears NOT to be thread-safe > P.S. By the way, Corinna: cou

RE: co-linux

2004-04-15 Thread Chris January
> On Wed, Apr 14, 2004 at 02:50:42PM +0200, Pinhas Krengel wrote: > >I have just read about beta release of co-linux (linux on > windows). Is this > >product going to kill cygwin. > > No. > > >What will be the benefits of using cygwin in that case. > > Having a nicely integrated UNIX environment.

sysvinit

2004-04-15 Thread Gordon Cichon
Dear Cygwin users, I've installed cygwin unter Windows XP pro with sysvinit scripts. I'm trying to run xinetd as a service. In the MS Event viewer, I get the following error messages: Error parsing attribute server - DISABLING SERVICE This message is generated at Windows boot time. When I try t

Re: df reports negative values on Network Shares

2004-04-15 Thread Carl Peto
It gets better. There is something quite wierd going on here. I just wanted to upgrade cygwin1.dll so I downloaded cygwin-1.5.9-1.tar.bz2 from ftp://ftp.mirror.ac.uk/sites/sources.redhat.com/pub/cygwin/release/cygwin/ I then went into cygwin (bash), changed to /cygdrive/c/cygwin (where I had put

cygheap and long parameter lines

2004-04-15 Thread Bertalan Fodor
I'm still getting the following error when executing a command with many parameters. It is interesting, that the program exited normally, did not crash when in gdb. When not in gdb it crashes. When I cut the parameters in two smaller parts, it runs perfectly, so it must be related to parameter numb

Re: How compile w/o -mno-cygwin ? And compile errors

2004-04-15 Thread Gerrit P. Haase
Stephane wrote: > Hello, > I recently reinstalled my cygwin "installation". I was trying to compile some > project I'm working on and that used to compile fine. > But now as I go through the process of "aclocal; autoconf; autoheader; automake; > ./configure; make", it compiles the whole project w

Re: gcc -mno-cygwin finds the wrong include files

2004-04-15 Thread Gerrit P. Haase
Hi Volker, Dave, I see the same problem as Volker. Interesting issue that Eric doesn't see it. > snip > ignoring nonexistent directory "/usr/local/include/mingw" > ignoring duplicate directory "/usr/include/mingw" > ignoring duplicate directory > "/usr/i686-pc-mingw32/lib/../..

RE: cygwin install failing at download/progress stage

2004-04-15 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of cygwin.temp1.benalt > Sent: 15 April 2004 04:39 > I was > unable to log > onto ftpeasynet.be via Mozilla Firebird but had no problems > using IE and > could download the setup files. Running setup caused an immediate > failure tho