[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: Bill Tutt <billtut_at_microsoft.com>
Date: 2001-01-30 07:50:54 CET

You want to use APR. popen() on MS based OS's has a number of very icky
properties. (It won't work correctly in apps that don't have a console, not
to mention the Win9x limitation that's noted in the APR process mucking
code).

Bill

-----Original Message-----
From: Ben Collins-Sussman [mailto:sussman@newton.collab.net]
Sent: Monday, January 29, 2001 8:00 PM
To: Bill Tutt
Cc: Bruce Korb; SVN Dev List; bkorb@allegronetworks.com
Subject: Re: external diff headers

Oooh, anyone want to improve APR in this regard? Or do we need to use
APR at all? My freebsd man page says that popen() requires only
stdio.h ... is it just plain old ANSI C?

"Bill Tutt" <billtut@microsoft.com> writes:

> The core APR process mucking functionality has enough support to setup
> something like a APR based popen(), or indeed popen2()...
>
> Bill
>
> -----Original Message-----
> From: Bruce Korb [mailto:bkorb@cruzio.com]
> Sent: Friday, January 26, 2001 2:01 PM
> To: Ben Collins-Sussman
> Cc: SVN Dev List; bkorb@allegronetworks.com
> Subject: Re: external diff headers
>
> Ben Collins-Sussman wrote:
> > What we really need is a way to tell the diff program: "if you find a
> > diff, print these headers".
> >
> > Anyone have suggestions here?
>
> What you really need is a popen(...,"r") call.
> If you are able to read a line of text, then emit the header first.
Received on Sat Oct 21 14:36:21 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.