Home Patches

Patch #8 for Ice 3.1.0: support for paths with spaces in -I option

benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
Hi,

The following patch adds support for paths with spaces when using the -I command line option of the Slice translators to specify include directories.

To apply the patch:

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

Cheers,
Benoit.

Comments

  • UserXYZUserXYZ Member Wesley DayOrganization: Continental AirlinesProject: Flight Firming
    This patch broke paths with trailing slashes

    FYI, I think this patch broke paths with trailing slashes.

    We use Visual Studio 2005 with custom build steps.
    Some of the predefined Macro directories like $(InputDir) have a trailing "\".
    slice2cs now either generates an empty file from within Visual Studio, or hangs from the command line when a -I path has a trailing slash.

    A work-around appears to be to add a dot "." after the path
    (i.e. "-I$(InputDir)." ).


    Best Regards,

    Wes
  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Thanks for the report, we'll have a closer look at this problem.

    Cheers,
    Benoit.
Sign In or Register to comment.