1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:57:35 +00:00

Ports: Remove obsolete patches for <limits.h>

This commit is contained in:
Gunnar Beutner 2021-04-12 13:35:46 +02:00 committed by Andreas Kling
parent e95cb252be
commit 0f98569617
6 changed files with 0 additions and 452 deletions

View file

@ -88,16 +88,3 @@ index fd7b257..9f5ced8 100644
free(p);
}
diff --git a/src/util.c b/src/util.c
index df83952..58c95c8 100644
--- a/src/util.c
+++ b/src/util.c
@@ -136,7 +136,7 @@ jv jq_realpath(jv path) {
#ifdef _PC_PATH_MAX
path_max = pathconf(jv_string_value(path),_PC_PATH_MAX);
#else
- path_max = PATH_MAX;
+ path_max = 4096;
#endif
if (path_max > 0) {
buf = jv_mem_alloc(path_max);