Re: Spawnvp on pwd.exe and mkdir.exe fails

2006-04-02 Thread Brian Kramer
Larry, after deleting my cygwin directory and reinstalling, I am able to execute the sample program below correctly. Thanks for your time spent on this! For me... onward! Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/pro

RE: Re: 1.5.18-1: syslogd and cron message issue (XP/2000).

2006-04-02 Thread Irwin, Doug
Hi Rene, Thanks for taking the time to look at this. In the end I have switched to using syslog-ng. That seems to quite nicely address the issue... And provide a whole other bunch of functionality on top. Still, be interested in hearing anything relevant to this that anyone might come up with

Re: Spawnvp on pwd.exe and mkdir.exe fails

2006-04-02 Thread Brian Kramer
Larry Hall (Cygwin cygwin.com> writes: > > Brian Kramer wrote: > > I have a simple C++ file I am using to spawn pwd.exe and mkdir.exe. These are > > causing stackdumps. Can anyone help me resolve this? ls.exe does not cause a > > stackdump. > > > > The same C++ file compiles using Visual

Re: Spawnvp on pwd.exe and mkdir.exe fails

2006-04-02 Thread Larry Hall (Cygwin)
Brian Kramer wrote: I have a simple C++ file I am using to spawn pwd.exe and mkdir.exe. These are causing stackdumps. Can anyone help me resolve this? ls.exe does not cause a stackdump. The same C++ file compiles using Visual Studio and the output is as expected. In particular on Window

Re: Initialisation with data from dll-libraries

2006-04-02 Thread Larry Hall (Cygwin)
Jørgen Steensgaard-Madsen wrote: Larry Hall (Cygwin cygwin.com> writes: Jørgen Steensgaard-Madsen wrote: Asking for help. You haven't said where the dispatch table is or how it is supposed to filled in. First of all, thanks for reacting so promptly. The dispatch table is an array of poi

Re: ls displays nothing - 3/29 snapshot

2006-04-02 Thread Christopher Faylor
On Sun, Apr 02, 2006 at 09:07:28PM -0500, Tom Rodman wrote: >On Sun 4/2/06 15:59 CDT cygwin@cygwin.com wrote: >>On Sun 4/2/06 16:43 EDT cygwin@cygwin.com wrote: >>>On Sun, Apr 02, 2006 at 02:37:22PM -0500, Tom Rodman wrote: I installed the 3/29 cygwin1.dll snapshot yesterday on a test windows >

Re: ls displays nothing - 3/29 snapshot

2006-04-02 Thread Tom Rodman
On Sun 4/2/06 15:59 CDT cygwin@cygwin.com wrote: > On Sun 4/2/06 16:43 EDT cygwin@cygwin.com wrote: > > On Sun, Apr 02, 2006 at 02:37:22PM -0500, Tom Rodman wrote: > > >I installed the 3/29 cygwin1.dll snapshot yesterday on a test windows > > >2000 box. Many (all?) of our cron jobs ran normally Su

Spawnvp on pwd.exe and mkdir.exe fails

2006-04-02 Thread Brian Kramer
I have a simple C++ file I am using to spawn pwd.exe and mkdir.exe. These are causing stackdumps. Can anyone help me resolve this? ls.exe does not cause a stackdump. The same C++ file compiles using Visual Studio and the output is as expected. In particular on Windows: pid=1996 /cygdrive/e

Re: gcc-compiled CGI + Windoze Apache = Error 500

2006-04-02 Thread René Berber
Dave Korn wrote: > On 01 April 2006 18:03, cshepard wrote: > >> I compile the following code thusly: gcc -o hw.cgi hw.c >> >> #include >> int main(void) { >> printf("Content-type: text/html\n\n"); >> printf("HW"); >> exit(0); >> } > > Gets you two genuine \ns. > >> #!c:/Python

RE: gcc-compiled CGI + Windoze Apache = Error 500

2006-04-02 Thread Dave Korn
On 01 April 2006 18:03, cshepard wrote: > I compile the following code thusly: gcc -o hw.cgi hw.c > > #include > int main(void) { > printf("Content-type: text/html\n\n"); > printf("HW"); > exit(0); > } Gets you two genuine \ns. > #!c:/Python24/python.exe The 'doze nativ

Re: ls displays nothing - 3/29 snapshot

2006-04-02 Thread Tom Rodman
On Sun 4/2/06 16:43 EDT cygwin@cygwin.com wrote: > On Sun, Apr 02, 2006 at 02:37:22PM -0500, Tom Rodman wrote: > >I installed the 3/29 cygwin1.dll snapshot yesterday on a test windows > >2000 box. Many (all?) of our cron jobs ran normally Sunday morning. > >Today, though, the output of 'ls' or 'ls

Re: ls displays nothing - 3/29 snapshot

2006-04-02 Thread Christopher Faylor
On Sun, Apr 02, 2006 at 02:37:22PM -0500, Tom Rodman wrote: >I installed the 3/29 cygwin1.dll snapshot yesterday on a test windows >2000 box. Many (all?) of our cron jobs ran normally Sunday morning. >Today, though, the output of 'ls' or 'ls -l' from an interactive bash >session was always nothing

Re: Initialisation with data from dll-libraries

2006-04-02 Thread Jørgen Steensgaard-Madsen
Larry Hall (Cygwin cygwin.com> writes: > > Jørgen Steensgaard-Madsen wrote: > > Asking for help. > > You haven't said where the dispatch table is or how it is supposed to filled > in. First of all, thanks for reacting so promptly. The dispatch table is an array of pointers in a C-program fi

how to create a syslog-ng pidfile

2006-04-02 Thread Bryan D. Thomas
My syslog-ng on Cygwin does not have an associated /var/run/syslog-ng.pid file. I'd like to have this as an aid to rotating the logs. To generate a pidfile for syslog-ng, should I try the -p switch to syslog-ng, (i.e. using the -a argument to cygrunsrv) or the -x argument to cygrunsrv? Or, will

ls displays nothing - 3/29 snapshot

2006-04-02 Thread Tom Rodman
I installed the 3/29 cygwin1.dll snapshot yesterday on a test windows 2000 box. Many (all?) of our cron jobs ran normally Sunday morning. Today, though, the output of 'ls' or 'ls -l' from an interactive bash session was always nothing. I've reverted back to the released cygwin1.dll, and ls is work

Re: Initialisation with data from dll-libraries

2006-04-02 Thread Larry Hall (Cygwin)
Jørgen Steensgaard-Madsen wrote: Asking for help. I am porting a tool to implement interpreters from Linux to Windows/Cygwin, and have succeeded with a statically linked version. Interpreters depend on several libraries and use a dispatch table with pointers to functions from the libraries. The

Re: popen() fails after 256 successful calls

2006-04-02 Thread Robert Ögren
Eric Lilja wrote: Hello, I have two directories, both with ~4k files in them. For each directory I needed to calculate a SHA1 checksum on each file and store them in a table and then do some comparisons. I wrote a C++ program for this but I noticed popen() (which I use to invoke sha1sum.exe to

popen() fails after 256 successful calls

2006-04-02 Thread Eric Lilja
Hello, I have two directories, both with ~4k files in them. For each directory I needed to calculate a SHA1 checksum on each file and store them in a table and then do some comparisons. I wrote a C++ program for this but I noticed popen() (which I use to invoke sha1sum.exe to calculate the chec

socket() hanged on -- CYGWIN5.0(1.3.22)

2006-04-02 Thread 陈 华文
When I call socket(AF_INET,SOCK_STREAM,0), my program hanged on here. Then I use strace execute my programe and report all cygwin DLL output. Followint is the result of strace. Some signal information is print after calling socket. Why and how can I solve it? When I call the progame in windows

Initialisation with data from dll-libraries

2006-04-02 Thread Jørgen Steensgaard-Madsen
Asking for help. I am porting a tool to implement interpreters from Linux to Windows/Cygwin, and have succeeded with a statically linked version. Interpreters depend on several libraries and use a dispatch table with pointers to functions from the libraries. The statically linked port has been te