Page 1 of 1

Re: [Nagios-devel] A idea to speed up access times to service records

Posted: Wed Mar 31, 2004 1:43 am
by Guest
Thanks.
the only problem with doing this is you lose the capability to then do
diffs/work against the CVS version on sf.net, which would make it even
harder to run a modified version of nagios (like I do)

regards
Ian

Andreas Ericsson wrote:
>> I suggest you get a nice .indent.pro (mine is attached) and run it
>> recursively on the nagios code as such;
>> cd nagios
>> for i in `find -type d` ; do indent $i/*.c $i/*.h ; done
>>
>> indent(1) for those who do not know is a GNU program and can be
>> downloaded from http://www.gnu.org
>> It's most likely available as prepackaged binaries for your system.
>>
>
> Forgot the file.
>
>>>
>>> Regards
>>> Ian.
>>>
>>> --
>>> Ian Holsman
>>> blog: http://blog.holsman.net
>>> PH: 03-9857-3742 (oz)
>>
>>
>>
>
>
> ------------------------------------------------------------------------
>
> --use-tabs
> --tab-size 4
> --indent-level 4
> --blank-lines-after-declarations
> --blank-lines-after-procedures
> --blank-lines-before-block-comments
> --braces-on-if-line
> --cuddle-do-while
> --dont-break-procedure-type
> --line-length 85
> --no-blank-lines-after-commas
> --no-blank-lines-after-declarations
> --no-space-after-for
> --dont-break-procedure-type
> --continue-at-parentheses
> --leave-preprocessor-space
> --no-blank-lines-after-commas
> --dont-break-function-decl-args
> --no-comment-delimiters-on-blank-lines
> --dont-break-procedure-type
> --no-space-after-casts
> --no-space-after-function-call-names
> --no-space-after-parentheses
> --no-space-after-for
> --no-space-after-if
> --no-space-after-while
> --swallow-optional-blank-lines
> --struct-brace-indentation 0
> --braces-on-struct-decl-line
> -ppi 2






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]