From cbd52eae5381542862f5dae29f4d0fd0fdc36541 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 12 Jan 2005 10:31:54 +0000 Subject: 20692: unset POSIXLY_CORRECT in test. unposted: minor comment change in _perforce --- ChangeLog | 8 ++++++++ Completion/Unix/Command/_perforce | 4 ++++ Test/ztst.zsh | 3 +++ 3 files changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index e6ec9287f..ff60c8fa5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2005-01-12 Peter Stephenson + + * unposted: Completion/Unix/Command/_perforce: minor comment + change. + + * 20692: Test/ztst.zsh: having POSIXLY_CORRECT set makes + GNU tail report warning with -. + 2004-01-11 Clint Adams * 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 -". +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 ) -- cgit 1.4.1