Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't shadow standard headers | Tavian Barnes | 2022-03-12 | 1 | -323/+0 |
| | | | | | | | | | | | | | @italic on the AUR stated that bfs from the AUR fails to build on Manjaro. From the build log, it seems like <time.h> doesn't get included properly. I assume it's picking up ./time.h instead. I couldn't reproduce the build issue in the default configuration, but it does fail with EXTRA_CFLAGS="-I." which isn't good. So rename everything with an x prefix to stop clashing. Link: https://aur.archlinux.org/packages/bfs#comment-856102 Link: https://paste.rs/eqR | ||||
* | time: Don't call tzset() on every x{local,gm}time() | Tavian Barnes | 2020-10-01 | 1 | -2/+11 |
| | | | | It turns out tzset() checks /etc/localtime every time you call it. | ||||
* | time: Implement xtimegm() without mktime() | Tavian Barnes | 2020-02-13 | 1 | -32/+99 |
| | | | | Using setenv("TZ") is ugly and adds unnecessary failure paths. | ||||
* | time: Split out time-related functions from util | Tavian Barnes | 2020-02-13 | 1 | -0/+247 |