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

Re: [PATCH] Fix svnserve's gettext use on platforms without LC_MESSAGES

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-02-27 21:52:29 CET

On Sun, 27 Feb 2005, Erik Huelsmann wrote:

>
> --- subversion/include/svn_cmdline.h (revision 13176)
> +++ subversion/include/svn_cmdline.h (working copy)
> @@ -37,14 +37,31 @@
> #endif /* __cplusplus */
>
>
> -/** Set up the locale for character conversion, and initialize APR.
> +/**
> + *
> + * @since New in 1.2
> + *
> + * Set up the locale and initialize APR and gettext.
> + * Only sets up LC_CTYPE when @a server_mode is true, LC_ALL otherwise.
s/sets/set/

> * If @a error_stream is non-null, print error messages to the stream,
> * using @a progname as the program name. Return @c EXIT_SUCCESS if
> * successful, otherwise @c EXIT_FAILURE.
> *
> * @note This function should be called exactly once at program startup,
> * before calling any other APR or Subversion functions.
> + *
> */
> +int svn_cmdline_init2 (const char *progname, FILE *error_stream,
> + svn_boolean_t server_mode);
> +
> +
> +/**
> + *
> + * @deprecated Provided for backward compatibility with 1.1 API
> + *
"Provided for backwards compatibility with the 1.1 API."
(I think! I don't know how many times I've written tha phrase lately;(

> + * Same as svn_cmdline_init2, but always sets up LC_ALL

Missing trailing period. YOu could describe it in terms of the argument
instead of behaviour, like "...with @a server_mode set to @c FALSE."
> + *

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Feb 27 21:51:22 2005

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.