#1383: [PATCH] add a cli option to set Parrot's hash seed
---------------------+------------------------------------------------------
Reporter: cotto | Owner: cotto
Type: feature | Status: new
Priority: normal | Milestone:
Component: none | Version: 1.9.0
Severity: low | Keywords:
Lang: | Patch:
Platform: |
---------------------+------------------------------------------------------
Description changed by coke:
Old 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.
New 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.
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.
--
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1383#comment:1>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets