svn commit: samba r6125 - in branches/SAMBA_3_0/source/libsmb: .
derrell at samba.org
derrell at samba.org
Wed Mar 30 02:35:31 GMT 2005
Author: derrell
Date: 2005-03-30 02:35:31 +0000 (Wed, 30 Mar 2005)
New Revision: 6125
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6125
Log:
smbc_stat() returned incorrect timestamps IFF it used cli_qpathinfo2() to
retrieve the timestamps (Win2k) and not if it used cli-getatr() to retrieve
the timestamps (Win98). Timestamps are supposed to be in GMT, and should
not have serverzone deducted from them in cli_qpathinfo2().
Modified:
branches/SAMBA_3_0/source/libsmb/clirap.c
Changeset:
Modified: branches/SAMBA_3_0/source/libsmb/clirap.c
===================================================================
--- branches/SAMBA_3_0/source/libsmb/clirap.c 2005-03-30 02:24:47 UTC (rev 6124)
+++ branches/SAMBA_3_0/source/libsmb/clirap.c 2005-03-30 02:35:31 UTC (rev 6125)
@@ -501,16 +501,16 @@
}
if (c_time) {
- *c_time = interpret_long_date(rdata+0) - cli->serverzone;
+ *c_time = interpret_long_date(rdata+0);
}
if (a_time) {
- *a_time = interpret_long_date(rdata+8) - cli->serverzone;
+ *a_time = interpret_long_date(rdata+8);
}
if (m_time) {
- *m_time = interpret_long_date(rdata+16) - cli->serverzone;
+ *m_time = interpret_long_date(rdata+16);
}
if (w_time) {
- *w_time = interpret_long_date(rdata+24) - cli->serverzone;
+ *w_time = interpret_long_date(rdata+24);
}
if (mode) {
*mode = SVAL(rdata, 32);
More information about the samba-cvs
mailing list