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

updated bogofilter (1.2.4 -> 1.2.5)
author Hans-G?nter Theisgen
date Fri Jun 19 14:26:31 2020 +0100 (2020-06-19)
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