[Spambayes] fcntl not available on Windows
Miguel Vargas
miguel at vargas.com
Sat Jan 3 12:19:57 EST 2004
I am running Win98 but portalocker.py only works on NT, it fails on
Win98 with error: (120, 'LockFileEx', 'This function is only valid in
Win32 mode.').
I found an example of Win98 file locking in this thread
http://mail.python.org/pipermail/python-win32/2001-August/000123.html.
It uses Win32's LockFile instead of LockFileEx, but it can't set the
exclusive flag. I don't know enough to try to fix your patch, so I'm
giving up :(
I think I need a better OS, I wonder where my RedHat CD is at ...
More information about the Spambayes
mailing list