DragonFly BSD
DragonFly submit List (threaded) for 2004-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: src/sys/vfs ANSIfication


From: Chris Pressey <cpressey@xxxxxxxxxxxxxxx>
Date: Sun, 28 Mar 2004 01:20:30 -0800

On Sun, 28 Mar 2004 00:46:48 -0800 (PST)
Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]