Opened 16 years ago

Last modified 16 years ago

#187 new defect

Make Boost Jam's == && != operators not ignore trailing empty strings.

Reported by: jurko.gospodnetic@… Owned by: somebody
Priority: minor Milestone:
Component: component1 Version: 2.0
Keywords: Cc:

Description

Make Boost Jam's == && != operators not ignore trailing empty strings in the lists they are given as operands to compare.

When and if this is done Boost Build code should be reviewed for any unexpected side-effects. One thing potentially affected by this is Boost Build's assert.jam module.

Workaround for this available with the current Boost Jam is to simply append a non-empty string to the end of both list operands.

Change History (1)

comment:1 Changed 16 years ago by jurko.gospodnetic@…

Boost Jam's lcmp() function in the compile.c module could have something to do with this, called by the compile_eval() function below it to process parsed Jam operator tokens.

Note: See TracTickets for help on using tickets.