From 457ca4dc29d9047e7547a02acb73845edce606a3 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 24 Aug 2015 08:55:09 +0000 Subject: win32.c: licenses * win32/win32.c (rb_w32_wreadlink, rb_w32_wopen): add missing licenses. [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/win32.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'win32') diff --git a/win32/win32.c b/win32/win32.c index 4576a47aff..ae99612cb1 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -4724,7 +4724,7 @@ reparse_symlink(const WCHAR *path, reparse_buffer_t *rp) e = map_errno(GetLastError()); } else if (rp->ReparseTag != IO_REPARSE_TAG_SYMLINK && - rp->ReparseTag != IO_REPARSE_TAG_MOUNT_POINT){ + rp->ReparseTag != IO_REPARSE_TAG_MOUNT_POINT) { e = EINVAL; } CloseHandle(f); @@ -4739,6 +4739,7 @@ rb_w32_reparse_symlink_p(const WCHAR *path) return reparse_symlink(path, &rp) == 0; } +/* License: Ruby's */ ssize_t rb_w32_wreadlink(const WCHAR *path, WCHAR *buf, size_t bufsize) { @@ -5876,6 +5877,7 @@ rb_w32_open(const char *file, int oflag, ...) return ret; } +/* License: Ruby's */ int rb_w32_wopen(const WCHAR *file, int oflag, ...) { -- cgit v1.2.3