Results 1 to 2 of 2

Thread: Patch #6 for Ice 3.1.0: byte sequences in dictionaries

  1. #1
    dwayne's Avatar
    dwayne is offline ZeroC Staff
    Name: Dwayne Boone
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Jan 2005
    Location
    St. John's, Newfoundland
    Posts
    397

    Patch #6 for Ice 3.1.0: byte sequences in dictionaries

    Hi,

    The following patch is a fix for the slice2cpp compiler, which generates incorrect code when a byte sequence is used in a dictionary.

    To apply the patch:

    $ cd Ice-3.1.0
    $ patch -p0 < patch.slice2cpp.txt

    Regards,
    Dwayne
    Attached Files Attached Files
    Last edited by dwayne; 07-31-2006 at 08:43 AM.
    Dwayne Boone

  2. #2
    ctennis is offline Registered User
    Name: Caleb Tennis
    Organization: AEI
    Project: Project GINA
    Join Date
    Mar 2006
    Posts
    123
    FYI, this patch required a small tweak for me to get it to apply properly:

    The first hunk had a newline in it that wasn't in the original source for me. I used this hunk instead:

    *** 857,862 ****
    --- 857,866 ----
    StringList md;
    md.push_back("cpp:array");
    string tmpParam = "___";
    + //
    + // Catch some case in which it is not possible to just prepend
    + // underscores to param to use as temporary variable.
    + //
    if(fixedParam.find("(*") == 0)
    {
    tmpParam += fixedParam.substr(2, fixedParam.length() - 3);
    Caleb Tennis
    Analytical Engineering, Inc.
    http://www.aei-tech.com
    Project: Our facility infrastructure heavily utilizes Ice

    Gentoo ebuild maintainer for Ice, IceRuby, etc.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 02-17-2011, 10:28 AM
  2. ICE::Byte Range inconsistency
    By moshehak in forum Bug Reports
    Replies: 1
    Last Post: 09-29-2009, 07:57 AM
  3. Replies: 3
    Last Post: 08-03-2005, 03:37 PM
  4. Ice::Byte question..
    By yserge in forum Help Center
    Replies: 1
    Last Post: 08-19-2004, 05:54 PM
  5. Chars to Ice::Byte
    By catalin in forum Help Center
    Replies: 6
    Last Post: 12-14-2003, 09:03 AM

Posting Permissions

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