diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-01-10 07:52:46 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-01-10 07:52:46 +0000 |
commit | 81ef4309a244b78223832895d714fcaec85ed5bf (patch) | |
tree | 3bcca74b927794c08e837af5bf28efe1edb54e03 /util.c | |
parent | 6b5ad7c5b203b7ffa8b86b1d0b9b15df56a90a27 (diff) |
* m17n baseline.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -78,19 +78,6 @@ int *retlen; #include "missing/file.h" #endif -static char * -check_dir(dir) - char *dir; -{ - struct stat st; - - if (dir == NULL) return NULL; - if (stat(dir, &st) < 0) return NULL; - if (!S_ISDIR(st.st_mode)) return NULL; - if (eaccess(dir, W_OK) < 0) return NULL; - return dir; -} - #if defined(MSDOS) || defined(__CYGWIN32__) || defined(NT) /* * Copyright (c) 1993, Intergraph Corporation |