Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Rings:1-MinimalX
systemd
0003-time-earlier-exit-from-format_timestamp_re...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0003-time-earlier-exit-from-format_timestamp_relative-on-.patch of Package systemd
Based on 65de0395ffe1cfb0f9af86504e8588fb31bb0fbc Mon Sep 17 00:00:00 2001 From: Lennart Poettering <lennart@poettering.net> Date: Fri, 24 Oct 2014 19:08:22 +0200 Subject: [PATCH] time: earlier exit from format_timestamp_relative() on special times --- src/shared/time-util.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- src/shared/time-util.c +++ src/shared/time-util.c 2014-10-29 14:07:28.479838096 +0000 @@ -194,11 +194,10 @@ char *format_timestamp_relative(char *bu const char *s; usec_t n, d; - n = now(CLOCK_REALTIME); - if (t <= 0 || (t == (usec_t) -1)) return NULL; + n = now(CLOCK_REALTIME); if (n > t) { d = n - t; s = "ago";
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor