Skip to content

Commit

Permalink
Imported Upstream version 2.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
johnl committed Dec 15, 2008
1 parent 2e125eb commit 86694a7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ verbose true
##### Configuration

# Don't forget to edit Configuration.h too
PACKAGE_VERSION = "2.0.5"
PACKAGE_VERSION = "2.0.6"
OPTIMIZE = ["yes", "on", "true"].include?(ENV['OPTIMIZE'])

include PlatformInfo
Expand Down
2 changes: 1 addition & 1 deletion ext/apache2/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
*/

/** Module version number. */
#define PASSENGER_VERSION "2.0.5"
#define PASSENGER_VERSION "2.0.6"

#ifdef __cplusplus
#include <set>
Expand Down
1 change: 1 addition & 0 deletions ext/apache2/Exceptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <exception>
#include <string>
#include <sstream>
#include <cstring>

/**
* @defgroup Exceptions Exceptions
Expand Down
3 changes: 3 additions & 0 deletions ext/passenger/native_support.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
#include <errno.h>

#define MIN(a, b) (((a) < (b)) ? (a) : (b))
#ifndef RARRAY_LEN
#define RARRAY_LEN(ary) RARRAY(ary)->len
#endif

static VALUE mPassenger;
static VALUE mNativeSupport;
Expand Down
6 changes: 5 additions & 1 deletion lib/passenger/spawn_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@ def initialize

# Commonly used libraries.
['mysql', 'sqlite3'].each do |lib|
require lib
begin
require lib
rescue LoadError
# Do nothing; ignore if not present.
end
end
end
end
Expand Down

0 comments on commit 86694a7

Please sign in to comment.