NAME_MAX is not the proper definition to use in this case.

Regards
-steve
Index: exec/coroparse.c
===================================================================
--- exec/coroparse.c	(revision 2215)
+++ exec/coroparse.c	(working copy)
@@ -214,7 +215,7 @@
 	const char *dirname;
 	DIR *dp;
 	struct dirent *dirent;
-	char filename[PATH_MAX + NAME_MAX + 1];
+	char filename[PATH_MAX + FILENAME_MAX + 1];
 	int res = 0;
 	struct stat stat_buf;
 
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to