Klaus Demo nginx / 231ed19
Added the NGX_EBADF define. Valentin Bartenev 8 years ago
3 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
287287
288288 ngx_log_error(level, cycle->log, err, "select() failed");
289289
290 if (err == EBADF) {
290 if (err == NGX_EBADF) {
291291 ngx_select_repair_fd_sets(cycle);
292292 }
293293
4949 #define NGX_EILSEQ EILSEQ
5050 #define NGX_ENOMOREFILES 0
5151 #define NGX_ELOOP ELOOP
52 #define NGX_EBADF EBADF
5253
5354 #if (NGX_HAVE_OPENAT)
5455 #define NGX_EMLINK EMLINK
5151 #define NGX_ENOMOREFILES ERROR_NO_MORE_FILES
5252 #define NGX_EILSEQ ERROR_NO_UNICODE_TRANSLATION
5353 #define NGX_ELOOP 0
54 #define NGX_EBADF WSAEBADF
5455
5556 #define NGX_EALREADY WSAEALREADY
5657 #define NGX_EINVAL WSAEINVAL