Bug 130394

Summary: in check-files script diff -d is not support on solaris
Product: [Fedora] Fedora Reporter: Mark Hatle <mhatle>
Component: rpmAssignee: Paul Nasrat <nobody+pnasrat>
Status: CLOSED UPSTREAM QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: nobody+pnasrat
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-20 23:02:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Fix and optimization to check-files none

Description Mark Hatle 2004-08-19 22:08:49 UTC
The "-d" option to diff is not supported on solaris, so the
check-files script fails.

In the GNU diff man page it lists "-d" as:

       -d     Change the algorithm to perhaps find a smaller set of
changes.
              This makes diff slower (sometimes much slower).

removing the "-d" option should be an appropriate fix.

Comment 1 Mark Hatle 2004-08-19 22:25:44 UTC
Created attachment 102904 [details]
Fix and optimization to check-files

This is a patch talked about with arekm on IRC.  This fixes the problem and
optimizes the behavior slightly.

Comment 2 Jeff Johnson 2006-02-20 23:02:55 UTC
Fixed in cvs, should be in rpm-4.4.5-0.14 when built.