FreeBSD Bugzilla – Attachment 120029 Details for
Bug 162763
[patch] sysutils/zfs-snapshot-mgmt: broken with RUBY_VER=1.9 since 1.9.3-p0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
a.diff
a.diff (text/plain), 944 bytes, created by
Jan Beich
on 2011-11-22 20:20:00 UTC
(
hide
)
Description:
a.diff
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2011-11-22 20:20:00 UTC
Size:
944 bytes
patch
obsolete
>Index: sysutils/zfs-snapshot-mgmt/files/patch-zfs-snapshot-mgmt >=================================================================== >RCS file: /a/.csup/ports/sysutils/zfs-snapshot-mgmt/files/patch-zfs-snapshot-mgmt,v >retrieving revision 1.1 >diff -u -p -r1.1 patch-zfs-snapshot-mgmt >--- sysutils/zfs-snapshot-mgmt/files/patch-zfs-snapshot-mgmt 11 Jan 2010 03:42:14 -0000 1.1 >+++ sysutils/zfs-snapshot-mgmt/files/patch-zfs-snapshot-mgmt 22 Nov 2011 19:52:25 -0000 >@@ -12,3 +12,21 @@ > end > > private >+@@ -175,7 +179,7 @@ private >+ >+ end >+ >+-class Config >++class ZConfig >+ attr_reader :snapshot_prefix, :filesystems, :pools >+ >+ def initialize(value) >+@@ -194,7 +198,7 @@ class Config >+ >+ config_yaml = File.open(CONFIG_FILE_NAME).read(CONFIG_SIZE_MAX) >+ die "Config file too long" if config_yaml.nil? >+-config = Config.new(YAML::load(config_yaml)) >++config = ZConfig.new(YAML::load(config_yaml)) >+ >+ now_minutes = Time.now.to_i / 60 >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 162763
: 120029