diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2008-01-15 09:42:21 -0330 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2008-01-15 09:42:21 -0330 |
commit | a228fa2a1d77272a3534c66519bd20ae915ddffe (patch) | |
tree | cf5276cb643cdb7d9e0d948dbdf4aef771e61d5b /cpp | |
parent | Fixed bug 1359 (diff) | |
download | ice-a228fa2a1d77272a3534c66519bd20ae915ddffe.tar.bz2 ice-a228fa2a1d77272a3534c66519bd20ae915ddffe.tar.xz ice-a228fa2a1d77272a3534c66519bd20ae915ddffe.zip |
Bug 2413 - arbitraray config file line limit
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/CHANGES | 3 | ||||
-rw-r--r-- | cpp/src/Ice/PropertiesI.cpp | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/cpp/CHANGES b/cpp/CHANGES index 5018f3faec9..53150c0e2bd 100644 --- a/cpp/CHANGES +++ b/cpp/CHANGES @@ -1,6 +1,9 @@ Changes since version 3.2.X (binary incompatible) ------------------------------------------------- +- There is no longer a limit on the allowable length of a property + line in an Ice config file. Previously the limit was 1024. + - It's now possible to change the compression setting for a fixed proxy. In previous releases, calling ice_compress on a fixed proxy would raise Ice::FixedProxyException. diff --git a/cpp/src/Ice/PropertiesI.cpp b/cpp/src/Ice/PropertiesI.cpp index 318ad95bfbd..5ce4195df61 100644 --- a/cpp/src/Ice/PropertiesI.cpp +++ b/cpp/src/Ice/PropertiesI.cpp @@ -291,8 +291,8 @@ Ice::PropertiesI::load(const std::string& file) throw ex; } - char line[1024]; - while(in.getline(line, 1024)) + string line; + while(getline(in, line)) { parseLine(line, _converter); } |