summaryrefslogtreecommitdiffstats
path: root/Compat.c
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup: Fix misc styleguide issuesSohaib Mohamed2021-11-041-1/+1
| | | | Signed-off-by: Sohaib Mohamed <sohaib.amhmd@gmail.com>
* Update license headers to explicitly say GPLv2+Daniel Lange2021-09-221-1/+1
|
* DragonFlyBSD: resolve sign comparisonChristian Göttsche2021-04-141-1/+1
| | | | | | | Compat.c: In function 'Compat_faccessat': Compat.c:46:14: error: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Werror=sign-compare] 46 | if (dirfd != AT_FDCWD || mode != F_OK) { | ^~
* Request the realtime and monotonic clock times once per sampleNathan Scott2021-04-051-34/+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 earlierChristian Göttsche2020-12-181-0/+34
|
* Resolve conversion from ssize_t to int for readlink return valueChristian Göttsche2020-12-051-5/+5
|
* Convert personal copyright authorship to teamChristian Göttsche2020-12-041-1/+1
|
* Add compat mode for systems without openat(2)Christian Göttsche2020-11-281-0/+14
|
* Compatibility function for faccessatBenny Baumann2020-11-241-0/+36
|
* IWYU update (Linux)Christian Göttsche2020-11-191-4/+5
|
* Add compat wrapper for readlinkatBenny Baumann2020-11-091-2/+24
|
* Add compat wrapper for fstatatChristian Göttsche2020-10-291-0/+46

© 2014-2024 Faster IT GmbH | imprint | privacy policy