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

Re: external diff headers

From: Branko Èibej <brane_at_xbc.nu>
Date: 2001-01-30 23:06:20 CET

Bruce Korb wrote:

>> -----Original Message-----
>> From: Karl Fogel [mailto:kfogel@galois.collab.net]
>> Sent: Tuesday, January 30, 2001 7:56 AM
>> To: Bruce Korb
>> Cc: 'sussman@red-bean.com'; Bill Tutt; SVN Dev List
>> Subject: Re: external diff headers
>>
>>
>> Bruce Korb <bkorb@allegronetworks.com> writes:
>>
>>> popen(3S) appears in my 4.1 BSD manual (1981) and my
>>> System Vr1 manual (1983). The question is, are you
>>> worried about Windows & BeOS? I don't know about them.
>>> They are short on some pretty standard calls....
>>
>> Yeah, we are trying to be portable to Windows at least.
>
>
> Then I would suggest a popen() wrapper for your APR thing.
> Generally, a #-define into popen and a kludge around
> system() on broken boxes. (run system() redirecting output,
> and opening the redirected file when done. Yuck, but then
> what can you expect?)

But you can portably open a pipe to a child process in APR. Karl, you
did that with the patch and merge bits in the client lib. I think you
want apr_create_pipe.

-- 
Brane �ibej
    home:   <brane_at_xbc.nu>             http://www.xbc.nu/brane/
    work:   <branko.cibej_at_hermes.si>   http://www.hermes-softlab.com/
     ACM:   <brane_at_acm.org>            http://www.acm.org/
Received on Sat Oct 21 14:36:20 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.