Remove CharNext from eval_intern.h
ruby_push_include was its last user. A path separator never appears inside a multibyte character, so walk RUBYLIB and -I by bytes everywhere
ruby_push_include was its last user. A path separator never appears inside a multibyte character, so walk RUBYLIB and -I by bytes everywhere
RUBYLIB and -I are UTF-8 on Windows, but ruby_push_include walked them with CharNext in the ANSI code page. With a DBCS code page such as 93
… Windows The dln_find.c object built on its own receives UTF-8 command names from process.c, but scanned them with CharNext in the ANSI co
はじめに 突然インターネットが繋がらなくなった!と思ったら、銀行口座残高が足りず引き落としできていなかった。 支払い前に色々疑って設定をかなり変えて、設定後に起きた話。 インフラの知識はあまりなく、すでに完成されたAWSのインフラに対してログ見たりLambda編集したり...
The polling loop restored every socket into the sets before checking the deadline, so a timed-out select returned them all as ready. When I
The polling loop saved and restored the sets through fixed fd_set buffers, which hold only FD_SETSIZE (64) sockets. From the second poll on
When FD_SETSIZE (64) or more sockets were ready, copy_fd stopped there and a ready pipe or other non-socket handle was left out of the resul
Nothing in them has used <fcntl.h> or the L_* and *_OK macros since 9afa9ba967 split dln_find.c out and f9e9eee677 removed ruby_add_su
Neither mswin nor mingw defines HAVE_GETGROUPS, so the remaining condition already covers Windows. Co-Authored-By: Claude Opus 5.5 <noreply
include/ruby/win32.h already maps stat, lstat, access, truncate, utimensat, unlink, rename and getenv to the same rb_w32_* functions when co
It has been `#if 0` since 04e95f8985 disabled it to avoid infinite recursion at loading transcoder. Co-Authored-By: Claude Opus 5.5 <norepl
Fix typos in guides [ci skip]
…n given Timeout.timeout in Ruby 2.3 takes at most two arguments, so EnvUtil.timeout always raised ArgumentError there. EnvUtil.terminate r
capa does not include the terminator, so when a buffer moves between strings with different terminator lengths the capacity has to be conver
Skip extension member tables, enum types and schemas in the Ruby schema dump
…ma dump Tables, enum types and schemas created by `CREATE EXTENSION`, such as the `spatial_ref_sys` table of PostGIS, the `part_config` ta
はじめに 2026年9月25日、Microsoft から「新しい Copilot」が発表されました。Copilot アプリそのものの形が変わる大きな発表で、あわせて料金体系も「ユーザー単位のライセンス」と「利用量に応じた課金」の2本立てに整理されています。 発表の内容自体...
An inlined `leave` is just a `Jump` to the caller's continuation block, not a real return no frame pops there, so checking interrupts is
We are not going to optimized switch-based dispatch with the hash table, at least not yet, but we should let the interpreter profile the exe
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
はじめに 社内システムとLLMをつなごうとすると、モデルへの問い合わせそのものより先に考えたいことがあります。 その文字列を、そのまま外へ渡してよいのか。 たとえば問い合わせ履歴を要約したいとします。本文には相談内容だけでなく、氏名、メールアドレス、電話番号、住所、顧客番...
Makes it consistent with nodes that contain text, like `StringNode` For those, `value` returns the literal. But we can't make it return
はじめに FlutterでiOSアプリを作っていると、Apple固有の新しいAPIを使いたい場面があります。 Foundation Modelsもその一つです。Apple Intelligenceを支えるオンデバイスモデルへ、SwiftのFoundationModelsフ...
Currently, if GC is disabled, postmortem GC is not ran when a Ractor dies. This can cause the object space to have issues because we need to
はじめに 数年前に作ったReact Nativeアプリを久しぶりに開くと、JavaScriptのコードそのものより、周辺環境の変化に戸惑うことがあります。 React Nativeでは0.76からNew Architectureがデフォルトになり、0.82からはNew A...
はじめに あなたの組織では、情報システム部のメンバーへ、全員 グローバル管理者 のロールが永続的に付与されている状況になっているということは無いですか? 管理操作を行うんだから当たり前じゃないか...と思われるかもしれませんが、これには大きなセキュリティリスクが潜んでいる...
はじめに AIから社内データを参照できるようにすると、「未対応のタスクを確認して」「この顧客の状態を調べて」といった自然文から業務データを扱えるようになります。 一方、業務DBへAIをつなぐときに気になるのが権限です。便利だからといって、SQLを自由に実行できる接続をその...
IO#gets first searches for separator candidates by looking for the last byte of the record separator, and then checks whether it is an actua
mswin takes the CPU name from MSVC, as it reports x64 rather than x86_64 on x64. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On Windows, Process.kill raises Errno::ESRCH for a child that has exited but has not been reaped, so terminate returned a stale $? and left
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
On Windows the default case already sets hasalpha for '~' because IS_WIN32 is 1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
include/ruby/win32.h and win32/dir.h have mapped them to the rb_w32_u* functions since 5b98b2ce39. Co-Authored-By: Claude Opus 5.5 <noreply
DOSISH is defined only on _WIN32, which has used USE_NAME_ON_FS_REAL_BASENAME since 45df1c24d2, so this code is never compiled. It even pass
前日夜の最新トレンド記事のAIポッドキャストを毎日朝7時に更新しています。 通勤中などにながら聴きしよう! (Qiita投稿は通勤には間に合わないと思われますが) フィードバックとか助かりますのでください ↓こちらから 出典 許可ルールを settings.json に書...
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
* io: preserve data after read timeout * io: make timeout regression tests robust against small send buffers A synchronous write of the wh
Windows Server 2016 and Windows 10 Enterprise LTSB 2016 reach end of support by January 2027. Version 1809 is the oldest release still suppo
Update the default `NTVER` so that the declarations of APIs introduced in Windows 10 are enabled. `_WIN32_WINNT` has no value for version 18
Ruby on Rails. Contribute to rails/rails development by creating an account on GitHub.
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
Redefining the method warns under RUBYOPT=-w, which CI uses, and the test expects nothing on stderr. Prepending a module leaves the original
On Windows, File.unlink raises Errno::EACCES while another handle still holds the file open. Tempfile#unlink already ignores that, but Final
Building ruby needs `_MSC_VER` 1915 or later, but the generated config.h accepts 1910 and later for such a build, so an extension could stil
It was for Visual C++ 2012 and older, which had no inttypes.h. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every `RBIMPL_COMPILER_SINCE(MSVC, ...)` condition here holds for `_MSC_VER` 1915, the oldest version the headers accept. Co-Authored-By: C
The last use went away in cdb9893c55. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
malloc.h, which win32.h includes, declares it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
Only the Cygwin branch in localeinit.c calls nl_langinfo_codeset, so on mswin the object just added an unused export to the DLL. Co-Authore
MSVC 1915 or later is required and Makefile.sub rejects RT_VER below 140, so the values made for msvcrt and msvcrNN only led to that error.
PROCESSOR_FLAG lost its only definition in cdb9893c55, so ARCH_FLAG has been empty unless given explicitly. Co-Authored-By: Claude Opus 5.5
JRuby on Windows loads its bundled `win32/resolv`, which has no `tcpip_params`, so two of these tests raised NoMethodError there. https://g
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.