-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patches against the 5.7 SDK, reported to NTAP
- Loading branch information
Showing
3 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# | ||
# Certain times an empty $flag can make it through, which is noticed under use strict | ||
# This was reported to NTAP and is BURT 1115364. | ||
# | ||
--- lib/perl/NetApp/OntapClusterAPI-old.pm 2017-04-24 04:43:43.000000000 +0000 | ||
+++ lib/perl/NetApp/OntapClusterAPI.pm 2017-09-26 05:02:26.837593834 +0000 | ||
@@ -101229,7 +101229,7 @@ | ||
|
||
sub IsArrayFlag { | ||
my ($self, $flag) = @_; | ||
- return ($flag & FIELD_ARRAY) == FIELD_ARRAY; | ||
+ return $flag ? (($flag & FIELD_ARRAY) == FIELD_ARRAY) : 0; | ||
} | ||
|
||
sub IsEncryptedFlag { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,11 +5,12 @@ | |
Summary: NetApp's SDK for interacting with filers | ||
Name: NetApp-SDK | ||
Version: 5.7 | ||
Release: 1%{?dist} | ||
Release: 2%{?dist} | ||
License: NetApp SDK License Agreement v11-04-14 | ||
Group: Development/Libraries | ||
Source: http://mysupport.netapp.com/NOW/download/software/nmsdk/%{version}/netapp-manageability-sdk-%{version}.zip | ||
Patch0: %{name}-%{version}-perlfix-OCUMAPI.patch | ||
Patch1: %{name}-%{version}-perlfix-OntapClusterAPI.patch | ||
URL: http://support.netapp.com | ||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) | ||
Vendor: Mozilla IT | ||
|
@@ -29,6 +30,7 @@ The NetApp Manageability SDK provides resources to develop applications that mon | |
%prep | ||
%setup -q -n netapp-manageability-sdk-%{version} | ||
%patch0 -p0 | ||
%patch1 -p0 | ||
|
||
%build | ||
|
||
|
@@ -48,7 +50,7 @@ The NetApp Manageability SDK provides resources to develop applications that mon | |
%{perl_vendorlib}/%{name}/* | ||
|
||
%changelog | ||
* Fri Aug 25 2017 Greg Cox <[email protected]> 5.7 | ||
* Fri Sep 26 2017 Greg Cox <[email protected]> 5.7 | ||
- SDK 5.7 | ||
|
||
* Wed Dec 20 2016 Greg Cox <[email protected]> 5.6 | ||
|