Load dll in VC

2006-06-22 Thread cxf
I have a standard dll file CYGCRYPTO-0.9.8.DLL. Using the VC tool "depends",I can see that this dll file depends on cygwin1.dll.when I load the file CYGCRYPTO-0.9.8.DLL in VC,the program is stoped,I don't know why.I do the following in VC: LoadLibrary("CYGCRYPTO-0.9.8.DLL"); (cygwin1.d

cygwin@cygwin.com

2006-06-22 Thread Christopher Faylor
On Thu, Jun 22, 2006 at 07:52:37PM -0700, Yitzchak Scott-Thoennes wrote: >On Thu, Jun 22, 2006 at 06:53:38PM -0700, Brian Dessent wrote: >> Linda Walsh wrote: >>>The attached test case is simple and fairly short. It does not depend >>>on File::BOM (and has none of the code from it). >>> >>>It's on

cygwin@cygwin.com

2006-06-22 Thread Yitzchak Scott-Thoennes
On Thu, Jun 22, 2006 at 06:53:38PM -0700, Brian Dessent wrote: > Linda Walsh wrote: > > > The attached test case is simple and fairly short. It does not > > depend on File::BOM (and has none of the code from it). > > > > It's only dependency (other than perl) is the POSIX module, > > where, from

cygwin@cygwin.com

2006-06-22 Thread Christopher Faylor
On Thu, Jun 22, 2006 at 06:53:38PM -0700, Brian Dessent wrote: >Linda Walsh wrote: > >> The attached test case is simple and fairly short. It does not >> depend on File::BOM (and has none of the code from it). >> >> It's only dependency (other than perl) is the POSIX module, >> where, from, the "

cygwin@cygwin.com

2006-06-22 Thread Brian Dessent
Linda Walsh wrote: > The attached test case is simple and fairly short. It does not > depend on File::BOM (and has none of the code from it). > > It's only dependency (other than perl) is the POSIX module, > where, from, the "fifo" command is taken. This appears to be a deadlock in the Cygwin D

installing minimal Cygwin on XP for ssh and rsync

2006-06-22 Thread H.S.
I installed Cygwin on XP yesterday to get ssh and rsync servers running. I have done this before and shared my experiences on this list earlier as well. Specially the bit about the Zone Alarm causing a problem to connect to the WIndows machine via ssh after reboots. Here are the steps I follo

Re: g++ 3.4.4, mingw32, exceptions and threads

2006-06-22 Thread kenelson8
And the answer to my question is because I forgot to compile with -mthreads. (Which I would have found in 5 minutes if their mailling list was actually working. ) --Karl -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html D

Re: [OT] RE: g++ 3.4.4, mingw32, exceptions and threads

2006-06-22 Thread Larry Hall (Cygwin)
Danny Smith wrote: Karl wrote: I am having problems getting exceptions to work properly in the latest release of g++ distributed from cygwin. I have a multithreaded code which is built using the no-cygwin option. The code uses exceptions in a few places. Oddly the code is either crashing

cygwin@cygwin.com

2006-06-22 Thread Linda Walsh
The attached test case is simple and fairly short. It does not depend on File::BOM (and has none of the code from it). It's only dependency (other than perl) is the POSIX module, where, from, the "fifo" command is taken. Conceptually, it is simple: - Create fifo (works) - Fork(works) -

[OT] RE: g++ 3.4.4, mingw32, exceptions and threads

2006-06-22 Thread Danny Smith
Karl wrote: > I am having problems getting exceptions to work properly in > the latest release of g++ distributed from cygwin. I have a multithreaded > code which is built using the no-cygwin option. The code uses > exceptions in a few places. Oddly the code is either crashing out right, > o

Re: g++ 3.4.4, mingw32, exceptions and threads

2006-06-22 Thread kenelson8
The mingw32 was distributed with cygwin (al la gcc-mingw-g++). g++ obviously has an option for threadsafe exceptions, as I have used them in the past. So if this isn't the place to inquire about the build options used to make the gcc-mingw-* packages distributed with cygwin then where is? And

RE: random "fork: Resource temporarily unavailable"

