Date: Wed, 26 Mar 2008 23:26:33 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 138684 for review Message-ID: <200803262326.m2QNQXlI007772@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=138684 Change 138684 by jb@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. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803262326.m2QNQXlI007772>