[jcifs] 0.8.2: setLastModified broken
Julian Reschke
julian.reschke at gmx.de
Tue Mar 30 16:27:01 GMT 2004
Julian Reschke wrote:
> Hi,
>
> with 0.8.2, setLastModified seems to be completely broken; once it has
> been called on a file, the smb.lastModified() method returns a negative
> value (== a time before January 1, 1970).
Looking at ServerMessageBlock.java, it seems to be caused by the
following line mistakenly being commented out:
t = (t + MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L;
Regards, Julian
--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
More information about the jcifs
mailing list