wok-next view zonecheck/stuff/patches/94_yaml1_676173_fix.patch @ rev 21276

try to build gens-gs again
author Hans-G?nter Theisgen
date Sat Dec 07 15:51:18 2019 +0100 (2019-12-07)
parents
children
line source
1 Description: Proper YAML syntax error exception handling for Ruby 1.9
2 The default YAML engine does not have a ParseError exception, but a SyntaxError one.
3 Author: Antonio Terceiro <terceiro@debian.org>
4 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676173
6 ---
8 --- zonecheck-3.0.3.orig/test/rootserver.rb
9 +++ zonecheck-3.0.3/test/rootserver.rb
10 @@ -82,7 +82,7 @@ module CheckNetworkAddress
11 if f = $rootserver_hintfile
12 begin
13 rootserver = RootServerList.from_hintfile(f)
14 - rescue YAML::ParseError,SystemCallError => e
15 + rescue YAML::SyntaxError,SystemCallError => e
16 Dbg.msg(DBG::CONFIG,
17 "Unable to read/parse rootserver hint file (#{e})")
18 end