pkgsrc/lang/python22/patches/patch-bb
2003-04-08 18:32:59 +00:00

13 lines
642 B
Text

$NetBSD: patch-bb,v 1.1 2003/04/08 18:32:59 drochner Exp $
--- Lib/test/test_fcntl.py.orig Tue Apr 8 16:07:57 2003
+++ Lib/test/test_fcntl.py Tue Apr 8 16:08:04 2003
@@ -20,7 +20,7 @@
'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
'bsdos2', 'bsdos3', 'bsdos4',
'openbsd', 'openbsd2', 'openbsd3'):
- lockdata = struct.pack('lxxxxlxxxxlhh', 0, 0, 0, fcntl.F_WRLCK, 0)
+ lockdata = struct.pack('qqihh', 0, 0, 0, fcntl.F_WRLCK, 0)
elif sys.platform in ['aix3', 'aix4', 'hp-uxB', 'unixware7']:
lockdata = struct.pack('hhlllii', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
else: