[pywin32-checkins] /hgrepo/p/py/pywin32/pywin32: treat flags and range for win32fil...
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: <pyw...@li...> - 2012-01-02 07:46:12
|
changeset 57fc41295aa0 in /hgrepo/p/py/pywin32/pywin32 details: http://pywin32.hg.sourceforge.net/hgweb/pywin32/pywin32/hgrepo/p/py/pywin32/pywin32?cmd=changeset;node=57fc41295aa0 summary: treat flags and range for win32file.LockFileEx to be unsigned, via #3385752 diffstat: win32/src/win32file.i | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r cc10aa149c2c -r 57fc41295aa0 win32/src/win32file.i --- a/win32/src/win32file.i Mon Jan 02 17:53:18 2012 +1100 +++ b/win32/src/win32file.i Mon Jan 02 18:43:11 2012 +1100 @@ -1068,7 +1068,7 @@ PyObject *obOverlapped = NULL; DWORD dwFlags, nbytesLow, nbytesHigh; - if (!PyArg_ParseTuple(args, "OiiiO:LockFileEx", + if (!PyArg_ParseTuple(args, "OkkkO:LockFileEx", &obhFile, // @pyparm <o PyHANDLE>/int|hFile||Handle to the file &dwFlags, // @pyparm dwFlags|int||Flags that specify exclusive/shared and blocking/non-blocking mode &nbytesLow, // @pyparm nbytesLow|int||low-order part of number of bytes to lock |