1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 13:37:45 +00:00

Ports: Update mc to 4.8.29

This commit is contained in:
Kenneth Myhra 2023-02-07 10:48:19 +01:00 committed by Linus Groh
parent 6acb8279f6
commit 96ac527e3c
5 changed files with 4 additions and 40 deletions

View file

@ -12,7 +12,7 @@ Subject: [PATCH] filemanager/ext.c: Include strings.h if SerenityOS
1 file changed, 3 insertions(+)
diff --git a/src/filemanager/ext.c b/src/filemanager/ext.c
index a18fda0..12bd8d5 100644
index 3c54747ad4421eaceabe154dff08651d5c202678..9d78d1999d06f07b54b0706984d0a7397e1d3d34 100644
--- a/src/filemanager/ext.c
+++ b/src/filemanager/ext.c
@@ -36,6 +36,9 @@

View file

@ -1,27 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Kenneth Myhra <kennethmyhra@gmail.com>
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))

View file

@ -9,12 +9,3 @@ filemanager/ext.c: Include strings.h if SerenityOS
- [ ] Resolves issue(s) with our side of things
- [ ] Hack
## `0002-filemanager-ext.c-Use-str_ncasecmp-instead-of-strnca.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