Serf, WAS: RE: Avalon and Turbine component repository at Commons?

2002-10-23 Thread Sander Striker
From: Rodent of Unusual Size [mailto:[EMAIL PROTECTED] Sent: 23 October 2002 20:00 I have not a concrete proposal to these projects yet (note: I'm also an Avalon developer but i speak for myself); wanted to know what you others think of this. on the face of it this sounds excellent.

Re: Compiling the APR testsuite on Windows

2002-10-23 Thread William A. Rowe, Jr.
At 07:22 PM 10/22/2002, Aaron Bannert wrote: On Tue, Oct 22, 2002 at 01:22:08PM -0400, Ryan Bloom wrote: ... Previously, each test program was it's own binary, and that caused a lot more work than was needed. The new test suite is a single program, so just look at Makefile.in, at the testall

Re: Compiling the APR testsuite on Windows

2002-10-23 Thread Aaron Bannert
On Tue, Oct 22, 2002 at 11:02:50PM -0400, Ryan Bloom wrote: Hmm... I haven't looked at the new test stuff, but I wonder how it's going to deal with the testshm* tests, since those tests depend on fork() and exec() to work. Those test will be re-written when I get to them, so that they are

Re: Compiling the APR testsuite on Windows

2002-10-23 Thread Aaron Bannert
On Tue, Oct 22, 2002 at 09:03:02PM -0500, William A. Rowe, Jr. wrote: Hmm... I haven't looked at the new test stuff, but I wonder how it's going to deal with the testshm* tests, since those tests depend on fork() and exec() to work. As well as they did before... ... that is, not at all.

Re: UNIX - APR sockets, file handlers

2002-10-23 Thread Cliff Woolley
On Wed, 23 Oct 2002, Damir Dezeljin wrote: I'm looking how to convert an UNIX socket to APR socket (apr_socket_t). Can anyone help me please? Is there also any way to convert stdin/stdout to apr_socket_t (I'm trying to use APR to write a simple daemon example, one for inetd, so I need

UNIX - APR sockets, file handlers

2002-10-23 Thread Damir Dezeljin
Hi. I'm looking how to convert an UNIX socket to APR socket (apr_socket_t). Can anyone help me please? Is there also any way to convert stdin/stdout to apr_socket_t (I'm trying to use APR to write a simple daemon example, one for inetd, so I need stdin/stdout, and the other one more general).

Re: UNIX - APR sockets, file handlers

2002-10-23 Thread Damir Dezeljin
Hi. Well, for int fd's, you can use apr_os_file_put(), or apr_os_pipe_put() if it's a pipe [see apr_portable.h]. For now this solve my problem. Thank you for your help. I have some more questions. On ex. Linux I can simply do the following: struct sockaddr_storage sa; len = sizeof(sa);

Re: cvs commit: apr/test testpools.c

2002-10-23 Thread rbb
On 23 Oct 2002 [EMAIL PROTECTED] wrote: trawick 2002/10/23 07:19:57 Modified:test testpools.c Log: change to a more appropriate CuAssert* call Revision ChangesPath 1.5 +1 -1 apr/test/testpools.c Index: testpools.c

Re: UNIX - APR sockets, file handlers

2002-10-23 Thread Cliff Woolley
On Wed, 23 Oct 2002 [EMAIL PROTECTED] wrote: The same thing exists for sockets. Just look in apr_portable.h. The general rule, is that all APR types have a way to convert from the native version to the APR version. Well, that's what I thought, but then I had gone to apr_portable.h and

Re: cvs commit: apr/test testpools.c

2002-10-23 Thread Jeff Trawick
[EMAIL PROTECTED] writes: I actually considered doing this, but I don't believe that it is a good idea. The problem is the amount of information you get if things fail. With this change you get: 50 tests run: 49 passed, 1 failed, 0 not implemented. Failed tests: 1) calloc_bytes: assert

Bug: pool cleanups run by subprocesses

2002-10-23 Thread Greg Hudson
The following program demonstrates a bug in APR: when a process is created, it explicitly runs pool cleanups. I'm not sure what the motivation for that is, but it's a bad idea. Note how testdata\n is written twice to the file test when the test program is run, because the apr_file_t output