summaryrefslogtreecommitdiff
path: root/source/utils/smbtree.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-09-10 11:08:57 +0000
committerAndrew Tridgell <tridge@samba.org>2001-09-10 11:08:57 +0000
commit1af8bf34f1caa3e7ec312d8109c07d32a945a448 (patch)
tree00f3f2d6778554ba273b73ae82f8790b43e56374 /source/utils/smbtree.c
parenta7842fac94a3f772da0e6ddf14044df24af798a9 (diff)
downloadsamba-1af8bf34f1caa3e7ec312d8109c07d32a945a448.tar.gz
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.
Diffstat (limited to 'source/utils/smbtree.c')
-rw-r--r--source/utils/smbtree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/utils/smbtree.c b/source/utils/smbtree.c
index 41940d9a6ca..75390965b31 100644
--- a/source/utils/smbtree.c
+++ b/source/utils/smbtree.c
@@ -325,7 +325,7 @@ static BOOL print_tree(struct user_auth_info *user_info)
{
extern char *optarg;
extern int optind;
- extern FILE *dbf;
+ extern XFILE *dbf;
int opt;
char *p;
pstring servicesf = CONFIGFILE;
@@ -336,7 +336,7 @@ static BOOL print_tree(struct user_auth_info *user_info)
setlinebuf(stdout);
- dbf = stderr;
+ dbf = x_stderr;
setup_logging(argv[0],True);