ruby-lsapi 3.3 → 3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ext/lsapi/lsapilib.c +4 -2
- data/ext/lsapi/lsruby.c +1 -1
- metadata +2 -2
data/ext/lsapi/lsapilib.c
CHANGED
|
@@ -2151,13 +2151,15 @@ void LSAPI_Init_Env_Parameters( fn_select_t fp )
|
|
|
2151
2151
|
{
|
|
2152
2152
|
avoidFork = atoi( p );
|
|
2153
2153
|
}
|
|
2154
|
-
|
|
2154
|
+
|
|
2155
|
+
#if defined( RLIMIT_CORE )
|
|
2155
2156
|
p = getenv( "LSAPI_ALLOW_CORE_DUMP" );
|
|
2156
2157
|
if ( !p )
|
|
2157
2158
|
{
|
|
2158
|
-
struct rlimit limit = { 0, 0};
|
|
2159
|
+
struct rlimit limit = { 0, 0 };
|
|
2159
2160
|
setrlimit( RLIMIT_CORE, &limit );
|
|
2160
2161
|
}
|
|
2162
|
+
#endif
|
|
2161
2163
|
|
|
2162
2164
|
p = getenv( "LSAPI_MAX_IDLE" );
|
|
2163
2165
|
if ( p )
|
data/ext/lsapi/lsruby.c
CHANGED
|
@@ -505,7 +505,7 @@ static VALUE lsapi_reopen( int argc, VALUE *argv, VALUE self)
|
|
|
505
505
|
|
|
506
506
|
ruby_verbose = (VALUE)orig_verbose;
|
|
507
507
|
|
|
508
|
-
return
|
|
508
|
+
return rb_funcall2( orig_stderr, rb_intern( "reopen" ), argc, argv );
|
|
509
509
|
|
|
510
510
|
}
|
|
511
511
|
return self;
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-lsapi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: "3.
|
|
4
|
+
version: "3.4"
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- LiteSpeed Technologies Inc.
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2008-
|
|
12
|
+
date: 2008-10-23 00:00:00 -04:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|