なかだです。 Fri Jul 1 11:34:08 2005 Yukihiro Matsumoto <matz / ruby-lang.org> * missing/crypt.c: replaced with 4.4BSD version. * missing/erf.c: ditto. この変更で、この二つがコンパイルできなくなっています。少なくと も手元にある範囲(bccwin32,mingw32,mswin32)ではすべてダメです。 以下のパッチでmingw32は通るようになりますが、他の環境はリンク で__exp__D()が見つからなくてやはりダメです。というか、 __exp__D()で検索すると[ruby-list:37745]くらいしか出てこないんで すが。
Index: missing/crypt.c =================================================================== RCS file: /cvs/ruby/src/ruby/missing/crypt.c,v retrieving revision 1.2 diff -U2 -p -r1.2 crypt.c --- missing/crypt.c 1 Jul 2005 03:24:49 -0000 1.2 +++ missing/crypt.c 1 Jul 2005 05:14:41 -0000 @@ -35,7 +35,15 @@ static char sccsid[] = "@(#)crypt.c 8.1 #endif /* LIBC_SCCS and not lint */ +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif #include <limits.h> +#ifdef HAVE_PWD_H #include <pwd.h> +#endif +#include <stdio.h> +#ifndef _PASSWORD_EFMT1 +#define _PASSWORD_EFMT1 '_' +#endif /* Index: missing/erf.c =================================================================== RCS file: /cvs/ruby/src/ruby/missing/erf.c,v retrieving revision 1.2 diff -U2 -p -r1.2 erf.c --- missing/erf.c 1 Jul 2005 03:24:49 -0000 1.2 +++ missing/erf.c 1 Jul 2005 05:14:41 -0000 @@ -149,4 +149,8 @@ static char sccsid[] = "@(#)erf.c 8.1 (B #endif +#include <stdio.h> +#include "config.h" +#include "defines.h" + #ifdef _IEEE_LIBM /*
-- --- 僕の前にBugはない。 --- 僕の後ろにBugはできる。 中田 伸悦