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

Re: [PATCH] #9 OS400/EBCDIC Port: Running Hook Scripts

From: Peter Lundblad <peter_at_famlundblad.se>
Date: 2006-02-28 09:09:16 CET

> > * subversion\include\svn_io.h
> > (svn_io_run_os400_cmd): New function declaration.
>
> Can't you just use the API svn_io_run_cmd() and adjust its implementation?
>
> Hmm, why aren't we using svn_io_run_cmd() already? Because it's inadequate?
> Can we make it adequate?

Because that'd be a deadlock:-) We create pipes to read the hooks'
stderr output. We must read that output before waiting for the
process, else the pipe buffers might fil up. (I think Paul's patch has
the same problem.)

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 28 09:10:38 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.