svn commit: r298537 - head/etc/rc.d

Jan Beich jbeich at vfemail.net
Sun Apr 24 17:01:46 UTC 2016


Jens Schweikhardt <schweikh at FreeBSD.org> writes:

>              - parenthesize the "case" string for symmetry and improved
>                search for matching paren (e.g. with vi's %)
[...]
>  		case "${state}" in
> -		[oO][nN])
> +		([oO][nN])
>  			swapon /dev/zvol/${name}
>  			;;

For style consistency is more important. Why this case is special unlike
the rest of rc.d/* or rc.subr ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 602 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20160424/d7d387c2/attachment.sig>


More information about the svn-src-head mailing list