Update of /cvsroot/pywin32/pywin32/win32/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7734
Modified Files:
test_win32file.py
Log Message:
Check the smallest possible buffer size works.
Index: test_win32file.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/test/test_win32file.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** test_win32file.py 21 Mar 2006 01:10:00 -0000 1.9
--- test_win32file.py 21 Jun 2006 12:08:06 -0000 1.10
***************
*** 362,366 ****
nbytes = win32file.GetOverlappedResult(dh, overlapped, True)
if nbytes:
! bits = win32file.FILE_NOTIFY_INFORMATION(buf, 8192)
changes.extend(bits)
else:
--- 362,366 ----
nbytes = win32file.GetOverlappedResult(dh, overlapped, True)
if nbytes:
! bits = win32file.FILE_NOTIFY_INFORMATION(buf, nbytes)
changes.extend(bits)
else:
|