interpret_long_date() is now only used in the client. To enable correct
processing of dates before the UNIX epoch, call nt_time_to_full_timespec().
BUG: https://bugzilla.samba.org/show_bug.cgi?id=7771
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
^samba3.blackbox.timestamps.time=0\(fileserver\)
^samba3.blackbox.timestamps.time=-1\(fileserver\)
-^samba3.blackbox.timestamps.time=-2\(fileserver\)
-^samba3.blackbox.timestamps.time=1968\(fileserver\)
ret.tv_nsec = 0;
return ret;
}
- return nt_time_to_unix_timespec(nt);
+ return nt_time_to_full_timespec(nt);
}
/*******************************************************************