Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update '__STDC_VERSION__' check with C23 | Explorer09 | 12 days | 1 | -3/+2 |
| | | | | `__STDC_VERSION__` will be defined as 202311L for C23. | ||||
* | Relocate include of config.h from header to source modeule | Benny Baumann | 2023-12-26 | 1 | -2/+0 |
| | |||||
* | Convince IWYU to keep size_t/ssize_t via stddef.h | Benny Baumann | 2023-12-26 | 1 | -1/+1 |
| | |||||
* | Compat: implement static_assert() shim for pre-C11 | Ivan Shapovalov | 2023-04-23 | 1 | -0/+23 |
| | |||||
* | Linux: support openat() without readlinkat() | Christian Göttsche | 2022-08-09 | 1 | -0/+5 |
| | | | | | | | | | | | | | linux/LinuxProcessList.c:1094:52: error: format specifies type 'char *' but the argument has type 'openat_arg_t' (aka 'int') [-Werror,-Wformat] xSnprintf(filename, sizeof(filename), "%s/cwd", procFd); ~~ ^~~~~~ %d linux/LinuxProcessList.c:1333:44: error: format specifies type 'char *' but the argument has type 'openat_arg_t' (aka 'int') [-Werror,-Wformat] xSnprintf(path, sizeof(path), "%s/exe", procFd); ~~ ^~~~~~ %d Supersedes: #1025 | ||||
* | Update license headers to explicitly say GPLv2+ | Daniel Lange | 2021-09-22 | 1 | -1/+1 |
| | |||||
* | Request the realtime and monotonic clock times once per sample | Nathan Scott | 2021-04-05 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | Refactor the sample time code to make one call to gettimeofday (aka the realtime clock in clock_gettime, when available) and one to the monotonic clock. Stores each in more appropriately named ProcessList fields for ready access when needed. Every platform gets the opportunity to provide their own clock code, and the existing Mac OS X specific code is moved below darwin instead of in Compat. A couple of leftover time(2) calls are converted to use these ProcessList fields as well, instead of yet again sampling the system clock. Related to https://github.com/htop-dev/htop/pull/574 | ||||
* | Support clock_gettime() on OSX El Capitan and earlier | Christian Göttsche | 2020-12-18 | 1 | -0/+2 |
| | |||||
* | IWYU update | Christian Göttsche | 2020-12-06 | 1 | -1/+1 |
| | |||||
* | Resolve conversion from ssize_t to int for readlink return value | Christian Göttsche | 2020-12-05 | 1 | -5/+5 |
| | |||||
* | Convert personal copyright authorship to team | Christian Göttsche | 2020-12-04 | 1 | -1/+1 |
| | |||||
* | Add compat mode for systems without openat(2) | Christian Göttsche | 2020-11-28 | 1 | -0/+28 |
| | |||||
* | Compatibility function for faccessat | Benny Baumann | 2020-11-24 | 1 | -0/+5 |
| | |||||
* | Add compat wrapper for readlinkat | Benny Baumann | 2020-11-09 | 1 | -0/+7 |
| | |||||
* | Add compat wrapper for fstatat | Christian Göttsche | 2020-10-29 | 1 | -0/+19 |