From: KIMURA Koichi Date: 1999-02-13T21:58:22+09:00 Subject: [ruby-dev:5075] patch (mswin32) 木村です。 ruby-1.3.1-990210 に対する差分です。mode_tという型がよくわからな いのですが、unsigned intで typedefして逃げました。 #いいかげんruby.defの作成を自動化したくなってきた^^; それとわたなべさんに質問なんですが、win32apiの初期化ルーチンの名 前がInit_win32apiではなく、Init_Win32apiになっているのはなぜでし ょうか? --- win32/ruby.def.orig Thu Jan 28 12:04:42 1999 +++ win32/ruby.def Sat Feb 13 21:44:54 1999 @@ -273,9 +273,7 @@ rb_io_close rb_io_binmode - rb_io_mode_flags rb_fopen rb_fdopen rb_io_unbuffered - rb_io_reopen rb_str_setter ; numeric.c --- win32/win32.h.orig Thu Jan 28 12:04:42 1999 +++ win32/win32.h Sat Feb 13 21:36:30 1999 @@ -151,4 +151,5 @@ #define strcasecmp _strcmpi +typedef unsigned int mode_t; /* these are defined in nt.c */ -- 木村浩一 May the source be with you. mail: kbk@kt.rim.or.jp web-page: http://www.kt.rim.or.jp/~kbk/