bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: CVS Feature Branch - version - cannot write to stdout


From: Conrad T. Pino
Subject: RE: CVS Feature Branch - version - cannot write to stdout
Date: Fri, 22 Oct 2004 16:40:31 -0700

Hi Mark,

> From: Mark D. Baushke
> 
> I have not heard any response concerning the problem that Conrad
> reported and my proposed fix.
> 
> It seems that under normal circumstances, a select() for stdout on a
> windows client will see select() return s == -1 and errno == 0 and
> SOCK_ERRNO == WSAENOTSOCK.
> 
> As it is, in theory, possible for the output of cvs to be something that
> is a socket, it would probably make sense to just ignore printing output
> in the case where SOCK_ERRNO == WSAENOTSOCK rather than to avoid calling
> select() in the first place.
> 
> What do folks think of my patch? Is there a better way to do what is
> needful on Windows?

This is beyond my knowledge area and any opinion I might render is
essentially meaningless.  I'm dropping out of this topic.

>       Thanks,
>       -- Mark

Conrad





reply via email to

[Prev in Thread] Current Thread [Next in Thread]