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

Re: Upgrade woes

From: Sander Stoks <sander_at_stoks.nl>
Date: 2003-09-17 22:39:45 CEST

Philip Martin wrote:

> Does BeOS support the APR functions apr_uid_current,
> apr_uid_name_get,
> apr_uid_homepath_get? If it doesn't then
> svn_config__user_config_path
> will return a NULL path. The function auth_file_path in
> config_auth.c
> doesn't handle the NULL (it also leaks any error returned by
> svn_config__user_config_path).
>
> The auth stuff appears to assume that the users config area will
> always be available, which conflicts with the documentation for
> svn_config__user_config_path which says that it may return NULL.

I traced it back to BeOS' getpwnam() which is called in the
apr_uid_homepath_get(). This always returns NULL - BeOS is essentially
a single-user system.

I sent an email to the APR-dev mailing list because it could be fixed
for BeOS by using getpwuid(0) instead (the current user on BeOS is
essentially always 0). I'm awaiting their response.

svn now no longer crashes, but I still have to enter my password. For
svn-0.15, this wasn't needed. I have .svn/auth/password and .svn/auth/
username files; I use a different username for my checkins. The
current svn apparently defaults to $USER and doesn't read those files?

Thanks,
Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 17 22:39:45 2003

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.