about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--Completion/Unix/Command/_perforce4
-rwxr-xr-xTest/ztst.zsh3
3 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e6ec9287f..ff60c8fa5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2005-01-12  Peter Stephenson  <pws@csr.com>
+
+	* unposted: Completion/Unix/Command/_perforce: minor comment
+	change.
+
+	* 20692: Test/ztst.zsh: having POSIXLY_CORRECT set makes
+	GNU tail report warning with -<NUM>.
+
 2004-01-11  Clint Adams  <clint@zsh.org>
 
 	* unposted: config.guess, config.sub: update to 2004-11-12 and
diff --git a/Completion/Unix/Command/_perforce b/Completion/Unix/Command/_perforce
index 67aafdb4a..3455d0cf9 100644
--- a/Completion/Unix/Command/_perforce
+++ b/Completion/Unix/Command/_perforce
@@ -1830,6 +1830,10 @@ _perforce_cmd_obliterate() {
 
 (( $+functions[_perforce_cmd_opened] )) ||
 _perforce_cmd_opened() {
+  # You might think you could check for files opened on another
+  # client, and hence the -c completion should have the argument
+  # -tp, but currently Perforce doesn't allow that, so -tc is correct.
+  # This is true even if -a is also given.
   _arguments -s : \
     '-a[list for all clients]' \
     '-c+[select by change]:change:_perforce_changes -tc' \
diff --git a/Test/ztst.zsh b/Test/ztst.zsh
index a110c401c..3e6246958 100755
--- a/Test/ztst.zsh
+++ b/Test/ztst.zsh
@@ -28,6 +28,9 @@ emulate -R zsh
 [[ -n $LC_COLLATE ]] && LC_COLLATE=C
 [[ -n $LANG ]] && LANG=C
 
+# POSIXLY_CORRECT can cause spurious error messages with "tail -<num>".
+unset POSIXLY_CORRECT
+
 # Set the module load path to correspond to this build of zsh.
 # This Modules directory should have been created by "make check".
 [[ -d Modules/zsh ]] && module_path=( $PWD/Modules )