diff options
author | siena <siena@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-21 16:09:40 +0000 |
---|---|---|
committer | siena <siena@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-21 16:09:40 +0000 |
commit | a065f0e575b2b45eb7dc6709bb06697fea99b1dd (patch) | |
tree | b412040552759e85d53b7542d077ca5786f5a053 /missing | |
parent | 83f7f66588b0ad6fb1dd5189ab4dfd066ecd3488 (diff) | |
download | ruby-a065f0e575b2b45eb7dc6709bb06697fea99b1dd.tar.gz ruby-a065f0e575b2b45eb7dc6709bb06697fea99b1dd.tar.xz ruby-a065f0e575b2b45eb7dc6709bb06697fea99b1dd.zip |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@5532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing')
-rw-r--r-- | missing/os2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/missing/os2.c b/missing/os2.c index 57798ab54..beea824b9 100644 --- a/missing/os2.c +++ b/missing/os2.c @@ -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; |