diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-09-05 05:29:37 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-09-05 05:29:37 +0000 |
commit | a1fa2695e1cbb6580357d26e111cc604c6273f3c (patch) | |
tree | 43301676eea96f08b4e4c2cd81452122dd5b0562 /file.c | |
parent | 83185f9181e90979dd698489cefd85514661265e (diff) | |
download | ruby-a1fa2695e1cbb6580357d26e111cc604c6273f3c.tar.gz |
file.c: no longer used functions
* file.c (getcwdofdrv, append_fspath): no longer used except for
cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2629,6 +2629,7 @@ has_drive_letter(const char *buf) } } +#ifndef _WIN32 static char* getcwdofdrv(int drv) { @@ -2655,6 +2656,7 @@ getcwdofdrv(int drv) } return drvcwd; } +#endif static inline int not_same_drive(VALUE path, int drive) @@ -2857,6 +2859,7 @@ rb_home_dir(const char *user, VALUE result) return result; } +#ifndef _WIN32 static char * append_fspath(VALUE result, VALUE fname, char *dir, rb_encoding **enc, rb_encoding *fsenc) { @@ -2882,7 +2885,6 @@ append_fspath(VALUE result, VALUE fname, char *dir, rb_encoding **enc, rb_encodi return buf + dirlen; } -#ifndef _WIN32 VALUE rb_file_expand_path_internal(VALUE fname, VALUE dname, int abs_mode, int long_name, VALUE result) { |