1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- In <stdio.h> MAXPATHLEN is now equivalent to PATH_MAX (from <limits.h>),

as suggested by Henning Nielsen Lund.


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15085 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2006-03-06 08:43:48 +00:00
parent 48654e7cb4
commit 524b70034c
2 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,6 @@
- In <stdio.h> MAXPATHLEN is now equivalent to PATH_MAX (from <limits.h>),
as suggested by Henning Nielsen Lund.
- Added lockf() support, as supplied by Henning Nielsen Lund. - Added lockf() support, as supplied by Henning Nielsen Lund.
Thank you very much! Thank you very much!

View File

@@ -1,5 +1,5 @@
/* /*
* $Id: stdio.h,v 1.21 2006-01-08 12:06:14 obarthel Exp $ * $Id: stdio.h,v 1.22 2006-03-06 08:43:48 obarthel Exp $
* *
* :ts=4 * :ts=4
* *
@@ -51,6 +51,10 @@
#include <stdarg.h> #include <stdarg.h>
#endif /* _STDARG_H */ #endif /* _STDARG_H */
#ifndef _LIMITS_H
#include <limits.h>
#endif /* _LIMITS_H */
#ifndef _SYS_TYPES_H #ifndef _SYS_TYPES_H
#include <sys/types.h> #include <sys/types.h>
#endif /* _SYS_TYPES_H */ #endif /* _SYS_TYPES_H */
@@ -349,7 +353,7 @@ extern char *tmpnam(char *buf);
/****************************************************************************/ /****************************************************************************/
#define MAXPATHLEN (4 * FILENAME_MAX) #define MAXPATHLEN PATH_MAX
/****************************************************************************/ /****************************************************************************/