Project

General

Profile

Backport #7527

Backport fix for test_str_crypt(TestM17NComb) failru (#7312)

Added by vo.x (Vit Ondruch) about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
[ruby-core:50632]

Description

Please backport #7312, since it hits R1.9.3 on Fedora Rawhide as well.

Revisions 37572, 37622, 37766 and 37773

Thank you.

#1

Updated by usa (Usaku NAKAMURA) about 7 years ago

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

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


merge revision(s) 37572,37622,37766,37773: [Backport #7527]

* string.c (rb_str_crypt): crypt(3) may return NULL.
  Latest glibc (2.16?) crypt(3) actually returns NULL. [Bug #7312]

* test/ruby/test_m17n_comb.rb (test_str_crypt): Use RbConfig to get
  libc's directory. Patched by Vit Ondruch [ruby-core:49763] [Bug #7312]

Also available in: Atom PDF