mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1ce6f065b5
commit
33baccab78
3 changed files with 6 additions and 13 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Tue Oct 10 16:11:54 2000 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
|
* dln.c (dln_load): remove unused code for cygwin.
|
||||||
|
|
||||||
Tue Oct 10 09:49:23 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Tue Oct 10 09:49:23 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* file.c (Init_File): FileTest.size should return 0 (not nil) for
|
* file.c (Init_File): FileTest.size should return 0 (not nil) for
|
||||||
|
|
11
dln.c
11
dln.c
|
@ -1229,11 +1229,7 @@ dln_load(file)
|
||||||
/* Load the file as an object one */
|
/* Load the file as an object one */
|
||||||
init_funcname(buf, file);
|
init_funcname(buf, file);
|
||||||
|
|
||||||
#ifdef __CYGWIN32__
|
|
||||||
cygwin32_conv_to_win32_path(file, winfile);
|
|
||||||
#else
|
|
||||||
strcpy(winfile, file);
|
strcpy(winfile, file);
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Load file */
|
/* Load file */
|
||||||
if ((handle =
|
if ((handle =
|
||||||
|
@ -1242,13 +1238,6 @@ dln_load(file)
|
||||||
goto failed;
|
goto failed;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __CYGWIN32__
|
|
||||||
init_fct = (void(*)())GetProcAddress(handle, "impure_setup");
|
|
||||||
|
|
||||||
if (init_fct)
|
|
||||||
init_fct(_impure_ptr);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if ((init_fct = (void(*)())GetProcAddress(handle, buf)) == NULL) {
|
if ((init_fct = (void(*)())GetProcAddress(handle, buf)) == NULL) {
|
||||||
printf("GetProcAddress %s\n", buf);
|
printf("GetProcAddress %s\n", buf);
|
||||||
goto failed;
|
goto failed;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#define RUBY_VERSION "1.6.2"
|
#define RUBY_VERSION "1.6.2"
|
||||||
#define RUBY_RELEASE_DATE "2000-10-08"
|
#define RUBY_RELEASE_DATE "2000-10-10"
|
||||||
#define RUBY_VERSION_CODE 162
|
#define RUBY_VERSION_CODE 162
|
||||||
#define RUBY_RELEASE_CODE 20001008
|
#define RUBY_RELEASE_CODE 20001010
|
||||||
|
|
Loading…
Reference in a new issue