aboutsummaryrefslogtreecommitdiff
path: root/libxcb/src
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-08-16 14:48:54 +0200
committermarha <marha@users.sourceforge.net>2012-08-16 14:48:54 +0200
commit4aac32998c2b173b84aec0b020aa086fef4b1423 (patch)
tree3ffcb971bcc2f01929f60f8f704996544b69b2e1 /libxcb/src
parent9ddf44af81782451cee798e06749ce3067a14a41 (diff)
downloadvcxsrv-4aac32998c2b173b84aec0b020aa086fef4b1423.tar.gz
vcxsrv-4aac32998c2b173b84aec0b020aa086fef4b1423.tar.bz2
vcxsrv-4aac32998c2b173b84aec0b020aa086fef4b1423.zip
libxcb xserver mesa git update 16 Aug 2012
Diffstat (limited to 'libxcb/src')
-rw-r--r--libxcb/src/c_client.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/libxcb/src/c_client.py b/libxcb/src/c_client.py
index d006d305d..31ed3b58d 100644
--- a/libxcb/src/c_client.py
+++ b/libxcb/src/c_client.py
@@ -5,6 +5,7 @@ from functools import reduce
import getopt
import os
import sys
+import errno
import time
import re
@@ -2902,8 +2903,11 @@ Refer to the README file in xcb/proto for more info.
raise
# Ensure the man subdirectory exists
-if not os.path.exists('man'):
+try:
os.mkdir('man')
+except OSError, e:
+ if e.errno != errno.EEXIST:
+ raise
today = time.strftime('%Y-%m-%d', time.gmtime(os.path.getmtime(args[0])))