Leading space in continuation lines
Ethan Galstad
egalstad at nagios.org
Wed Jun 17 06:19:27 CEST 2009
Holger Weiss wrote:
> * Gerhard Lausser <Gerhard.Lausser at consol.de> [2009-05-02 13:49]:
>> I attached a patch for base/utils.c(mmap_fgets_multiline) (v3.10) which cuts
>> off leading white space from continuation lines.
>
> Of course, this breaks configurations which do stuff like
>
> command_line $USER1$/check_foo one\
> two
>
> and expect to get this parsed with white space between "one" and "two".
> However, this incompatibility is probably negligible, and I guess most
> users would prefer if leading white space was stripped from continuation
> lines.
>
> So, I'd appreciate if the patch was committed. I've attached a version
> of the diff which updates cgi/cgiutils.c:mmap_fgets_multiline(), too,
> and which simplifies the code a bit.
>
> Holger
>
Thanks - patch is in CVS.
- Ethan Galstad
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
More information about the Developers
mailing list