about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-03-23 10:32:43 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-03-23 10:32:43 +0000
commitdda348832d32a0013138e0f1bd6a14c7ad64047a (patch)
tree2fa53ca4df0899fabd07ae6000a52302113f1f49
parent417c52e24304a97dce8fccf9e488daf937f73500 (diff)
downloadzsh-dda348832d32a0013138e0f1bd6a14c7ad64047a.tar.gz
zsh-dda348832d32a0013138e0f1bd6a14c7ad64047a.tar.xz
zsh-dda348832d32a0013138e0f1bd6a14c7ad64047a.zip
19661: Support diff -u for Solaris 2.10 upwards
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Type/_diff_options2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4e232504e..b6be67a3b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-23  Peter Stephenson  <pws@csr.com>
+
+	* 19661: Danek Duvall: Completion/Unix/Type/_diff_options:
+	support diff -u on Solaris from 2.10 up.
+
 2004-03-22  Clint Adams  <clint@zsh.org>
 
 	* 19673: Peter Palfrader: Completion/Unix/Command/_cvs:
diff --git a/Completion/Unix/Type/_diff_options b/Completion/Unix/Type/_diff_options
index 643868f20..34017d3d1 100644
--- a/Completion/Unix/Type/_diff_options
+++ b/Completion/Unix/Type/_diff_options
@@ -103,7 +103,7 @@ if _pick_variant -c $cmd gnu=GNU unix -v; then
     "$@"
 else
   case $OSTYPE in
-    solaris2.9)
+    solaris2.<9->)
       args=( '(-c -e -f -C)-u[output a unified diff]' )
     ;&
     solaris*)