ruby-dev (Japanese) list archive (unofficial mirror)
 help / color / mirror / Atom feed
From: nagachika00@gmail.com
To: ruby-dev@ruby-lang.org
Subject: [ruby-dev:51052] [Ruby master Bug#17639] TYPO in define constant
Date: Thu, 15 Apr 2021 00:49:54 +0000 (UTC)	[thread overview]
Message-ID: <redmine.journal-91546.20210415004952.50278@ruby-lang.org> (raw)
In-Reply-To: <redmine.issue-17639.20210217161709.50278@ruby-lang.org>

Issue #17639 has been updated by nagachika (Tomoyuki Chikanaga).

Backport changed from 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: REQUIRED to 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: DONE

The fix was already backported at 3e67bfe202d6b410375af990ac806f15cb2df762.

----------------------------------------
Bug #17639: TYPO in define constant
https://bugs.ruby-lang.org/issues/17639#change-91546

* Author: YO4 (Yoshinao Muramatsu)
* Status: Closed
* Priority: Normal
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: DONE
----------------------------------------
ソース内で下記の定義が行われていますが、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/

      reply	other threads:[~2021-04-15  0:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-17 16:17 [ruby-dev:51025] " ysno
2021-04-15  0:49 ` nagachika00 [this message]

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.journal-91546.20210415004952.50278@ruby-lang.org \
    --to=nagachika00@gmail.com \
    --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).