From b30e75692d68233448b3ad3d7ddd4b4ac423d3ab Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 10 Sep 2001 11:08:57 +0000 Subject: replaced stdio in many parts of samba with a XFILE. XFILE is a cut-down replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor limit that we hit with nasty consequences on some systems I would eventually prefer us to have a configure test to see if we need to replace stdio, but for now this code needs to be tested widely so I'm enabling it by default. (This used to be commit 1af8bf34f1caa3e7ec312d8109c07d32a945a448) --- source3/torture/locktest2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/torture/locktest2.c') diff --git a/source3/torture/locktest2.c b/source3/torture/locktest2.c index ce988f0cc8..899310933f 100644 --- a/source3/torture/locktest2.c +++ b/source3/torture/locktest2.c @@ -533,7 +533,7 @@ static void usage(void) char *share1, *share2, *nfspath1, *nfspath2; extern char *optarg; extern int optind; - extern FILE *dbf; + extern XFILE *dbf; int opt; char *p; int seed; @@ -541,7 +541,7 @@ static void usage(void) setlinebuf(stdout); - dbf = stderr; + dbf = x_stderr; if (argc < 5 || argv[1][0] == '-') { usage(); -- cgit