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

:OK, here it is again, sync'ed to the latest style(9) and with some of
:the more extraneous stuff (must be vs. should be vs. are) taken out:
:
:http://catseye.webhop.net/DragonFlyBSD/patch/style/style.9.diff
:
:If this is still too much, I can pare it down even more by taking out
:the explanatory sentences about 'forever' loops etc.
:
:-Chris

    Looks good, commit it!

    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.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



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