--Boundary-00MNI/tmUqySQV+P
Content-Type: text/plain;
  charsets-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,
The attached patch fixes Bug 1058. Please note that 
on 64bit architecture applies:

	sizeof(0)@	sizeof(NULL)Best regards, 

Markus
--Boundary-00MNI/tmUqySQV+P
Content-Type: text/x-diff;
  charsets-ascii";
  namea64-fix.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="ia64-fix.patch"

diff -r -Nup ruby/ext/etc/etc.c ruby.ia64-fix/ext/etc/etc.c
--- ruby/ext/etc/etc.c	2000-05-24 06:34:14.000000000 +0200
+++ ruby.ia64-fix/ext/etc/etc.c	2003-07-24 19:44:56.000000000 +0200
@@ -266,11 +266,11 @@ Init_etc()
 #ifdef PW_EXPIRE
 				"expire",
 #endif
-				0);
+				NULL);
     rb_global_variable(&sPasswd);
 
 #ifdef HAVE_GETGRENT
-    sGroup  b_struct_define("Group", "name", "passwd", "gid", "mem", 0);
+    sGroup  b_struct_define("Group", "name", "passwd", "gid", "mem", NULL);
     rb_global_variable(&sGroup);
 #endif
 }
diff -r -Nup ruby/time.c ruby.ia64-fix/time.c
--- ruby/time.c	2003-02-04 07:52:30.000000000 +0100
+++ ruby.ia64-fix/time.c	2003-07-24 19:46:32.000000000 +0200
@@ -1188,7 +1188,7 @@ Init_Time()
     rb_define_method(rb_cTime, "strftime", time_strftime, 1);
 
 #if defined(HAVE_TIMES) || defined(NT)
-    S_Tms  b_struct_define("Tms", "utime", "stime", "cutime", "cstime", 0);
+    S_Tms  b_struct_define("Tms", "utime", "stime", "cutime", "cstime", NULL);
 #endif
 
     /* methods for marshaling */

--Boundary-00MNI/tmUqySQV+P--