From c45289cb8138d8747561bb5633ac4c17bad3e40a Mon Sep 17 00:00:00 2001
From: Guido van Rossum <guido@python.org>
Date: Thu, 24 Oct 1996 22:27:16 +0000
Subject: The usual :-(

---
 Lib/dos-8x3/py_compi.py | 2 +-
 Lib/dos-8x3/socketse.py | 2 +-
 Lib/dos_8x3/py_compi.py | 2 +-
 Lib/dos_8x3/socketse.py | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Lib/dos-8x3/py_compi.py b/Lib/dos-8x3/py_compi.py
index 2e68ba8..fba7b1d 100755
--- a/Lib/dos-8x3/py_compi.py
+++ b/Lib/dos-8x3/py_compi.py
@@ -16,7 +16,7 @@ def compile(file, cfile = None):
 	f = open(file)
 	codestring = f.read()
 	f.close()
-	timestamp = os.stat(file)[8]
+	timestamp = long(os.stat(file)[8])
 	codeobject = __builtin__.compile(codestring, file, 'exec')
 	if not cfile:
 		cfile = file + 'c'
diff --git a/Lib/dos-8x3/socketse.py b/Lib/dos-8x3/socketse.py
index 9a646ab..6c371e2 100755
--- a/Lib/dos-8x3/socketse.py
+++ b/Lib/dos-8x3/socketse.py
@@ -392,7 +392,7 @@ class StreamRequestHandler(BaseRequestHandler):
 
     def setup(self):
 	self.connection = self.request
-	self.rfile = self.connection.makefile('rb')
+	self.rfile = self.connection.makefile('rb', 0)
 	self.wfile = self.connection.makefile('wb', 0)
 
     def finish(self):
diff --git a/Lib/dos_8x3/py_compi.py b/Lib/dos_8x3/py_compi.py
index 2e68ba8..fba7b1d 100755
--- a/Lib/dos_8x3/py_compi.py
+++ b/Lib/dos_8x3/py_compi.py
@@ -16,7 +16,7 @@ def compile(file, cfile = None):
 	f = open(file)
 	codestring = f.read()
 	f.close()
-	timestamp = os.stat(file)[8]
+	timestamp = long(os.stat(file)[8])
 	codeobject = __builtin__.compile(codestring, file, 'exec')
 	if not cfile:
 		cfile = file + 'c'
diff --git a/Lib/dos_8x3/socketse.py b/Lib/dos_8x3/socketse.py
index 9a646ab..6c371e2 100755
--- a/Lib/dos_8x3/socketse.py
+++ b/Lib/dos_8x3/socketse.py
@@ -392,7 +392,7 @@ class StreamRequestHandler(BaseRequestHandler):
 
     def setup(self):
 	self.connection = self.request
-	self.rfile = self.connection.makefile('rb')
+	self.rfile = self.connection.makefile('rb', 0)
 	self.wfile = self.connection.makefile('wb', 0)
 
     def finish(self):
-- 
cgit v0.12

