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

Re: [patch] ask for username if getting UID fails

From: SteveKing <steveking_at_gmx.ch>
Date: 2003-05-16 08:05:20 CEST

----- Original Message -----
From: "Greg Hudson" <ghudson@MIT.EDU>

> getuid() will never fail on Unix. So worrying about that case is a dumb
> reason to object to this patch. If by some weird offchance it ever does
> happen, there's no reason Subversion should take responsibility for
> reporting it to the user.
>
> getpwuid() of the result could fail. That's an error, but not a
> terribly serious one. Again, there's no reason Subversion shouldn't
> fall back to asking for a username in this case; we are a version
> control system, not a system diagnostic tool.

That's exactly what I was thinking.

Stefan

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 16 08:06:19 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.