On Thu, Jul 26, 2018, 09:08 Reindl Harald <[email protected]> wrote:

>
>
> Am 26.07.2018 um 05:20 schrieb George Xie:
> >> dealing internally with surch arbiatry numbers is still a differnt world
> >> than ouput it in a user-tool like "systemctl show" which could simply
> >> translate it to some meaningful string
> >> no user cares about UINT64_MAX in such outputs
> >
> > quoted from the manual: (systemctl show) "is intended to be used
> > whenever computer-parsable output is required. . Use status if you are
> > looking for formatted human-readable output."
>
> arbitary numbers also don't help machines much and UINT64_MAX is a
> random value making no sense - really - something like -1 but why in teh
> world UINT64_MAX for something unset
>

UINT64_MAX *is* -1.

> --

Mantas Mikulėnas
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to