Re: [Nagios-devel] [PATCH] Continuation lines

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] [PATCH] Continuation lines

Post by Guest »

Holger Weiss wrote:
> The attached patch adds support for using continuation lines throughout
> all configuration files: If the last character before a newline is a
> backslash, the backslash will be stripped, and if the second last
> character is not a backslash, the following line will be appended prior
> to parsing.
>
> base/utils.c (and cgi/cgiutils.c) had an mmap_fgets_multiline() function
> already, but the function wasn't used anywhere and it didn't work out of
> the box.
>
> Holger
>

Thanks for the note and patch Holger. I must have forgotten to finish
implementing this in the past. I fixed the bug in the original function
and have posted the fixes to CVS.


Ethan Galstad
Nagios Developer
___
Email: [email protected]
Web: www.nagios.org





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