Hi,
I have just run across a limitation in the load() method of the PropertiesI class (line 212 in <ICE-3.2.0_SOURCE_DIR/src/Ice/PropertiesI.cpp>). When loading a file for configuration, there is a 1024 size limit for each line (line 223 and 224).
Although 1024 should be large enough for most applications, silly people like me might try to read in a very large string to be read in at run time (I probably should read these strings in from a file in hindsight). At the moment, this load method quietly fails without specification of the error. Is it possible to document this limitation and/or warn the user that the line is too large to read in?
Thanks for all the great work and thanks in advance for reading through this comment.
Ben

Reply With Quote