Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/asan_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
- name: Run autotools / configure
run: ./autogen.sh --enable-debug
- name: Compile and link (make)
run: make -j8 CFLAGS="-Werror -Wall -fsanitize=address" LDFLAGS="-fsanitize=address"
run: make -j8 CFLAGS="-Werror -Wextra -Wno-sign-compare -Wall -fsanitize=address" LDFLAGS="-fsanitize=address"
- name: Run unit tests
run: make -C tests/unit CFLAGS="-fsanitize=address" LDFLAGS="-fsanitize=address" check
2 changes: 1 addition & 1 deletion .github/workflows/macos_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ jobs:
run: >
./autogen.sh --enable-debug
- name: Compile and link
run: MACOSX_DEPLOYMENT_TARGET=15.4 make -j8 CFLAGS="-Werror -Wall"
run: MACOSX_DEPLOYMENT_TARGET=15.4 make -j8 CFLAGS="-Werror -Wextra -Wno-sign-compare -Wall"
- name: Run unit tests
run: make -C tests/unit check
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ jobs:
- name: Run autotools / configure
run: ./autogen.sh --enable-debug
- name: Compile and link (make)
run: make CFLAGS="-Wall -Wextra -Werror -Wno-sign-compare"
run: make CFLAGS="-Wall -Wextra -Wno-sign-compare -Werror -Wextra -Wno-sign-compare"
- name: Run unit tests
run: make -C tests/unit check
2 changes: 1 addition & 1 deletion libutils/unix_dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const struct dirent *DirRead(Dir *dir)
{
assert(dir != NULL);
errno = 0;
#ifdef __linux__
#if defined __linux__ || defined DARWIN
return readdir((DIR *) dir->dirh); // Sets errno for error
#else // "exotics" use readdir_r

Expand Down
Loading