[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tyndur-devel] [PATCH 2/4] libc: Konstanten



+ libc: PATH_MAX und FILENAME_MAX

Signed-off-by: Kevin Wolf <kevin@xxxxxxxxxx>
---
 src/include/limits.h        |    1 +
 src/modules/include/stdio.h |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/include/limits.h b/src/include/limits.h
index 62f8399..d305fd0 100644
--- a/src/include/limits.h
+++ b/src/include/limits.h
@@ -56,6 +56,7 @@
 #define UINT_MAX 0xFFFFFFFF
 
 #define _POSIX_PATH_MAX 4096
+#define PATH_MAX _POSIX_PATH_MAX
 
 /**  Maximale laenge eines Multibyte-Zeichens in Bytes */
 #define MB_LEN_MAX 4
diff --git a/src/modules/include/stdio.h b/src/modules/include/stdio.h
index b5f34f4..a3be896 100644
--- a/src/modules/include/stdio.h
+++ b/src/modules/include/stdio.h
@@ -44,6 +44,7 @@
 #define _IOFBF 2
 #define _IOLBF 3
 
+#define FILENAME_MAX 4096
 #define BUFSIZ 512
 
 #define P_tmpdir "file:/tmp"
-- 
1.6.0.2