Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 131489
Collapse All | Expand All

(-)file_not_specified_in_diff (-1 / +11 lines)
Line  Link Here
0
-- ruby-fcgi-0.8.6/ext/fcgi/fcgi.c     Fri Apr  1 03:21:41 2005
0
++ ruby-fcgi-0.8.6.patched/ext/fcgi/fcgi.c     Sat Dec 24 06:29:08 2005
Lines 8-13 Link Here
8
#include <sys/types.h>
8
#include <sys/types.h>
9
#include <unistd.h>
9
#include <unistd.h>
10
#include <errno.h>
10
#include <errno.h>
11
#include <fcntl.h>
11
#include "ruby.h"
12
#include "ruby.h"
12
#ifdef HAVE_FASTCGI_FCGIAPP_H
13
#ifdef HAVE_FASTCGI_FCGIAPP_H
Lines 74-79 Link Here
74
    char **env;
75
    char **env;
75
    VALUE obj,key, value;
76
    VALUE obj,key, value;
76
    char *pkey,*pvalue;
77
    char *pkey,*pvalue;
78
    int flags, fd;
79
80
    /* Unset NONBLOCKING */
81
    fd = ((FCGX_Request*) req)->ipcFd;
82
    flags = fcntl(fd, F_GETFL);
83
84
    if (flags & O_NONBLOCK) {
85
       fcntl(fd, F_SETFL, flags & ~O_NONBLOCK);
86
    }
77
    obj = Data_Make_Struct(self, fcgi_data, fcgi_mark, fcgi_free_req, data);
87
    obj = Data_Make_Struct(self, fcgi_data, fcgi_mark, fcgi_free_req, data);
78
    data->req = req;
88
    data->req = req;

Return to bug 131489