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 #1

Updated by Zhandong Guo over 7 years ago

@Loïc Dachary, Could we plan to backport this for 10.2.4?

Actions #2

Updated by Nathan Cutler over 7 years ago

  • Backport set to jewel
Actions #3

Updated by Nathan Cutler over 7 years ago

  • Status changed from New to Duplicate
Actions #4

Updated by Nathan Cutler over 7 years ago

  • Backport deleted (jewel)
Actions #5

Updated by Nathan Cutler over 7 years ago

  • Is duplicate of Bug #14862: utime.h: fix timezone issue in round_to_* funcs. added
Actions #6

Updated by Nathan Cutler over 7 years ago

I'll stage #14862 for backport.

Actions

Also available in: Atom PDF