A idea to speed up access times to service records
Ian Holsman
lists at holsman.net
Wed Mar 31 11:43:35 CEST 2004
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 SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
More information about the Developers
mailing list