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

* configure.in: check availability of link(). [ruby-dev:22237]

* file.c (rb_file_s_link): raise an exception when link() is unavailable.
* missing/os2.c (link): removed. File#link isn't supported.
* bcc32/Makefile.sub: define HAVE_LINK to enable link(). [ruby-dev:22241]
* win32/Makefile.sub: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
siena 2004-01-21 16:09:40 +00:00
parent 6ccba894a5
commit 357d0ffc29
6 changed files with 18 additions and 1 deletions

View file

@ -17,11 +17,13 @@ chown(char *path, int owner, int group)
return 0;
}
#if 0
int
link(char *from, char *to)
{
return -1;
}
#endif
typedef char* CHARP;