Project

General

Profile

Bug #3452 ยป ceph-fix-gmtime-use.diff

Patch in that code path but doesn't fix the issue ... - Sylvain Munaut, 11/07/2012 08:48 AM

View differences:

src/rgw/rgw_rest.cc
{
char timestr[TIME_BUF_SIZE];
struct tm *tmp = gmtime(&t);
struct tm result;
struct tm *tmp = gmtime_r(&t, &result);
if (tmp == NULL)
return;
    (1-1/1)