2006-06-22 Thread Charli Li
-Original Message- > From: mwoehlke > Sent: Thursday, June 22, 2006 3:56 PM > To: cygwin mailing list > Subject: Re: random "fork: Resource temporarily unavailable" > > > Christopher Faylor wrote: > > On Thu, Jun 22, 2006 at 01:47:46PM -0400, Charli Li wrote: > >> -Original Message---

Re: random "fork: Resource temporarily unavailable"

2006-06-22 Thread mwoehlke
Christopher Faylor wrote: On Thu, Jun 22, 2006 at 01:47:46PM -0400, Charli Li wrote: -Original Message- From: Larry Hall (Cygwin) Sent: Thursday, June 22, 2006 1:39 PM To: [EMAIL PROTECTED] Subject: Re: random "fork: Resource temporarily unavailable" Wow. How many times do we have to

Re: Latest Cygwin Release 5 month old...

2006-06-22 Thread Linda Walsh
Perhaps, but you are assuming one's primary Windows machine is capable of being "virtually subdivided". I run windows on a laptop (external keyb, mouse, screen). While it was a good laptop new, it's a bit long in tooth. Jim Drash wrote: Not everyone has a spare test machine. I can never re

RE: g++ 3.4.4, mingw32, exceptions and threads

2006-06-22 Thread Dave Korn
On 22 June 2006 19:34, kenelson8 wrote: > I am having problems getting exceptions to work properly in > the latest release of g++ distributed from cygwin. I have a multithreaded > code which is built using the no-cygwin option. What part of 'no cygwin' don't you get? ;) If there's a bug

g++ 3.4.4, mingw32, exceptions and threads

2006-06-22 Thread kenelson8
I am having problems getting exceptions to work properly in the latest release of g++ distributed from cygwin. I have a multithreaded code which is built using the no-cygwin option. The code uses exceptions in a few places. Oddly the code is either crashing out right, or the exceptions are be

Re: strtod (and atof) on hex numbers

2006-06-22 Thread Jeff Johnston
I have integrated a newer version of strtod from David M. Gay's gdtoa FreeBSD code. This code has the C99 support in question including nan and inf support. I have tested on x86-linux and mn10300. As usual, please run it through its paces on Cygwin and let me know if there are any problems.

Re: random "fork: Resource temporarily unavailable"

2006-06-22 Thread Christopher Faylor
On Thu, Jun 22, 2006 at 01:47:46PM -0400, Charli Li wrote: >-Original Message- >> From: Larry Hall (Cygwin) >> Sent: Thursday, June 22, 2006 1:39 PM >> To: [EMAIL PROTECTED] >> Subject: Re: random "fork: Resource temporarily unavailable" Wow. How many times do we have to ask not to quote

RE: random "fork: Resource temporarily unavailable"

2006-06-22 Thread Charli Li
-Original Message- > From: Larry Hall (Cygwin) > Sent: Thursday, June 22, 2006 1:39 PM > To: cygwin@cygwin.com > Subject: Re: random "fork: Resource temporarily unavailable" > > > Christopher Faylor wrote: > > On Thu, Jun 22, 2006 at 11:22:34AM -0400, Larry Hall (Cygwin) wrote: > >> Robin W

Re: random "fork: Resource temporarily unavailable"

2006-06-22 Thread Larry Hall (Cygwin)
Christopher Faylor wrote: On Thu, Jun 22, 2006 at 11:22:34AM -0400, Larry Hall (Cygwin) wrote: Robin Walker wrote: --On 22 June 2006 06:35 -0700 Mark Bartel wrote: However, yet another person who has encountered this problem emailed me with a workaround, which seems to resolve the issue in my

RE: Starting gvim from Windows

2006-06-22 Thread Dave Korn
On 22 June 2006 17:36, Vicki Brown wrote: > Neil Watson watson-wilson.ca> writes: >>> And your DISPLAY environment variable is set to...? >> >> Ah ha! I set my DISPLAY Windows variable to 127.0.0.1:0.0. Now it works. >> Thank you. >> > > > Well, that didn't work for me. :-( > I can run the

Re: updwtmpx

2006-06-22 Thread Luis P Caamano
Thanks for the clarifications Igor. -- Luis P Caamano Atlanta, GA USA On 6/22/06, Igor Peshansky <[EMAIL PROTECTED]> wrote: reformatted. On Thu, 22 Jun 2006, Luis P Caamano wrote: > On 6/22/06, Igor Peshansky <[EMAIL PROTECTED]> wrote:

