[前][次][番号順一覧][スレッド一覧]

ruby-changes:7416

From: nobu <ko1@a...>
Date: Sat, 30 Aug 2008 08:59:52 +0900 (JST)
Subject: [ruby-changes:7416] Ruby:r18935 (trunk): * include/ruby/intern.h (rb_file_s_absolute_path),

nobu	2008-08-30 08:59:32 +0900 (Sat, 30 Aug 2008)

  New Revision: 18935

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18935

  Log:
    * include/ruby/intern.h (rb_file_s_absolute_path),
      (rb_file_absolute_path): prototyped.

  Modified files:
    trunk/ChangeLog
    trunk/file.c
    trunk/include/ruby/intern.h

Index: include/ruby/intern.h
===================================================================
--- include/ruby/intern.h	(revision 18934)
+++ include/ruby/intern.h	(revision 18935)
@@ -319,6 +319,8 @@
 /* file.c */
 VALUE rb_file_s_expand_path(int, VALUE *);
 VALUE rb_file_expand_path(VALUE, VALUE);
+VALUE rb_file_s_absolute_path(int, VALUE *);
+VALUE rb_file_absolute_path(VALUE, VALUE);
 void rb_file_const(const char*, VALUE);
 int rb_find_file_ext(VALUE*, const char* const*);
 VALUE rb_find_file(VALUE);
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 18934)
+++ ChangeLog	(revision 18935)
@@ -1,3 +1,8 @@
+Sat Aug 30 08:59:25 2008  Nobuyoshi Nakada  <nobu@r...>
+
+	* include/ruby/intern.h (rb_file_s_absolute_path),
+	  (rb_file_absolute_path): prototyped.
+
 Sat Aug 30 08:09:36 2008  NARUSE, Yui  <naruse@r...>
 
 	* encoding.c (enc_compatible_p): use TYPE not BUILTIN_TYPE.
@@ -262,7 +267,7 @@
 Wed Aug 27 01:03:23 2008  Tanaka Akira  <akr@f...>
 
 	* include/ruby/encoding.h (rb_econv_result_t): enumeration constant:
-	  econv_incomplete_input. 
+	  econv_incomplete_input.
 
 	* io.c (finish_writeconv): check econv_incomplete_input.
 
@@ -438,7 +443,7 @@
 Mon Aug 25 23:01:17 2008  Yukihiro Matsumoto  <matz@r...>
 
 	* compile.c (defined_expr): default defined? should return
-	  "expression" without evaluating the expression.  [ruby-dev:35967] 
+	  "expression" without evaluating the expression.  [ruby-dev:35967]
 
 Mon Aug 25 22:46:01 2008  Yusuke Endoh  <mame@t...>
 
@@ -869,9 +874,9 @@
 	* complex.c (rb_complex_polar): new.
 
 	* rational.c (nurat_to_s): do not canonicalize.
-	
+
 	* rational.c (nurat_inspect): adopts new form.
-	
+
 	* rational.c (string_to_r_internal): ditto.
 
 	* include/ruby/intern.h: added a declaration.
@@ -1273,7 +1278,7 @@
 
 Tue Aug 19 01:02:19 2008  Tanaka Akira  <akr@f...>
 
-	* io.c (rb_open_file): don't access argv[-1] by 
+	* io.c (rb_open_file): don't access argv[-1] by
 	  File.allocate.instance_eval { initialize }.
 
 Tue Aug 19 00:56:01 2008  Tanaka Akira  <akr@f...>
@@ -1424,10 +1429,10 @@
 	* transcode.c (make_econv_exception): add several instance variables
 	  to exception object.
 	  (ecerr_source_encoding): new method:
-	  Encoding::ConversionUndefined#source_encoding and 
+	  Encoding::ConversionUndefined#source_encoding and
 	  Encoding::InvalidByteSequence#source_encoding.
 	  (ecerr_destination_encoding): new method:
-	  Encoding::ConversionUndefined#destination_encoding and 
+	  Encoding::ConversionUndefined#destination_encoding and
 	  Encoding::InvalidByteSequence#destination_encoding.
 	  (econverr_error_char): new method:
 	  Encoding::ConversionUndefined#error_char.
Index: file.c
===================================================================
--- file.c	(revision 18934)
+++ file.c	(revision 18935)
@@ -2942,9 +2942,7 @@
  */
 
 VALUE
-rb_file_s_absolute_path(argc, argv)
-    int argc;
-    VALUE *argv;
+rb_file_s_absolute_path(int argc, VALUE *argv)
 {
     VALUE fname, dname;
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]