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

Re: svn commit: r11783 - trunk/subversion/svnserve

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-11-10 06:54:12 CET

On Tue, 2004-11-09 at 14:29, Peter N. Lundblad wrote:
> fprintf will be checked.

There's not much point in checking the return value of fprintf() when
writing an error message to stderr prior to exiting. What are you going
to do if it fails?

> I don't know why apr_socket_listen isn't checked.

listen() can't fail if you pass it a valid socket.

Or so I thought, anyway. My man page says that listen() can return
EADDRINUSE, but I would think that's more of a bind() error.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 10 06:54:34 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.