[jcifs] 0.8.2: setLastModified broken
Julian Reschke
julian.reschke at gmx.de
Wed Mar 31 10:27:44 GMT 2004
Julian Reschke wrote:
> 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
BTW: what's the reason why the JCifs sources aren't CVS-hosted on
cvs.samba.org?
Regards, Julian
--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
More information about the jcifs
mailing list