Annotation of pkgsrc/lang/python21/patches/patch-bb, revision 1.2

1.1       drochner    1: $NetBSD$
                      2: 
1.2     ! recht       3: --- Lib/test/test_fcntl.py.orig        2001-04-11 22:58:20.000000000 +0200
        !             4: +++ Lib/test/test_fcntl.py     2004-08-28 12:12:17.000000000 +0200
        !             5: @@ -16,11 +16,11 @@
        !             6:  if verbose:
        !             7:      print 'Status from fnctl with O_NONBLOCK: ', rv
        !             8:  
        !             9: -if sys.platform in ('netbsd1', 'Darwin1.2', 'darwin1',
        !            10: +if sys.platform in ('netbsd1', 'netbsd2', 'Darwin1.2', 'darwin1',
1.1       drochner   11:                      'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
                     12:                      'bsdos2', 'bsdos3', 'bsdos4',
                     13:                      'openbsd', 'openbsd2'):
                     14: -    lockdata = struct.pack('lxxxxlxxxxlhh', 0, 0, 0, FCNTL.F_WRLCK, 0)
                     15: +    lockdata = struct.pack('ixxxxixxxxihh', 0, 0, 0, FCNTL.F_WRLCK, 0)
                     16:  elif sys.platform in ['aix3', 'aix4', 'hp-uxB', 'unixware7']:
                     17:      lockdata = struct.pack('hhlllii', FCNTL.F_WRLCK, 0, 0, 0, 0, 0, 0)
                     18:  else:

CVSweb <webmaster@jp.NetBSD.org>