xserver: Branch 'master'
Keith Packard
keithp at kemper.freedesktop.org
Mon Oct 27 15:44:51 PDT 2014
os/connection.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ea5b2b0a2e2143ad1414fcbdc081b5d584588346
Author: Jon TURNEY <jon.turney at dronecode.org.uk>
Date: Tue Oct 21 15:03:55 2014 +0100
os: -displayfd should check ports up to 65535
-displayfd should check ports up to 65535
Noticed during https://cygwin.com/ml/cygwin-xfree/2014-07/msg00024.html
Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
Reviewed-by: Adam Jackson <ajax at redhat.com>
Signed-off-by: Keith Packard <keithp at keithp.com>
diff --git a/os/connection.c b/os/connection.c
index f915e12..d53bd34 100644
--- a/os/connection.c
+++ b/os/connection.c
@@ -421,7 +421,7 @@ CreateWellKnownSockets(void)
}
else { /* -displayfd and no explicit display number */
Bool found = 0;
- for (i = 0; i < 65535 - X_TCP_PORT; i++) {
+ for (i = 0; i < 65536 - X_TCP_PORT; i++) {
if (TryCreateSocket(i, &partial) && !partial) {
found = 1;
break;
More information about the xorg-commit
mailing list