[systemd-bugs] [Bug 57411] New: timedatectl returns a failed assertion on strftime when in fr_FR locale
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Nov 22 06:05:47 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=57411
Priority: medium
Bug ID: 57411
Assignee: systemd-bugs at lists.freedesktop.org
Summary: timedatectl returns a failed assertion on strftime
when in fr_FR locale
QA Contact: systemd-bugs at lists.freedesktop.org
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: tuxce.net at gmail.com
Hardware: x86-64 (AMD64)
Status: NEW
Version: unspecified
Component: general
Product: systemd
The command output describes the bug :
$ timedatectl
Local time: jeu., 2012-11-22 14:50:18 CET
Universal time: jeu., 2012-11-22 13:50:18 UTC
RTC time: jeu., 2012-11-22 13:50:17
Timezone: Europe/Paris
UTC offset: +0100
NTP enabled: no
NTP synchronized: no
RTC in local TZ: no
DST active: no
Assertion 'strftime(a, sizeof(a), "%a, %Y-%m-%d %H:%M:%S %Z", localtime_r(&t,
&tm)) > 0' failed at src/timedate/timedatectl.c:171, function
print_status_info(). Aborting.
Abandon (core dumped)
I think it was introduced by this commit :
http://cgit.freedesktop.org/systemd/systemd/commit/src/shared/util.h?id=684341b073c4c5f7339e14ebc6a3e0df849e4eb7
#define FORMAT_TIMESTAMP_MAX (5+11+9+4+1)
5 is for weekday+comma+space, but week days in french have 4 digits.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20121122/b6c8b1ba/attachment.html>
More information about the systemd-bugs
mailing list