On Thu, Dec 12, 2013 at 11:02 AM, Lennart Poettering
wrote:
> On Thu, 12.12.13 10:00, Shawn Landden (sh...@churchofgit.com) wrote:
>
>
> Applied. Dropped the fflush(stderr) bits though as we that's not
> necessary for stderr, and not even for stdout if an \n was printed
> anyway...
ok, I was worri
On Thu, 12.12.13 10:00, Shawn Landden (sh...@churchofgit.com) wrote:
Applied. Dropped the fflush(stderr) bits though as we that's not
necessary for stderr, and not even for stdout if an \n was printed
anyway...
Thanks!
>
> diff --git a/src/timedate/timedatectl.c b/src/timedate/timedatectl.c
>
Which does have TimeUSec. Should we specifically check for this method
instead of assuming time=0 means it doesn't exist?
Before:
shawn@debian-T61:~/git/systemd$ ./timedatectl
Local time: Wed 1969-12-31 16:00:00 PST
Universal time: Thu 1970-01-01 00:00:00 UTC
RTC time: n/a
On Wed, 11.12.13 14:04, Shawn Landden (sh...@churchofgit.com) wrote:
> Which does have TimeUSec. Should we specifically check for this method
> instead of assuming time=0 means it doesn't exist?
Sounds OK to just check against time == 0.
>
> +if (i->time)
For numeric values please alw
Which does have TimeUSec. Should we specifically check for this method
instead of assuming time=0 means it doesn't exist?
Before:
shawn@debian-T61:~/git/systemd$ ./timedatectl
Local time: Wed 1969-12-31 16:00:00 PST
Universal time: Thu 1970-01-01 00:00:00 UTC
RTC time: n/a