Re: Starting gvim from Windows

2006-06-22 Thread Vicki Brown
Neil Watson watson-wilson.ca> writes: > >And your DISPLAY environment variable is set to...? > > Ah ha! I set my DISPLAY Windows variable to 127.0.0.1:0.0. Now it > works. Thank you. > Well, that didn't work for me. :-( I can run the Windows GVIM but not the cygwin gvim (?) Cygwin shell. N

Re: random "fork: Resource temporarily unavailable"

2006-06-22 Thread Christopher Faylor
On Thu, Jun 22, 2006 at 11:22:34AM -0400, Larry Hall (Cygwin) wrote: >Robin Walker wrote: >>--On 22 June 2006 06:35 -0700 Mark Bartel wrote: >> >>>However, yet another person who has encountered this problem emailed me >>>with a workaround, which seems to resolve the issue in my case. He had >>>en

Re: PCYMTNQREAIYR (was: window resizing not updating COLUMNS and LINES)

2006-06-22 Thread Christopher Faylor
On Thu, Jun 22, 2006 at 08:47:31AM +0100, Valster Nico-anv009 wrote: >> -Original Message- >> From: Igor Peshansky >> Sent: Wednesday, June 21, 2006 5:42 PM >> To: Valster Nico-anv009 >> Cc: mwoehlke; [EMAIL PROTECTED] >> Subject: RE: Re: window resizing not updating COLUMNS and LINES >>

Re: random "fork: Resource temporarily unavailable"

2006-06-22 Thread Larry Hall (Cygwin)
Robin Walker wrote: --On 22 June 2006 06:35 -0700 Mark Bartel wrote: However, yet another person who has encountered this problem emailed me with a workaround, which seems to resolve the issue in my case. He had encountered the problem himself, and he found http://aslongas.pe.kr/tt/ which

RE: PCYMTNQREAIYR (was: window resizing not updating COLUMNS and LINES)

2006-06-22 Thread Buchbinder, Barry \(NIH/NIAID\) [E]
Igor Peshansky wrote: > On Thu, 22 Jun 2006, Buchbinder, Barry (NIH/NIAID) [E] wrote: > >> Valster Nico-anv009 wrote: -Original Message- From: Igor Peshansky Sent: Wednesday, June 21, 2006 5:42 PM To: Valster Nico-anv009 Cc: mwoehlke; cygwin at cygwin.com Subj

RE: random "fork: Resource temporarily unavailable"

2006-06-22 Thread Robin Walker
--On 22 June 2006 06:35 -0700 Mark Bartel wrote: However, yet another person who has encountered this problem emailed me with a workaround, which seems to resolve the issue in my case. He had encountered the problem himself, and he found http://aslongas.pe.kr/tt/ which says to turn off the

RE: 1.5.19: tar runs normally from command line but terminates early when run from crontab

2006-06-22 Thread Igor Peshansky
On Thu, 22 Jun 2006, G.W. Haywood wrote: > Hi Eric, Charles, > > Thanks for the help guys, that got me going in the right direction. > > On Mon, 19 Jun 2006, Eric Blake <[EMAIL PROTECTED]> wrote: . Thanks. > > According to G.W. Haywood on 6/19/2006 3:5

Re: How to Create Static library or dll file not depending on cygwin's dll

2006-06-22 Thread Igor Peshansky
On Thu, 22 Jun 2006, cxf wrote: > I have a source file "crypto.c",in this file I use the functions which in > openssl library. > So I compile the file with the following command > gcc -c crypto.c > gcc -shared -mno-cygwin -o crypto.dll crypto.o -lcrypto > > But the compiled dll file "crypto.dll" d

Re: how to create static library in cygwin

2006-06-22 Thread Igor Peshansky
On Thu, 22 Jun 2006, cxf wrote: > Hello, everyone: >I compile source files, create a dll file "cygtspi.dll" , an import file > "libtspi.dll.a" and a link file "libtspi.la",How can I use the dll in > windows(such as using the dll in VC). the "cygtspi.dll" seems depends on > several cygwin's dll

RE: PCYMTNQREAIYR (was: window resizing not updating COLUMNS and LINES)

