summaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-01-10 07:52:46 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-01-10 07:52:46 +0000
commitfedb85026930ab0d3c1c50c87df224a3b317d8b1 (patch)
tree3bcca74b927794c08e837af5bf28efe1edb54e03 /util.c
parent10293da38b896ec2a2d360be7940e7c325ac379c (diff)
downloadruby-fedb85026930ab0d3c1c50c87df224a3b317d8b1.tar.gz
ruby-fedb85026930ab0d3c1c50c87df224a3b317d8b1.tar.xz
ruby-fedb85026930ab0d3c1c50c87df224a3b317d8b1.zip
* m17n baseline.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'util.c')
-rw-r--r--util.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/util.c b/util.c
index 25c00ae2d..46fcf0ba7 100644
--- a/util.c
+++ b/util.c
@@ -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