2009-01-12 07:54 Senthil Kumaran S <senthil_at_collab.net> napisaĆ(a):
> Author: stylesen
> Date: Sun Jan 11 22:54:26 2009
> New Revision: 35163
>
> Log:
> Follow up r35161.
>
> * subversion/libsvn_subr/cmdline.c
> (svn_cmdline_create_auth_baton): Set unlock prompt function only if operating
> system is other than darwin and win32 which otherwise breaks the builds.
>
> Modified:
> trunk/subversion/libsvn_subr/cmdline.c
>
> Modified: trunk/subversion/libsvn_subr/cmdline.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_subr/cmdline.c?pathrev=35163&r1=35162&r2=35163
> ==============================================================================
> --- trunk/subversion/libsvn_subr/cmdline.c Sun Jan 11 22:21:54 2009 (r35162)
> +++ trunk/subversion/libsvn_subr/cmdline.c Sun Jan 11 22:54:26 2009 (r35163)
> @@ -550,8 +550,10 @@ svn_cmdline_create_auth_baton(svn_auth_b
> if (no_auth_cache || ! store_auth_creds_val)
> svn_auth_set_parameter(*ab, SVN_AUTH_PARAM_NO_AUTH_CACHE, "");
>
> +#if (!defined(DARWIN) && !defined(WIN32))
'#ifdef SVN_HAVE_GNOME_KEYRING' would be better.
> svn_auth_set_parameter(*ab, SVN_AUTH_PARAM_GNOME_KEYRING_UNLOCK_PROMPT_FUNC,
> &svn_cmdline_auth_unlock_prompt);
> +#endif /* (!DARWIN && !WIN32) */
#endif /* SVN_HAVE_GNOME_KEYRING */
>
> return SVN_NO_ERROR;
> }
Received on 2009-01-12 10:43:57 CET