Results 1 to 2 of 2

Thread: line limit when loading files for configuration at runtime

  1. #1
    upcroft is offline Registered User
    Name: Ben Upcroft
    Organization: University of Queensland
    Project: Orca
    Join Date
    Jun 2006
    Posts
    1

    line limit when loading files for configuration at runtime

    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
    Ben Upcroft
    Australian Centre for Field Robotics
    University of Sydney, Australia
    http://www.cas.edu.au

    Ice Project: Orca Robotics Software
    http://orca-robotics.sf.net

  2. #2
    michi's Avatar
    michi is offline Registered User
    Name: Michi Henning
    Organization: Triodia Technologies
    Project: I have a passing interest in Ice :-)
    Join Date
    Feb 2003
    Location
    Brisbane, Australia
    Posts
    1,055
    Thanks for the bug report. We'll look at removing this limitation.

    Cheers,

    Michi.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problems with loading IcePHP module
    By wengole in forum Help Center
    Replies: 3
    Last Post: 07-27-2010, 01:21 PM
  2. Problem including files in ice files
    By teoMalo in forum Help Center
    Replies: 4
    Last Post: 09-21-2009, 11:33 AM
  3. 64kBytes limit?
    By hotlips in forum Help Center
    Replies: 9
    Last Post: 05-16-2007, 03:25 PM
  4. Loading properties file in MFC sample
    By Kruppy in forum Help Center
    Replies: 6
    Last Post: 11-08-2005, 03:01 PM
  5. Replies: 2
    Last Post: 04-27-2004, 03:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •