public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccb19d1
)
Define NAME_MAX to be the same as MAXNAMLEN
author
Neal Andrew Crook
<neal@pippaluk.org.uk>
Tue, 24 May 2016 21:57:03 +0000
(22:57 +0100)
committer
Neal Andrew Crook
<neal@pippaluk.org.uk>
Tue, 24 May 2016 21:57:03 +0000
(22:57 +0100)
Allegedly: MAXNAMLEN is the BSD name for what POSIX calls NAME_MAX
Library/include/dirent.h
patch
|
blob
|
history
diff --git
a/Library/include/dirent.h
b/Library/include/dirent.h
index
a6c4f1b
..
695088e
100644
(file)
--- a/
Library/include/dirent.h
+++ b/
Library/include/dirent.h
@@
-4,8
+4,9
@@
#include <types.h>
#endif
-
+/* `MAXNAMLEN' is the BSD name for what POSIX calls `NAME_MAX'. */
#define MAXNAMLEN 30
+#define NAME_MAX 30
struct dirent {
long d_ino; /* Try to be iBCS2 like */