summaryrefslogtreecommitdiff
path: root/lang/python/files/patch-Lib::posixfile.py
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2004-08-20 23:56:16 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2004-08-20 23:56:16 +0000
commitd918a1e17c6b2a8d7970c3f9bffc9037373841e4 (patch)
tree2285e10111f562effe030b96cbbc4eb8a106d70e /lang/python/files/patch-Lib::posixfile.py
parent- Update to 1.2.0 (diff)
- Add support for FreeBSD 6.
- Remove support for FreeBSD 2. Spotted by: marcus, kris Obtained from: Python CVS
Notes
Notes: svn path=/head/; revision=116861
Diffstat (limited to 'lang/python/files/patch-Lib::posixfile.py')
-rw-r--r--lang/python/files/patch-Lib::posixfile.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/lang/python/files/patch-Lib::posixfile.py b/lang/python/files/patch-Lib::posixfile.py
new file mode 100644
index 000000000000..59ce175a895d
--- /dev/null
+++ b/lang/python/files/patch-Lib::posixfile.py
@@ -0,0 +1,16 @@
+===================================================================
+RCS file: /cvsroot/python/python/dist/src/Lib/posixfile.py,v
+retrieving revision 1.25
+retrieving revision 1.26
+diff -u -r1.25 -r1.26
+--- Lib/posixfile.py 2004/02/12 17:35:06 1.25
++++ Lib/posixfile.py 2004/08/18 15:13:40 1.26
+@@ -185,7 +185,7 @@
+ if sys.platform in ('netbsd1',
+ 'openbsd2',
+ 'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
+- 'bsdos2', 'bsdos3', 'bsdos4'):
++ 'freebsd6', 'bsdos2', 'bsdos3', 'bsdos4'):
+ flock = struct.pack('lxxxxlxxxxlhh', \
+ l_start, l_len, os.getpid(), l_type, l_whence)
+ elif sys.platform in ['aix3', 'aix4']: