[PATCH 1/3] ntdll: Implement nanosecond precision file time storage (try 2).

Erich E. Hoover ehoover at mymail.mines.edu
Fri Oct 19 08:20:32 CDT 2012


This series of patches provides a fix for Bug #31858 (Netflix Internet
Connection Problem).  With this particular patch the POSIX.1-2008
futimens() function is used to replace the BSD futimes() function,
allowing for nanosecond precision of recorded file times.  This is
important for PlayReady/Netflix since PlayReady will re-copy the
individualization file from .../Cache/indiv01.key to
.../Cache/S-1-5-21-0-0-0-1000/MSPRindiv01.key if the file time doesn't
match (resulting in an access error since the file is in use). Without
the patch saving and restoring file times is not a perfectly
reversible process (since file times are stored in microseconds and
retrieved in nanoseconds), meaning that a CopyFile operation will
result in a different file time for the copied file.  This version has
been updated to use a configure check so that futimens() is only used
if it is supported by the host system.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ntdll-Implement-nanosecond-precision-file-time-stora.patch
Type: application/octet-stream
Size: 3141 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20121019/5e94928e/attachment.obj>


More information about the wine-patches mailing list