Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rocky1138
on Feb 21, 2017
|
parent
|
context
|
favorite
| on:
How setting the TZ environment variable avoids tho...
It is perhaps out of scope of the article, but it sure would have been helpful to show how to set the TZ environment variable and what to set it to.
mmozeiko
on Feb 21, 2017
[–]
Its right there in middle of article (under "Preventing extraneous system calls" section):
$ TZ=:/etc/localtime strace -ttT ./test
rocky1138
on Feb 21, 2017
|
parent
[–]
I can't believe I missed that! Thanks.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: