“Yura” yura@opmr.com wrote in message:
Thanks, this one compiles, but it is 1.6.8 and I wanted 1.8.0
Sorry Yura, I’ve mailed ruby-1.8.0-2003.05.15.zip to you because
I’ve blanked on where I d/l’d it from.
daz
“Yura” yura@opmr.com wrote in message:
Thanks, this one compiles, but it is 1.6.8 and I wanted 1.8.0
Sorry Yura, I’ve mailed ruby-1.8.0-2003.05.15.zip to you because
I’ve blanked on where I d/l’d it from.
daz
Hi,
At Sun, 8 Jun 2003 16:42:25 +0900, Yura wrote:
CVS is probably magical enough to allow that, or there’s
ftp://ftp.ruby-lang.org/pub/ruby/stable-snapshot.tar.gz
(circa 30 May)
Thanks, this one compiles, but it is 1.6.8 and I wanted 1.8.0
ftp://ftp.ruby-lang.org/pub/ruby/snapshot.tar.gz
–
Nobu Nakada
nobu.nokada@softhome.net wrote in message:
OP needed a revision before last Friday’s additions …
Fri Jun 6 18:49:11 2003 Yukihiro Matsumoto matz@ruby-lang.org
* process.c (proc_setgroups): new functions.
</>
… so nightly_snapshot was too recent.
daz
Hi,
At Sun, 8 Jun 2003 20:35:29 +0900, daz wrote:
OP needed a revision before last Friday’s additions …
Fri Jun 6 18:49:11 2003 Yukihiro Matsumoto* process.c (proc_setgroups): new functions.
</>
… so nightly_snapshot was too recent.
Try this patch.
RCS file: /cvs/ruby/src/ruby/process.c,v
retrieving revision 1.69
diff -u -2 -p -r1.69 process.c
— process.c 7 Jun 2003 15:33:41 -0000 1.69
+++ process.c 8 Jun 2003 11:46:41 -0000
@@ -46,5 +46,7 @@ struct timeval rb_time_interval _((VALUE
#endif
+#ifdef HAVE_GETGROUPS
#include <grp.h>
+#endif
#if defined(HAVE_TIMES) || defined(_WIN32)
@@ -1228,4 +1230,5 @@ static VALUE
proc_getgroups(VALUE obj)
{
+#ifdef HAVE_GETGROUPS
VALUE ary;
size_t ngroups = 32;
@@ -1244,4 +1247,8 @@ proc_getgroups(VALUE obj)
return ary;
+#else
@@ -1249,4 +1256,5 @@ static VALUE
proc_setgroups(VALUE obj, VALUE ary)
{
+#ifdef HAVE_GETGROUPS
size_t ngroups;
gid_t *groups;
@@ -1285,4 +1293,8 @@ proc_setgroups(VALUE obj, VALUE ary)
return proc_getgroups(obj);
+#else
–
Nobu Nakada
Try this patch.
[snip diff]
–
Nobu Nakada
He’ll need a patch command, first.
Thread.sort
GNU utilities for Win32
http://unxutils.sourceforge.net/UnxUtils.zip
(http://unxutils.sourceforge.net/)
HTML documentation (other formats available from this site)
http://www.delorie.com/gnu/docs/diffutils/diffutils-html.tgz
daz
nobu.nokada@softhome.net wrote:
Hi,
He’ll need a patch command, first.
Thread.sort
Exactly.
GNU utilities for Win32
http://unxutils.sourceforge.net/UnxUtils.zip
(http://unxutils.sourceforge.net/)HTML documentation (other formats available from this site)
http://www.delorie.com/gnu/docs/diffutils/diffutils-html.tgz
Thank you.
At Sun, 8 Jun 2003 21:35:44 +0900, daz wrote:
–
Nobu Nakada
From: daz [mailto:dooby@d10.karoo.co.uk]
Sent: June 8, 2003 08:36Try this patch.
Thanks Nobu, it did the trick.
He’ll need a patch command, first.
Thread.sortGNU utilities for Win32
http://unxutils.sourceforge.net/UnxUtils.zip
(http://unxutils.sourceforge.net/)
Thanks daz, I have UnxUtils. I also needed byacc from GnuWin32 to build
ruby.
Yura.
-----Original Message-----
nobu.nokada@softhome.net wrote: