Bug 73567 - file diff command needs to be updated, -3 option
Summary: file diff command needs to be updated, -3 option
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-26 21:47 UTC by Jon Smirl
Modified: 2004-01-26 22:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Smirl 2004-01-26 21:47:13 UTC
Version:           CVS (using KDE Devel)
Installed from:    Compiled sources

file diff is using option -3 which has been obsoleted in current versions of diff.

[jonsmirl@smirl v86bios]$ diff -3
diff: `-3' option is obsolete; omit it
diff: Try `diff --help' for more information.
[jonsmirl@smirl v86bios]$
Comment 1 Jon Smirl 2004-01-26 21:47:30 UTC
[jonsmirl@smirl v86bios]$ diff -v
diff (GNU diffutils) 2.8.1
Copyright (C) 2002 Free Software Foundation, Inc.
 
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of this program
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
 
Written by Paul Eggert, Mike Haertel, David Hayes,
Richard Stallman, and Len Tower.
[jonsmirl@smirl v86bios]$
Comment 2 Harald Fernengel 2004-01-26 22:15:23 UTC
Subject: kdevelop/parts/diff

CVS commit by harald: 

fix for bug 73567 - do not use -u instead of -u3 since it is obsoleted

CCMAIL: 73567-done@bugs.kde.org


  M +1 -1      diffpart.cpp   1.28


--- kdevelop/parts/diff/diffpart.cpp  #1.27:1.28
@@ -143,5 +143,5 @@ void DiffPart::localDiff()
 
   *proc << "diff";
-  *proc << "-u3" << popupFile.path() << "-";
+  *proc << "-u" << popupFile.path() << "-";
   proc->setWorkingDirectory( popupFile.directory() );