kubo (Takehiro Kubo)
- Login: kubo
- Email: kubo@jiubao.org
- Registered on: 12/28/2008
- Last sign in: 01/12/2022
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 1 | 8 | 9 |
Activity
01/13/2022
-
09:53 AM Ruby Bug #18472: rb_w32_map_errno is not found on Ruby-3.1.0
- The error itself was fixed by https://github.com/treasure-data/serverengine/pull/116#issuecomment-1011931598.
There is another error in serverengine using ruby 3.1 but it is unrelated to this issue.
01/12/2022
-
09:57 AM Ruby Bug #18472: rb_w32_map_errno is not found on Ruby-3.1.0
- It is because of a change in rubyinstaller-3.1.0-x64.
In https://rubyinstaller.org/2021/12/31/rubyinstaller-3.1.0-1-released.html:
> RubyInstaller-3.1.0-x64 has a changed C-runtime called UCRT replacing the old MSVCRT.
I guess tha...
12/15/2017
-
12:29 PM Ruby Feature #14177: PATCH: File::Stat#dev on Windows
- > I'm curious why/how do you use rdev/ino on Windows.
I don't have actual plan to use rdev/ino. Just curious about it.
> ...
If I don't misread it, does it means that rdev/ino read in a process
may be different from that in anothe...
12/13/2017
-
11:21 PM Ruby Feature #14177 (Open): PATCH: File::Stat#dev on Windows
- Two files are identical when pairs of File::Stat#dev and File::Stat#ino
are same on unix. However when a volume (disk partition) is mounted on
a directory they may not identical even when the pairs are same on Windows
because File::St...
12/12/2017
-
12:22 PM Ruby Feature #14169 (Closed): PATCH: File.lstat(filename).ino on Windows.
- On Unix, the return values of File.stat(filename) and File.lstat(filename)
are same when the file isn't a symbolic link. However they are different
on Windows. File.lstat(filename).ino is always zero. The attached patch
fixes File.lst... -
11:16 AM Ruby Feature #13731: inode for Windows on ReFS
- ReFS と NTFS 上での `File.stat(filename).ino` の値と、GetFileInformationByHandleEx()を使って得た FILE_ID_128 の値が一致することを確認しました。コンパイル時の以下の warning 以外は問題なしです。
~~~
compiling win32/win32.c
win32/win32.c: In function 'get_ino':
win32/win32.c:5445:11: ...
12/11/2017
-
12:53 PM Ruby Bug #14165: 61096 - support 128bit ino on Windows (if available) - MinGW Problems - compile & fiddle / libffi
- How about the attached patch?
It doesn't define SIZEOF_STRUCT_STAT_ST_INO in include/x64-mingw32/ruby/config.h if target_os is mingw32.
Apply the patch and create configure by autoconf.
Sorry, I have not tested it.
-
11:26 AM Ruby Feature #13731: inode for Windows on ReFS
- 対応ありがとうございます。ReFSでの動作テストは明日行います。
stati128_handle() の以下の部分
~~~
st->st_ino = *((unsigned __int64 *)&fii);
st->st_inohigh = *((__int64 *)&fii + 1);
~~~
`&ffi` は `&ffi.FileId` の間違いでしょうか?
12/07/2017
-
11:37 AM Ruby Feature #13731: inode for Windows on ReFS
- 2.5 に入らないかもしれないとのこと、了解です。
ついでですが、ReFSボリュームを作ってファイルを2つ作成し、FILE_ID_INFO の128ビットの値と nFileIndexHigh/Low の64ビットの値を取得してみました。
FILE_ID_INFOの値をリトルエンディアン128ビット整数として表記すると、以下の値が取れました。(32ビット毎にアンダースコアを付与)
* 0x00000000_00000001_00000000_000006...
12/06/2017
-
11:38 AM Ruby Feature #13726: PATCH: Windows builds - fractional second file times
- @larskanis Thank you! I worried needlessly.