mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01:00
XML: complete merge from 1.4.2
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
#include "Poco/Path.h"
|
||||
#include "Poco/FileStream.h"
|
||||
#include "Poco/LineEndingConverter.h"
|
||||
#include <cctype>
|
||||
#include "Poco/Ascii.h"
|
||||
|
||||
|
||||
using Poco::trim;
|
||||
@@ -125,7 +125,7 @@ void PropertyFileConfiguration::parseLine(std::istream& istr)
|
||||
static const int eof = std::char_traits<char>::eof();
|
||||
|
||||
int c = istr.get();
|
||||
while (c != eof && std::isspace((char) c)) c = istr.get();
|
||||
while (c != eof && Poco::Ascii::isSpace(c)) c = istr.get();
|
||||
if (c != eof)
|
||||
{
|
||||
if (c == '#' || c == '!')
|
||||
|
||||
Reference in New Issue
Block a user