From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Kenneth Myhra Date: Tue, 11 Jan 2022 19:56:13 +0100 Subject: [PATCH] filemanager/ext.c: Use str_ncasecmp instead of strncasecmp if SerenityOS - [ ] Local? - [X] Should be merged to upstream? - [ ] Resolves issue(s) with our side of things - [ ] Hack --- src/filemanager/ext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filemanager/ext.c b/src/filemanager/ext.c index 12bd8d5..53cda02 100644 --- a/src/filemanager/ext.c +++ b/src/filemanager/ext.c @@ -950,7 +950,7 @@ regex_command_for (void *target, const vfs_path_t * filename_vpath, const char * if (case_insense) { p += 2; - cmp_func = strncasecmp; + cmp_func = str_ncasecmp; } if (*p == '.' && file_len >= (size_t) (q - p))