diff options
author | Jeremy Allison <jra@samba.org> | 2009-08-21 21:44:21 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-08-21 21:44:21 -0700 |
commit | 1af0aa92b3f3467715f6ffbfedf66df1acc0a83c (patch) | |
tree | a151ed8cc04a4bea659b8d11484a197ca3b74b2c /source3/include/proto.h | |
parent | 47c7063dc62dc06d0cdd50e1946c088f8bf1ee1d (diff) | |
download | samba-1af0aa92b3f3467715f6ffbfedf66df1acc0a83c.tar.gz samba-1af0aa92b3f3467715f6ffbfedf66df1acc0a83c.tar.bz2 samba-1af0aa92b3f3467715f6ffbfedf66df1acc0a83c.zip |
Fix bug 6529 - Offline files conflict with Vista and Office 2003
On filesystems that can't store less than one second timestamps,
round the incoming timestamp set requests so the client can't discover
that a time set request has been truncated by the filesystem.
Needs backporting to 3.4, 3.3, 3.2 and (even) 3.0.
Jeremy
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 963e6df0c8..1b09732679 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1044,6 +1044,7 @@ struct timespec timespec_current(void); struct timespec timespec_min(const struct timespec *ts1, const struct timespec *ts2); int timespec_compare(const struct timespec *ts1, const struct timespec *ts2); +void round_timespec(struct timespec *ts); struct timespec interpret_long_date(const char *p); void cli_put_dos_date(struct cli_state *cli, char *buf, int offset, time_t unixdate); void cli_put_dos_date2(struct cli_state *cli, char *buf, int offset, time_t unixdate); |