2006-06-22 Thread Igor Peshansky
On Thu, 22 Jun 2006, Buchbinder, Barry (NIH/NIAID) [E] wrote: > Valster Nico-anv009 wrote: > >> -Original Message- > >> From: Igor Peshansky > >> Sent: Wednesday, June 21, 2006 5:42 PM > >> To: Valster Nico-anv009 > >> Cc: mwoehlke; cygwin at cygwin.com > >> Subject: RE: Re: window resizin

RE: 1.5.19: tar runs normally from command line but terminates early when run from crontab

2006-06-22 Thread G.W. Haywood
Hi Eric, Charles, Thanks for the help guys, that got me going in the right direction. On Mon, 19 Jun 2006, Eric Blake <[EMAIL PROTECTED]> wrote: > According to G.W. Haywood on 6/19/2006 3:53 AM: > > > When run from the command line the job works ... and when run from > > the crontab it fails...

Re: Pb with bash script under cygwin

2006-06-22 Thread Igor Peshansky
On Thu, 22 Jun 2006, ydubost wrote: > Hello, > > Thank you for all your suggestions. > I have finally managed to do what I wanted. > > There was several reasons: >1) the different -name options of find have to be enclosed in protected > bracket \( ... \) >3) the need to use the eval

RE: random "fork: Resource temporarily unavailable"

2006-06-22 Thread Mark Bartel
Larry Hall wrote: > Mark Bartel wrote: > > Larry Hall wrote: [deletia] > > This sounds like the same issue I was encountering. I can reproduce it > > on demand with: > > > > [EMAIL PROTECTED] ~ > > $ find * -type f -exec grep foo {} /dev/null \; > > 6 [main] find 435884 fhandler_dev_zero::fi

Re: updwtmpx

2006-06-22 Thread Igor Peshansky
reformatted. On Thu, 22 Jun 2006, Luis P Caamano wrote: > On 6/22/06, Igor Peshansky <[EMAIL PROTECTED]> wrote: . Thanks. > > On Thu, 22 Jun 2006, Luis P Caamano wrote: > > > > > The latest gnome-terminal, which work

Re: Pb with bash script under cygwin

2006-06-22 Thread ydubost
Hello, Thank you for all your suggestions. I have finally managed to do what I wanted. There was several reasons: 1) the different -name options of find have to be enclosed in protected bracket \( ... \) 3) the need to use the eval function 2) in a script, one need to protect the differ

Re: updwtmpx

2006-06-22 Thread Luis P Caamano
Thanks for your reply Igor. Does that mean that the gnome-terminal I got from standard setup was compiled with the cygwin1.dll file from a snapshot? On 6/22/06, Igor Peshansky <[EMAIL PROTECTED]> wrote: On Thu, 22 Jun 2006, Luis P Caamano wrote: > The latest gnome-terminal, which works nicel

RE: PCYMTNQREAIYR (was: window resizing not updating COLUMNS and LINES)

2006-06-22 Thread Buchbinder, Barry \(NIH/NIAID\) [E]
Valster Nico-anv009 wrote: >> -Original Message- >> From: Igor Peshansky >> Sent: Wednesday, June 21, 2006 5:42 PM >> To: Valster Nico-anv009 >> Cc: mwoehlke; cygwin at cygwin.com >> Subject: RE: Re: window resizing not updating COLUMNS and LINES >> >> On Wed, 21 Jun 2006, Valster Nico-anv

How to Create Static library or dll file not depending on cygwin's dll

2006-06-22 Thread cxf
I have a source file "crypto.c",in this file I use the functions which in openssl library. So I compile the file with the following command gcc -c crypto.c gcc -shared -mno-cygwin -o crypto.dll crypto.o -lcrypto But the compiled dll file "crypto.dll" depends on the cygcrypto-0.9.8.dll, can I ha

PCYMTNQREAIYR (was: window resizing not updating COLUMNS and LINES)

2006-06-22 Thread Valster Nico-anv009
> -Original Message- > From: Igor Peshansky > Sent: Wednesday, June 21, 2006 5:42 PM > To: Valster Nico-anv009 > Cc: mwoehlke; cygwin@cygwin.com > Subject: RE: Re: window resizing not updating COLUMNS and LINES > > On Wed, 21 Jun 2006, Valster Nico-anv009 wrote: > > >