You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by "Thorsten Schöning (JIRA)" <lo...@logging.apache.org> on 2014/02/09 21:02:20 UTC

[jira] [Resolved] (LOGCXX-347) tabs in a properties configuration files are not recognized as white space

     [ https://issues.apache.org/jira/browse/LOGCXX-347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thorsten Schöning resolved LOGCXX-347.
--------------------------------------

    Resolution: Fixed

This already has been fixed in LOGCXX-291.

> tabs in a properties configuration files are not recognized as white space
> --------------------------------------------------------------------------
>
>                 Key: LOGCXX-347
>                 URL: https://issues.apache.org/jira/browse/LOGCXX-347
>             Project: Log4cxx
>          Issue Type: Bug
>          Components: Configurator
>    Affects Versions: 0.10.0
>         Environment: any
>            Reporter: Jean-Denis Muys
>            Assignee: Curt Arnold
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> tabs in a properties configuration file are considered as significant in the same way as letters and digits, instead of being skipped as white space.
> This is because the source code of the parser mistakingly thinks that the ascii code for tab is 0x08, while it actually is 0x09.
> Fix: in file properties.cpp, in function void PropertyParser::parse(LogString& in, Properties& properties) (which starts at line 30),
> change all occurrences of 0x08 to 0x09.
> There are 7 such occurrences, on lines 50, 79, 109, 138, 167, 212, 245.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)