1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* m17n baseline.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2001-01-10 07:52:46 +00:00
parent 6b5ad7c5b2
commit 81ef4309a2
11 changed files with 809 additions and 30 deletions

13
util.c
View file

@ -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