зеркало из https://github.com/github/ruby.git
* ext/stringio/stringio.c (strio_mark): must check if ptr is NULL
first. [ruby-talk:38873] * lib/mkmf.rb (create_makefile): should print depend file when make is other than nmake. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
ad8dbab888
Коммит
b596fbbc37
|
@ -1,3 +1,11 @@
|
|||
Wed Apr 24 01:16:14 2002 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/stringio/stringio.c (strio_mark): must check if ptr is NULL
|
||||
first. [ruby-talk:38873]
|
||||
|
||||
* lib/mkmf.rb (create_makefile): should print depend file when
|
||||
make is other than nmake.
|
||||
|
||||
Wed Apr 24 00:37:12 2002 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* ext/extmk.rb.in (create_makefile): use `{$(srcdir)}' directive instead
|
||||
|
|
|
@ -53,7 +53,9 @@ static void
|
|||
strio_mark(ptr)
|
||||
struct StringIO *ptr;
|
||||
{
|
||||
rb_gc_mark(ptr->string);
|
||||
if (ptr) {
|
||||
rb_gc_mark(ptr->string);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -181,7 +183,6 @@ static VALUE
|
|||
strio_s_allocate(klass)
|
||||
VALUE klass;
|
||||
{
|
||||
struct StringIO *ptr;
|
||||
return Data_Wrap_Struct(klass, strio_mark, strio_free, 0);
|
||||
}
|
||||
|
||||
|
|
|
@ -631,7 +631,8 @@ EOMF
|
|||
mfile.printf "###\n"
|
||||
while line = dfile.gets()
|
||||
line.gsub!(/\.o\b/, ".#{$OBJEXT}")
|
||||
mfile.printf "%s", line.gsub(/(\s)([^\s\/]+\.[ch])/, '\1{$(srcdir)}\2') if /nmake/i =~ $make
|
||||
line.gsub!(/(\s)([^\s\/]+\.[ch])/, '\1{$(srcdir)}\2') if /nmake/i =~ $make
|
||||
mfile.printf "%s", line
|
||||
end
|
||||
dfile.close
|
||||
end
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#define RUBY_VERSION "1.7.2"
|
||||
#define RUBY_RELEASE_DATE "2002-04-19"
|
||||
#define RUBY_RELEASE_DATE "2002-04-23"
|
||||
#define RUBY_VERSION_CODE 172
|
||||
#define RUBY_RELEASE_CODE 20020419
|
||||
#define RUBY_RELEASE_CODE 20020423
|
||||
|
|
Загрузка…
Ссылка в новой задаче