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

Re: Messages from hooks

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-02-24 18:02:47 CET

On Thu, 2004-02-19 at 17:45, Philip Martin wrote:

> > [Thu Feb 19 11:02:19 2004] [error] [client 127.0.0.1] (84)Invalid or
> > incomplete multibyte or wide character: 'pre-revprop-change' hook
> > failed with error output:
>
> This is caused by the (84) which is the value of the global errno when
> we call dav_svn_convert_err! It's not clear to me what we should do
> about this. errno is only valid when a system call fails, otherwise
> the value is undefined. In this case the value of errno changes from
> 2 to 84 when we run the hook, but it does that whether or not the hook
> returns an error, i.e. if I change my hook to "exit 0" I still get
> errno set to 84. I don't know whether it is better for
> dav_svn_convert_err to set errno to zero, possibly losing information,
> or to leave it alone, possibly providing erroneous information.

Greg Stein, can you comment on this?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 24 18:06:59 2004

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.