bug 7836: fix printcap cache race conditions

David Disseldorp ddiss at suse.de
Mon Jan 3 03:41:46 MST 2011


On Sun, 2 Jan 2011 22:33:50 +0100
Björn Jacke <bj at SerNet.DE> wrote:

> Hi,
> 
> for 3.6 and master, please use time_mono(), not time() for
> calculation of timeouts to make printer timeouts not go mad when the
> system clock is being adjusted. You can find several examples of
> time_mono() usage at other places. If the timeout does not interact
> with any variables that must contain realtime clock values then the
> use of the monotonic clock is quite straightforward. Can you update
> the patch for master accordingly?

Thanks for the feedback Björn, new patch pushed and attached.

Cheers, David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-s3-printing-use-time_mono-in-housekeeping-functions.patch
Type: text/x-patch
Size: 2301 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20110103/82976152/attachment.bin>


More information about the samba-technical mailing list