Changeset 803
- Timestamp:
- 11/28/08 08:06:00 (7 months ago)
- Files:
-
- trunk/ext/rubymain.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ext/rubymain.cpp
r802 r803 464 464 static VALUE t_invoke_popen (VALUE self, VALUE cmd) 465 465 { 466 int len = RARRAY_LEN(cmd); 466 // 1.8.7+ 467 #ifdef RARRAY_LEN 468 int len = RARRAY_LEN(cmd); 469 #else 470 int len = RARRAY (cmd)->len; 471 #endif 467 472 if (len > 98) 468 473 rb_raise (rb_eRuntimeError, "too many arguments to popen");
