From d918a1e17c6b2a8d7970c3f9bffc9037373841e4 Mon Sep 17 00:00:00 2001 From: Hye-Shik Chang Date: Fri, 20 Aug 2004 23:56:16 +0000 Subject: - Add support for FreeBSD 6. - Remove support for FreeBSD 2. Spotted by: marcus, kris Obtained from: Python CVS --- lang/python23/files/patch-Lib::posixfile.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 lang/python23/files/patch-Lib::posixfile.py (limited to 'lang/python23/files/patch-Lib::posixfile.py') diff --git a/lang/python23/files/patch-Lib::posixfile.py b/lang/python23/files/patch-Lib::posixfile.py new file mode 100644 index 000000000000..59ce175a895d --- /dev/null +++ b/lang/python23/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']: -- cgit v1.2.3