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

(-)uthread_init.c (-3 / +11 lines)
Lines 118-122 Link Here
118
		if ((_pthread_stdio_flags[i] =
118
		if ((_pthread_stdio_flags[i] =
119
		    _thread_sys_fcntl(i,F_GETFL, NULL)) == -1)
119
		    _thread_sys_fcntl(i,F_GETFL, NULL)) == -1 && errno != EBADF) {
120
			PANIC("Cannot get stdio flags");
120
			const char *panics[] = {
121
121
			    "Cannot initialize " "stdin" " file descriptor "
122
				"table entry",
123
			    "Cannot initialize " "stdout" " file descriptor "
124
				"table entry",
125
			    "Cannot initialize " "stderr" " file descriptor "
126
				"table entry"
127
			};
128
			PANIC(panics[i]);
129
		}
122
	/*
130
	/*

Return to bug 12853