summaryrefslogtreecommitdiffstats
path: root/Lib/dos-8x3/posixfil.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-09-01 19:25:51 (GMT)
committerGuido van Rossum <guido@python.org>2000-09-01 19:25:51 (GMT)
commit8d691c842289cf4453f282637765f07113a7cc17 (patch)
tree3a7819d53d7578cf728d3bcfecba7daebb6981db /Lib/dos-8x3/posixfil.py
parent29201d490511b2af863e07fdf5cb247fc9117c2f (diff)
downloadcpython-8d691c842289cf4453f282637765f07113a7cc17.zip
cpython-8d691c842289cf4453f282637765f07113a7cc17.tar.gz
cpython-8d691c842289cf4453f282637765f07113a7cc17.tar.bz2
The usual
Diffstat (limited to 'Lib/dos-8x3/posixfil.py')
-rwxr-xr-xLib/dos-8x3/posixfil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/dos-8x3/posixfil.py b/Lib/dos-8x3/posixfil.py
index 2db37e0..d358dc4 100755
--- a/Lib/dos-8x3/posixfil.py
+++ b/Lib/dos-8x3/posixfil.py
@@ -176,7 +176,7 @@ class _posixfile_:
import sys, os
if sys.platform in ('netbsd1',
'openbsd2',
- 'freebsd2', 'freebsd3',
+ 'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
'bsdos2', 'bsdos3', 'bsdos4'):
flock = struct.pack('lxxxxlxxxxlhh', \
l_start, l_len, os.getpid(), l_type, l_whence)
@@ -192,7 +192,7 @@ class _posixfile_:
if '?' in how:
if sys.platform in ('netbsd1',
'openbsd2',
- 'freebsd2', 'freebsd3',
+ 'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
'bsdos2', 'bsdos3', 'bsdos4'):
l_start, l_len, l_pid, l_type, l_whence = \
struct.unpack('lxxxxlxxxxlhh', flock)