LibC/Kernel: Bump PATH_MAX to 4096

This commit is contained in:
2026-04-17 21:12:15 +03:00
parent f527aca9d0
commit e6284c3cf3
2 changed files with 3 additions and 1 deletions

View File

@@ -34,6 +34,8 @@
#include <sys/sysmacros.h>
#include <sys/wait.h>
#pragma GCC diagnostic ignored "-Wstack-usage="
namespace Kernel
{

View File

@@ -111,7 +111,7 @@ __BEGIN_DECLS
#define MAX_CANON _POSIX_MAX_CANON
#define MAX_INPUT _POSIX_MAX_INPUT
#define NAME_MAX 255
#define PATH_MAX _POSIX_PATH_MAX
#define PATH_MAX 4096
#define PIPE_BUF PAGE_SIZE
//#define POSIX_ALLOC_SIZE_MIN
//#define POSIX_REC_INCR_XFER_SIZE