On 05/25/2011 05:53 PM, Eric Blake wrote:
> - localtime_r(&creation,&time_info);
> + creation_time_t = creation_longlong;
> + if (creation_time_t != creation_longlong) {
> + vshError(ctl, "%s", _("time_t overflow"));
We shouldn't hit this error until 2038, and by then, hopefully more
32-bit platforms (if any are still running) will have switched to 64-bit
time_t.:)
If FreeBSD will still have time_t==int, it will die a painful death in
2038 independent of 32- vs. 64-bit. :)
Paolo
--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list