summaryrefslogtreecommitdiffstats
path: root/src/util.h
Commit message (Collapse)AuthorAgeFilesLines
* bfstd: Rename from util and reorganize itTavian Barnes2022-11-061-218/+0
|
* config: Split out some of util.h into a new headerTavian Barnes2022-11-061-134/+0
|
* util: Get rid of BFS_HAS_INCLUDE() wrapper for __has_include()Tavian Barnes2022-11-061-32/+65
| | | | | | | | | Since __has_include() needs special preprocessing rules (e.g. not expanding `linux` in `__has_include(<linux/stat.h>)`, macros that expand to __has_include() do not necessarily behave correctly. Instead, we have to directly test `#if __has_include(...)`. See https://bugs.llvm.org/show_bug.cgi?id=37990 for more details.
* util: Use fewer BFS_*() wrappers for feature testingTavian Barnes2022-11-061-22/+14
|
* xspawn: Use _PATH_DEFPATH if _CS_PATH is not definedTavian Barnes2022-11-061-0/+4
| | | | | And set errno correctly if neither one is. Fixes tests/posix/exec_nopath on Android.
* stat: Don't pass AT_NO_AUTOMOUNT on GNU Hurd before glibc 2.35Tavian Barnes2022-05-291-0/+6
| | | | | Link: https://buildd.debian.org/status/fetch.php?pkg=bfs&arch=hurd-i386&ver=2.6-1&stamp=1653764526 Link: https://sourceware.org/git/?p=glibc.git;a=commit;h=13710e7e6af6c8965cc9a63a0660cb4ce1966557
* Source / Include Folder (#88)トトも2022-04-161-0/+317
Moved Source Files Into `src` Folder