PERFORCE change 138684 for review
John Birrell
jb at FreeBSD.org
Wed Mar 26 23:26:34 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=138684
Change 138684 by jb at jb_freebsd1 on 2008/03/26 23:26:32
Allow an application to set FOPEN_MAX when building.
Affected files ...
.. //depot/projects/dtrace/src/include/stdio.h#6 edit
Differences ...
==== //depot/projects/dtrace/src/include/stdio.h#6 (text+ko) ====
@@ -181,7 +181,9 @@
* (which could fail). Do not use this for anything.
*/
/* must be == _POSIX_STREAM_MAX <limits.h> */
+#ifndef FOPEN_MAX
#define FOPEN_MAX 20 /* must be <= OPEN_MAX <sys/syslimits.h> */
+#endif
#define FILENAME_MAX 1024 /* must be <= PATH_MAX <sys/syslimits.h> */
/* System V/ANSI C; this is the wrong way to do this, do *not* use these. */
More information about the p4-projects
mailing list