ntdll: Remove the overly-cautious check which prevented NtSetSystemTime from changing the time by more than two minutes.

Robert Shearman rob at codeweavers.com
Fri Sep 7 12:41:42 CDT 2007


Simplify the returning of different status codes by not playing around 
with the return value from settimeofday.
---
  dlls/ntdll/time.c |   37 ++++++++++++-------------------------
  1 files changed, 12 insertions(+), 25 deletions(-)

Most users don't have the privileges to use this function anyway, so it 
shouldn't cause any harm to remove the check.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5b107cc65e321882d0739ec49930f6fee5a4f4ce.diff
Type: text/x-patch
Size: 2047 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070907/ace8346f/5b107cc65e321882d0739ec49930f6fee5a4f4ce.bin


More information about the wine-patches mailing list