FreeBSD Bugzilla – Attachment 91153 Details for
Bug 128450
[PATCH] shells/zsh: mount completion fixes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
zsh-4.3.6_7.patch
zsh-4.3.6_7.patch (text/plain), 5.49 KB, created by
Sean Farley
on 2008-10-29 00:10:01 UTC
(
hide
)
Description:
zsh-4.3.6_7.patch
Filename:
MIME Type:
Creator:
Sean Farley
Created:
2008-10-29 00:10:01 UTC
Size:
5.49 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/shells/zsh.orig/files/patch-Completion-Unix-Command-_mount /usr/ports/shells/zsh/files/patch-Completion-Unix-Command-_mount >--- /usr/ports/shells/zsh.orig/files/patch-Completion-Unix-Command-_mount 2007-08-21 19:06:30.769116000 -0500 >+++ /usr/ports/shells/zsh/files/patch-Completion-Unix-Command-_mount 2008-10-28 18:22:46.986080000 -0500 >@@ -1,13 +1,105 @@ >---- Completion/Unix/Command/_mount.orig 2006-05-28 13:46:56.000000000 -0500 >-+++ Completion/Unix/Command/_mount 2007-08-20 21:22:22.000000000 -0500 >-@@ -859,8 +859,8 @@ >+--- Completion/Unix/Command/_mount.orig 2008-01-22 04:13:35.000000000 -0600 >++++ Completion/Unix/Command/_mount 2008-10-28 18:23:46.000000000 -0500 >+@@ -41,10 +41,10 @@ >+ >+ local curcontext="$curcontext" state line expl suf ret=1 >+ local args deffs=iso9660 tmp typeops=-t _nfs_access _fs_nfs _nfs_ufs \ >+-_fs_ufs _fs_efs _fs_iso9660 _fs_cachefs _fs_s5fs _fs_tmpfs _fs_pcfs _fs_hsfs \ >+-_fs_advfs _fs_cdfs _fs_affs _fs_ext2 _fs_fat _fs_ext3 _fs_msdos _fs_umsdos \ >+-_fs_vfat _fs_hpfs _fs_ntfs _fs_reiserfs _fs_smbfs _fs_xfs _fs_std _fs_devfs \ >+-_fs_fdesc _fs_kernfs _fs_linprocfs _fs_procfs >++_fs_ufs _fs_efs _fs_cd9660 _fs_iso9660 _fs_cachefs _fs_s5fs _fs_tmpfs _fs_pcfs \ >++_fs_hsfs _fs_advfs _fs_cdfs _fs_affs _fs_ext2 _fs_fat _fs_ext3 _fs_msdos \ >++_fs_msdosfs _fs_umsdos _fs_vfat _fs_hpfs _fs_ntfs _fs_reiserfs _fs_smbfs \ >++_fs_xfs _fs_std _fs_devfs _fs_fdesc _fs_kernfs _fs_linprocfs _fs_procfs >+ >+ typeset -A opt_args >+ >+@@ -527,7 +527,7 @@ >+ 'swidth[specify stripe width]:size' >+ ) >+ ;; >+- *freebsd*|dragonfly*) >++ freebsd*|dragonfly*) >+ _fs_any=( >+ '(sync)async[do all I/O asynchronously]' >+ 'current[use current options on already mounted file system]' >+@@ -548,12 +548,12 @@ >+ 'update[change status of already mounted filesystem]' >+ 'union[cause the namespace at the mount point to appear as the union of the mounted filesystem and the existing directory]' >+ ) >+- _fs_iso9660=( >+- 'extatt[enable use of extended attributes]' >+- "gens[don't strip version number on files]" >+- "joliet[don't use any Joliet extensions]" >+- "rrip[don't use any Rockridge extensions]" >+- 'strictjoliet[relax checking for Supplementary Volume Descriptor Flags field which is set to a wrong value on some Joliet formatted disks]' >++ _fs_cd9660=( >++ 'extatt[enable the use of extended attributes]' >++ 'gens[do not strip version numbers on files]' >++ 'nojoliet[do not use any Joliet extensions]' >++ 'norrip[do not use any Rockridge extensions]' >++ 'nostrictjoliet[relax checking for Supplementary Volume Descriptor Flags field]' >+ ) >+ _fs_std=( >+ "nodev[don't interpret devices]" >+@@ -568,10 +568,13 @@ >+ _fs_linprocfs=( "$_fs_std[@]" ) >+ _fs_procfs=( "$_fs_std[@]" ) >+ _fs_msdos=( >+- 'shortnames[]' >+- 'longnames[]' >+- 'nowin95[]' >++ 'shortnames[force only the old MS-DOS 8.3 style filenames to be visible]' >++ 'longnames[force Windows 95 long filenames to be visible]' >++ 'nowin95[completely ignore Windows 95 extended file information]' >+ ) >++ if [[ "${OSTYPE}" =~ freebsd.* ]]; then >++ _fs_msdosfs=( "$_fs_msdos[@]" ) >++ fi >+ ;; >+ esac >+ fi >+@@ -682,7 +685,7 @@ >+ deffs=hsfs >+ typeops=-F >+ ;; >+- *freebsd*|dragonfly*) >++ freebsd*|dragonfly*) >+ args=( -s >+ '(:)-a[mount all filesystems in fstab]' >+ '-d[cause everything to be done except for the actual system call]' >+@@ -757,7 +760,7 @@ >+ '*:dev or dir:->udevordir' >+ ) >+ ;; >+- *freebsd*|dragonfly*) >++ freebsd*|dragonfly*) >+ args=( >+ '(*)-a[unmount all mounted file systems]' >+ '-A[unmount all mounted file systems except the root]' >+@@ -819,7 +822,7 @@ >+ fi >+ >+ case "$OSTYPE" in >+- *freebsd*|dragonfly*) >++ freebsd*|dragonfly*) >+ while read mline; do >+ case $mline[(w)1] in >+ \#* ) >+@@ -861,8 +864,13 @@ > ;; > *) > /sbin/mount | while read mline; do > - mp_tmp+=( $mline[(w)1] ) > - dev_tmp+=( $mline[(w)3] ) >-+ dev_tmp+=( $mline[(w)1] ) >-+ mp_tmp+=( $mline[(w)3] ) >++ if [[ "$OSTYPE" =~ .*freebsd.* ]]; then >++ dev_tmp+=( $mline[(w)1] ) >++ mp_tmp+=( $mline[(w)3] ) >++ else >++ mp_tmp+=( $mline[(w)1] ) >++ dev_tmp+=( $mline[(w)3] ) >++ fi > done > ;; > esac >diff -ruN --exclude=CVS /usr/ports/shells/zsh.orig/files/patch-Completion-Unix-Types-_file_systems /usr/ports/shells/zsh/files/patch-Completion-Unix-Types-_file_systems >--- /usr/ports/shells/zsh.orig/files/patch-Completion-Unix-Types-_file_systems 1969-12-31 18:00:00.000000000 -0600 >+++ /usr/ports/shells/zsh/files/patch-Completion-Unix-Types-_file_systems 2008-10-28 18:22:46.986080000 -0500 >@@ -0,0 +1,19 @@ >+--- Completion/Unix/Type/_file_systems.orig 2007-09-27 07:00:03.000000000 -0500 >++++ Completion/Unix/Type/_file_systems 2008-10-28 18:23:01.000000000 -0500 >+@@ -17,8 +17,14 @@ >+ osf*) fss=( advfs ufs nfs mfs cdfs ) ;; >+ solaris*) fss=( ufs nfs hsfs s5fs pcfs cachefs tmpfs ) ;; >+ freebsd*|dragonfly*) >+- fss=( cd9660 devfs ext2fs fdesc kernfs linprocfs mfs msdos nfs >+- ntfs null nwfs portal procfs std udf ufs umap union ) >++ if [[ "${OSTYPE}" =~ freebsd.* ]]; then >++ fsext="fs" >++ else >++ fsext="" >++ fi >++ fss=( cd9660 devfs ext2fs fdesc kernfs linprocfs mfs msdos${fsext} nfs >++ ntfs null${fsext} nwfs portal procfs smbfs std udf ufs umap >++ union${fsext} ) >+ ;; >+ darwin*) >+ fss=( afp cd9660 cddafs devfs fdesc hfs lfs msdos nfs
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 128450
: 91153