zsh-workers
 help / color / mirror / code / Atom feed
* a fix for _chown
@ 2001-07-14  7:05 Akinori MUSHA
  2001-07-17 11:00 ` Oliver Kiddle
  0 siblings, 1 reply; 3+ messages in thread
From: Akinori MUSHA @ 2001-07-14  7:05 UTC (permalink / raw)
  To: zsh-workers

Hello,

The following patch fixes the _chown compdef for *BSD.

Recently FreeBSD 5.0-CURRENT dropped the support for the non-POSIX
notation of the "user.group" style.  Since all the BSD's have chown(1)
that understands the "user:group" style nowadays, I think this is a
reasonable and safe fix for *BSD.

--- _chown.orig Sat Jul 14 15:58:00 2001
+++ _chown      Sat Jul 14 15:58:38 2001
@@ -9,7 +9,7 @@
     fi
     _groups && return 0
   else
-    if [[ $OSTYPE = (solaris*|hpux*) ]]; then
+    if [[ $OSTYPE = (solaris*|hpux*|*bsd*) ]]; then
       suf=':'
     else
       suf='.'


Regards,

-- 
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"Freeze this moment a little bit longer, make each impression
  a little bit stronger..  Experience slips away -- Time stand still"


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-07-17 23:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-14  7:05 a fix for _chown Akinori MUSHA
2001-07-17 11:00 ` Oliver Kiddle
2001-07-17 23:42   ` David Terrell

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).