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

Re: [PATCH] Hooks

From: dj <dj_at_shadyvale.net>
Date: 2003-09-06 18:52:06 CEST

Thanks for the reviews, Philip...I think this patch addresses the
concerns?

Log:

Windows scripts require a valid stdout handle or else 'bad handle'
messages are sent to stderr, cluttering up the error message that is
sent back to the client. This patch sets up a stdout handle pointing to
the null device when hooks are run to remedy the problem.

*** Note that autogen.sh/configure (or gen-make.py on Windows) will need
to be run to generate the null device definitions needed to compile

* configure.in
  Add a definition for the null device on unixy OS'.

* subversion/libsvn_repos/hooks.c
  (run_hook_cmd): Setup stdout to point to the null device
  rather than leaving it as an invalid handle.

* svn_private_config.hw
  Add a definition for the null device on Windows.

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

Received on Sat Sep 6 18:52:54 2003

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.