зеркало из https://github.com/github/ruby.git
* dir.c (dir_tell): check if closed. [ruby-core:16223]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
968e827e15
Коммит
0b3a667f53
|
@ -1,3 +1,7 @@
|
|||
Sun Apr 6 09:45:00 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* dir.c (dir_tell): check if closed. [ruby-core:16223]
|
||||
|
||||
Sat Apr 5 23:17:20 2008 Tadayoshi Funaba <tadf@dotrb.org>
|
||||
|
||||
* lib/cmath.rb: new.
|
||||
|
|
2
dir.c
2
dir.c
|
@ -580,7 +580,7 @@ dir_tell(VALUE dir)
|
|||
struct dir_data *dirp;
|
||||
long pos;
|
||||
|
||||
Data_Get_Struct(dir, struct dir_data, dirp);
|
||||
GetDIR(dir, dirp);
|
||||
pos = telldir(dirp->dir);
|
||||
return rb_int2inum(pos);
|
||||
#else
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#define RUBY_VERSION "1.9.0"
|
||||
#define RUBY_RELEASE_DATE "2008-04-04"
|
||||
#define RUBY_RELEASE_DATE "2008-04-06"
|
||||
#define RUBY_VERSION_CODE 190
|
||||
#define RUBY_RELEASE_CODE 20080404
|
||||
#define RUBY_RELEASE_CODE 20080406
|
||||
#define RUBY_PATCHLEVEL 0
|
||||
|
||||
#define RUBY_VERSION_MAJOR 1
|
||||
|
@ -9,7 +9,7 @@
|
|||
#define RUBY_VERSION_TEENY 0
|
||||
#define RUBY_RELEASE_YEAR 2008
|
||||
#define RUBY_RELEASE_MONTH 4
|
||||
#define RUBY_RELEASE_DAY 4
|
||||
#define RUBY_RELEASE_DAY 6
|
||||
|
||||
#ifdef RUBY_EXTERN
|
||||
RUBY_EXTERN const char ruby_version[];
|
||||
|
|
Загрузка…
Ссылка в новой задаче