From 0e57122ecfd554131fd6ad54fcbb556733bf6c88 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Thu, 28 Jan 2021 19:27:23 -0500 Subject: qsort_with_context on systems without qsort_r/s --- main.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'main.c') diff --git a/main.c b/main.c index 176f972..8248ac3 100644 --- a/main.c +++ b/main.c @@ -179,6 +179,11 @@ int main(int argc, char **argv) { } #endif } + #if TED_FORCE_SEARCH_CWD + // override whether or not we are in the executable's directory + // (for testing on Unix systems without /proc) + ted->search_cwd = true; + #endif Settings *settings = &ted->settings; -- cgit v1.2.3