Bug #7397

Fix detection of RL_PROMPT_*_IGNORE macros

Added by Zachary Scott over 1 year ago. Updated about 1 year ago.

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

Description

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

((mkmf doesn't create HAVEX definitions, so HAVERLPROMPTSTARTIGNORE
and HAVE
RLPROMPTENDIGNORE don't actually get defined by
ext/readline/extconf.rb. Instead, we should detect for
RL
PROMPTSTARTIGNORE and RLPROMPTEND_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 1 year ago

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

History

#1 Updated by Zachary Scott over 1 year ago

  • Category changed from lib to ext

#2 Updated by Usaku NAKAMURA over 1 year ago

  • Status changed from Open to Assigned

#3 Updated by Shugo Maeda about 1 year 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 RLPROMPTSTARTIGNORE and RLPROMPTENDIGNORE directly in readline.c. Patch by Zachary Scott. [Bug #7397]

Also available in: Atom PDF