src/sys/vfs ANSIfication

Chris Pressey cpressey at catseye.mine.nu
Sun Mar 28 01:15:22 PST 2004


On Sun, 28 Mar 2004 00:46:48 -0800 (PST)
Matthew Dillon <dillon at xxxxxxxxxxxxxxxxxxxx> wrote:

> :http://catseye.webhop.net/DragonFlyBSD/patch/style/style.9.diff
> 
>     Looks good, commit it!

Done.

>     Oh, I don't know if this is described anywhere but multi-line
>     function call continuation looks a bit different:
> 
>     if (...) {
> 	    if (...) {
> 		    some_big_function_name(asdfkl, aslkf23, asdf234, 
> 					    blahblahblah, blah blah, blah,
> 					    blah, blah, blah, blah);
> 		
> 	    }
>     }
> 
>     The alignment of continued arguments is typically (but not always)
>     the first tab-8 or indent-4 stop after the open paren of the
>     original function call.  It depends on how much room remains, of
>     course. Sometimes it just looks too ugly and the programmer will
>     set it back some.

Sounds good, I'll include it in the next pass, if you don't beat me to
it, as I've got to be going to sleep now, good night :)

-Chris





More information about the Submit mailing list