Bug #7397

Fix detection of RL_PROMPT_*_IGNORE macros

Added by Zachary Scott over 2 years ago. Updated about 2 years ago.

[ruby-core:49561]
Status:Closed
Priority:Normal
Assignee:Kouji Takao
ruby -v:2.0.0 Backport:

Description

=begin
from github: https://github.com/ruby/ruby/pull/202

((mkmf doesn't create HAVE_X definitions, so HAVE_RL_PROMPT_START_IGNORE
and HAVE_RL_PROMPT_END_IGNORE don't actually get defined by
ext/readline/extconf.rb. Instead, we should detect for
RL_PROMPT_START_IGNORE and RL_PROMPT_END_IGNORE directly.
))
=end

readline_prompt_ignore_macros.patch Magnifier (1.78 KB) Zachary Scott, 11/19/2012 12:56 PM

Associated revisions

Revision 39002
Added by Shugo Maeda about 2 years ago

  • ext/readline/extconf.rb, ext/readline/readline.c: check RL_PROMPT_START_IGNORE and RL_PROMPT_END_IGNORE directly in readline.c. Patch by Zachary Scott. [Bug #7397]

Revision 39002
Added by Shugo Maeda about 2 years ago

  • ext/readline/extconf.rb, ext/readline/readline.c: check RL_PROMPT_START_IGNORE and RL_PROMPT_END_IGNORE directly in readline.c. Patch by Zachary Scott. [Bug #7397]

History

#1 Updated by Zachary Scott over 2 years ago

  • Category changed from lib to ext

#2 Updated by Usaku NAKAMURA over 2 years ago

  • Status changed from Open to Assigned

#3 Updated by Shugo Maeda about 2 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r39002.
Zachary, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • ext/readline/extconf.rb, ext/readline/readline.c: check RL_PROMPT_START_IGNORE and RL_PROMPT_END_IGNORE directly in readline.c. Patch by Zachary Scott. [Bug #7397]

Also available in: Atom PDF