diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-03-18 10:10:53 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-04-15 10:41:54 -0300 |
commit | ac0d208b54fe78ff378afce8003467c763c6a74a (patch) | |
tree | c9a62e1389a10c9abc06fb7d72bde0d8014d03fb /misc/gethostname.c | |
parent | cac6b54ae2e99013d472ce548405886d301c73e4 (diff) | |
download | glibc-ac0d208b54fe78ff378afce8003467c763c6a74a.zip glibc-ac0d208b54fe78ff378afce8003467c763c6a74a.tar.gz glibc-ac0d208b54fe78ff378afce8003467c763c6a74a.tar.bz2 |
misc: Use 64 bit time_t interfaces on syslog
It also handles the highly unlikely case where localtime might return
NULL, in this case only the PRI is set to hopefully instruct the relay
to get eh TIMESTAMP (as defined by the RFC).
Checked on x86_64-linux-gnu and i686-linux-gnu.
Diffstat (limited to 'misc/gethostname.c')
0 files changed, 0 insertions, 0 deletions