Home Patches

Patch #3 for Ice 3.4.0: slice2cs tie issue

mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
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

Comments

  • masariellomasariello Member Alessio MassaroOrganization: VTB CapitalProject: Quantitative Analytics Library
    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?
  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    On Windows you need to use the --binary option when running patch:

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

    Can you try that?

    Regards,
    Mark
  • masariellomasariello Member Alessio MassaroOrganization: VTB CapitalProject: Quantitative Analytics Library
    It works

    Thank you
  • MarkKoenigMarkKoenig Member Mark KoenigOrganization: Complete Genomics Inc.Project: Human Genome Sequencer
    Patched slice2cs.exe for x86 avail?

    Is slice2cs.exe with this patch applied available for x86 somewhere?
  • dwaynedwayne St. John's, NewfoundlandMember Dwayne BooneOrganization: ZeroC, Inc.Project: Internet Communications Engine
    Ice 3.4.1 which was released yesterday contains this fix.
Sign In or Register to comment.