From: ysno@ac.auone-net.jp
To: ruby-dev@ruby-lang.org
Subject: [ruby-dev:51025] [Ruby master Bug#17639] TYPO in define constant
Date: Wed, 17 Feb 2021 16:17:09 +0000 (UTC) [thread overview]
Message-ID: <redmine.issue-17639.20210217161709.50278@ruby-lang.org> (raw)
In-Reply-To: <redmine.issue-17639.20210217161709.50278@ruby-lang.org>
Issue #17639 has been reported by YO4 (Yoshinao Muramatsu).
----------------------------------------
Bug #17639: TYPO in define constant
https://bugs.ruby-lang.org/issues/17639
* Author: YO4 (Yoshinao Muramatsu)
* Status: Open
* Priority: Normal
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN
----------------------------------------
ソース内で下記の定義が行われていますが、ENABLE_VIRTUAL_TERMINAL_PROCESSING は正しくは 4 です。
```
#ifndef ENABLE_VIRTUAL_TERMINAL_PROCESSING
#define ENABLE_VIRTUAL_TERMINAL_PROCESSING 0x200
#endif
```
コンパイルした環境のシステムヘッダに依存して挙動が変わる場合がありうるので、バイナリによって挙動が違う困ったことが起こりえます。
パッチは github の master が対象で、ruby.c win32/win32.c の2ファイルを変更しています。
---Files--------------------------------
ENABLE_VIRTUAL_TERMINAL_PROCESSING.diff (1.16 KB)
--
https://bugs.ruby-lang.org/
next parent reply other threads:[~2021-02-17 16:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-17 16:17 ysno [this message]
2021-04-15 0:49 ` [ruby-dev:51052] " nagachika00
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=redmine.issue-17639.20210217161709.50278@ruby-lang.org \
--to=ysno@ac.auone-net.jp \
--cc=ruby-dev@ruby-lang.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).