cvs commit: src/usr.sbin/mixer mixer.8 mixer.c

Ceri Davies ceri at submonkey.net
Wed Apr 13 01:22:56 PDT 2005


On Wed, Apr 13, 2005 at 07:11:54AM +0000, Matthew N. Dodd wrote:
> mdodd       2005-04-13 07:11:54 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     usr.sbin/mixer       mixer.8 mixer.c 
>   Log:
>   Add the -S flag which produces the -s output without
>   mixing field separators.
>   
>   Revision  Changes    Path
>   1.23      +7 -3      src/usr.sbin/mixer/mixer.8
>   1.22      +19 -9     src/usr.sbin/mixer/mixer.c

> | @@ -89,7 +89,7 @@ main(int argc, char *argv[])
> |  {
> |  	int foo, bar, baz, dev;
> |  	int devmask = 0, recmask = 0, recsrc = 0, orecsrc;
> | -	int dusage = 0, drecsrc = 0, shortflag = 0;
> | +	int dusage = 0, drecsrc = 0, shortflag = 0, Shortflag = 0;
> |  	int l = 0, r = 0, t = 0;
> |  	char lstr[5], rstr[5];
> |  	int n = 0, lrel = 0, rrel = 0;

Is it common to do this?  My brain doesn't easily distinguish between
foo.downcase and foo.capitalize (in code at least; in prose it keeps me
up at night) and it doesn't seem that readable.

Ceri
-- 
Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former.			  -- Einstein (attrib.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20050413/864aab8b/attachment.bin


More information about the cvs-src mailing list