BitGit
/
stratum.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog
|
commit
| commitdiff |
tree
|
edit
|
fork
raw
|
patch
(parent:
ba9f44d
)
warning to 32bit users
author
ThomasV
<thomasv@gitorious>
Sun, 8 Jul 2012 06:06:44 +0000 (10:06 +0400)
committer
ThomasV
<thomasv@gitorious>
Sun, 8 Jul 2012 06:06:44 +0000 (10:06 +0400)
server.py
patch
|
blob
|
blame
|
history
diff --git
a/server.py
b/server.py
index
c0a8300
..
d2ef9d6
100755
(executable)
--- a/
server.py
+++ b/
server.py
@@
-21,6
+21,10
@@
import ConfigParser
import logging
logging.basicConfig()
+if sys.maxsize <= 2**32:
+ print "Warning: it looks like you are using a 32bit system. You may experience crashes caused by mmap"
+
+
def attempt_read_config(config, filename):
try:
with open(filename, 'r') as f: