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

ruby-changes:24856

From: nobu <ko1@a...>
Date: Wed, 5 Sep 2012 14:29:53 +0900 (JST)
Subject: [ruby-changes:24856] nobu:r36906 (trunk): file.c: no longer used functions

nobu	2012-09-05 14:29:37 +0900 (Wed, 05 Sep 2012)

  New Revision: 36906

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

  Log:
    file.c: no longer used functions
    
    * file.c (getcwdofdrv, append_fspath): no longer used except for
      cygwin.

  Modified files:
    trunk/file.c

Index: file.c
===================================================================
--- file.c	(revision 36905)
+++ file.c	(revision 36906)
@@ -2629,6 +2629,7 @@
     }
 }
 
+#ifndef _WIN32
 static char*
 getcwdofdrv(int drv)
 {
@@ -2655,6 +2656,7 @@
     }
     return drvcwd;
 }
+#endif
 
 static inline int
 not_same_drive(VALUE path, int drive)
@@ -2857,6 +2859,7 @@
     return result;
 }
 
+#ifndef _WIN32
 static char *
 append_fspath(VALUE result, VALUE fname, char *dir, rb_encoding **enc, rb_encoding *fsenc)
 {
@@ -2882,7 +2885,6 @@
     return buf + dirlen;
 }
 
-#ifndef _WIN32
 VALUE
 rb_file_expand_path_internal(VALUE fname, VALUE dname, int abs_mode, int long_name, VALUE result)
 {

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

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