[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Was: Re: r19004

From: Paul Burba <paulb_at_softlanding.com>
Date: 2006-04-03 21:14:13 CEST

"Peter N. Lundblad" <peter@famlundblad.se> wrote on 04/03/2006 09:46:19
AM:

> Paul,
>
> Today it occurred to me: since this is specific to a particular
platform,
> wouldn't it be possible to just use apr_os_file_get() (see
apr_portable.h) to
> avoid this poll mess altogether? Just duplicate the stdin file handle to
> the stdin descriptor of the child process.
>
> (I was looking for this "get the native file handle" function before,
> but didn't find it because I was looking in the wrong place. Sorry for
> that:-()

I had looked for something along these lines when wrestling with the
"incompatability" between apr_file_t and OS400 file descriptors. Guess I
didn't look in the right place either.
 
> (If that doesn't work for some reason, I'll have a look at your new
patch.)

It works great and my patch is now greatly simplified. Or at least it's
back to more or less the same state as 19004 but uses apr_os_file_get()
and also applies some of the non-poll() related suggestions from your
previous e-mail.

Paul B.

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Mon Apr 3 21:14:50 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.