[prev in list] [next in list] [prev in thread] [next in thread]
List: subversion-cvs
Subject: svn commit: r10431 - trunk/subversion/clients/cmdline
From: breser () tigris ! org
Date: 2004-07-27 22:11:32
Message-ID: 200407272211.i6RMBWX01490 () morbius ! ch ! collab ! net
[Download RAW message or body]
Author: breser
Date: Tue Jul 27 17:11:24 2004
New Revision: 10431
Modified:
trunk/subversion/clients/cmdline/prompt.c
Log:
Don't try and use apr_poll() on Windows because APR doesn't do what it's
supposed to. :(
* subversion/clients/cmdline/prompt.c
(wait_for_input): Just return APR_ENOTIMPL on Windows.
Modified: trunk/subversion/clients/cmdline/prompt.c
Url: http://svn.collab.net/viewcvs/svn/trunk/subversion/clients/cmdline/prompt.c?view= \
diff&rev=10431&p1=trunk/subversion/clients/cmdline/prompt.c&r1=10430&p2=trunk/subversion/clients/cmdline/prompt.c&r2=10431
==============================================================================
--- trunk/subversion/clients/cmdline/prompt.c (original)
+++ trunk/subversion/clients/cmdline/prompt.c Tue Jul 27 17:11:24 2004
@@ -49,6 +49,15 @@
apr_pollfd_t pollset;
int srv, n;
+/* APR specs say things that are unimplemented are supposed to return
+ * APR_ENOTIMPL. But when trying to use APR_POLL_FILE with apr_poll
+ * on Windows it returns APR_EBADF instead. So just return APR_ENOTIMPL
+ * ourselves here.
+ */
+#ifdef WIN32
+ return APR_ENOTIMPL;
+#endif /* WIN32 */
+
pollset.desc_type = APR_POLL_FILE;
pollset.desc.f = f;
pollset.p = pool;
---------------------------------------------------------------------
To unsubscribe, e-mail: svn-unsubscribe@subversion.tigris.org
For additional commands, e-mail: svn-help@subversion.tigris.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic