home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f3537f
)
Server/py: Remove superfluous os.fsync().
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 8 Mar 2015 15:39:16 +0000
(16:39 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 8 Mar 2015 15:39:16 +0000
(16:39 +0100)
plomrogue-server.py
patch
|
blob
|
history
diff --git
a/plomrogue-server.py
b/plomrogue-server.py
index e9fdabd74ee0fe4d12ec5383253ef493edc8353f..5af05f7949e2ca18c16bcb3359d0f73d67fc6e10 100755
(executable)
--- a/
plomrogue-server.py
+++ b/
plomrogue-server.py
@@
-56,10
+56,9
@@
def prep_library():
def strong_write(file, string):
- """Apply write(string),
flush(), and os.fsync() to file
."""
+ """Apply write(string),
then flush()
."""
file.write(string)
file.flush()
- os.fsync(file)
def setup_server_io():