View | Details | Raw Unified | Return to bug 123109
Collapse All | Expand All

(-)fdopen.c (-4 lines)
Lines 52-62 Link Here
52
	const char *mode;
52
	const char *mode;
53
{
53
{
54
	FILE *fp;
54
	FILE *fp;
55
	static int nofile;
56
	int flags, oflags, fdflags, tmp;
55
	int flags, oflags, fdflags, tmp;
57
58
	if (nofile == 0)
59
		nofile = getdtablesize();
60
56
61
	/*
57
	/*
62
	 * File descriptors are a full int, but _file is only a short.
58
	 * File descriptors are a full int, but _file is only a short.

Return to bug 123109