summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-08-24 08:55:09 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-08-24 08:55:09 +0000
commit457ca4dc29d9047e7547a02acb73845edce606a3 (patch)
tree38253a6d10ceb2f2f05999c852cfe26ef07a2e23 /win32
parent510ef98b47a85079307e3bdff661cb8360eed23c (diff)
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
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c4
1 files changed, 3 insertions, 1 deletions
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, ...)
{