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
This commit is contained in:
parent
510ef98b47
commit
457ca4dc29
@ -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, ...)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user