Ticket #1383 (new feature) — at Initial Version

Opened 12 years ago

Last modified 12 years ago

[PATCH] add a cli option to set Parrot's hash seed

Reported by: cotto Owned by: cotto
Priority: normal Milestone:
Component: none Version: 1.9.0
Severity: low Keywords:
Cc: Language:
Patch status: Platform:

Description

The attached patch adds --hash-seed to parrot's cli options. When set to a valid hex value, interp->hash_seed will contain that value instead of a sorta-random value based on the current time. The value of this is to speed debugging of failures that appear to be related to hash ordering. Coke found such a bug in partcl recently [1].

The patch is pretty simple, but I thought I'd put this out there before committing in the likely case that I've missed something.

Change History

Changed 12 years ago by cotto

first version of the patch

Note: See TracTickets for help on using tickets.