Package: netsed / 1.2-3

ruby_issues.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Ruby interpreter complains.
 During builds against glibc version 2.23, an error report mentioned
 that implicit conversion of nil to an empty string is not automatic.
Author: Mats Erik Andersson <mats.andersson@gisladisker.se>
Forwarded: no
Last-Update: 2016-06-18

diff -Naurp netsed-1.2.orig/test/test_helper.rb netsed-1.2/test/test_helper.rb
--- netsed-1.2.orig/test/test_helper.rb	2013-10-13 17:08:07.000000000 +0200
+++ netsed-1.2/test/test_helper.rb	2016-06-18 11:27:18.990947997 +0200
@@ -47,7 +47,7 @@ class NetsedRun
     # waiting for netsed to listen
     begin
       line = @pipe.gets
-      @data << line
+      @data << line.to_s
     end until line =~ /^\[\+\] Listening on port/
   end