Results 1 to 6 of 6

Thread: Patch #3 for Ice 3.4.0: slice2cs tie issue

  1. #1
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,445

    Patch #3 for Ice 3.4.0: slice2cs tie issue

    This patch corrects the issue reported here, in which slice2cs generates invalid code when the --tie option is used.

    To apply the patch to the Ice 3.4.0 source distribution:

    $ cd Ice-3.4.0
    $ patch -p1 < patch-tie.txt
    Attached Files Attached Files

  2. #2
    masariello is offline Registered User
    Name: Alessio Massaro
    Organization: VTB Capital
    Project: Quantitative Analytics Library
    Join Date
    Apr 2010
    Posts
    5
    Mark,

    Thanks for the patch.

    Weird thing: I fed it into GnuWin32 patch 2.5.9 (on winXP 32bit), and it barfed out with:

    patching file cpp/src/slice2cs/Gen.cpp
    Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application's support team for more information.

    Which version+platform did you use to produce/test the patch file?
    Last edited by masariello; 05-10-2010 at 05:35 AM.

  3. #3
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,445
    On Windows you need to use the --binary option when running patch:

    > patch --binary -p1 < patch-tie.txt

    Can you try that?

    Regards,
    Mark

  4. #4
    masariello is offline Registered User
    Name: Alessio Massaro
    Organization: VTB Capital
    Project: Quantitative Analytics Library
    Join Date
    Apr 2010
    Posts
    5
    It works

    Thank you

  5. #5
    MarkKoenig is offline Registered User
    Name: Mark Koenig
    Organization: Complete Genomics Inc.
    Project: Human Genome Sequencer
    Join Date
    Jun 2010
    Posts
    1

    Patched slice2cs.exe for x86 avail?

    Is slice2cs.exe with this patch applied available for x86 somewhere?

  6. #6
    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
    Ice 3.4.1 which was released yesterday contains this fix.
    Dwayne Boone

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 05-07-2010, 05:07 PM
  2. Patch #2 for Ice 3.3.0: fix for slice2cs
    By dwayne in forum Patches
    Replies: 0
    Last Post: 08-07-2008, 09:23 AM
  3. Replies: 0
    Last Post: 11-12-2007, 12:08 AM
  4. Patch #4 for Ice 3.2.1: fix for slice2cs
    By michi in forum Patches
    Replies: 0
    Last Post: 10-11-2007, 01:38 AM
  5. Patch #3 for Ice 3.2.1: fix for slice2cs
    By michi in forum Patches
    Replies: 0
    Last Post: 09-24-2007, 03:40 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
  •