Project

General

Profile

Actions

Bug #17200

closed

utime.h: fix timezone issue in round_to_* funcs.

Added by 洁 李 over 7 years ago. Updated over 7 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

gmtime_r converts local time to UTC, however mktime only takes an
argument as local time. Use localtime_r instead of gmtime_r will fix.
Fixes: #14862

The pull request has been merged to master branch, see: https://github.com/ceph/ceph/commit/c914f28d6e79726b84261884c37b89d7c6b34f21


Related issues 1 (0 open1 closed)

Is duplicate of Ceph - Bug #14862: utime.h: fix timezone issue in round_to_* funcs. Resolved02/25/2016

Actions
Actions

Also available in: Atom PDF