develooper Front page | perl.perl6.internals | Postings from October 2002

[perl #18072] [PATCH] fingerprinting the PBC

Thread Next
From:
Jürgen" "Bömmels
Date:
October 24, 2002 04:16
Subject:
[perl #18072] [PATCH] fingerprinting the PBC
Message ID:
rt-18072-40500.8.83428106996647@bugs6.perl.org
# New Ticket Created by  Jürgen Bömmels 
# Please include the string:  [perl #18072]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=18072 >


A PackFile created with a diffrent version of core.ops leads to
strange not easy to find errors. Therefor a fingerprint of core.ops is
entered to the packfile.

The fingerprint of the core.ops file is generated out of signatures of
the operations (comments and implementation details dont contribute).
This is relativ easy, because the complete parsing of core.ops is done
in OpsFile.pm.

I implemented in a really hacky way: abusing the padding bytes. But
this way it can be implemented *now*. When the named segments are in,
the fingerprint will go to a segment on its own. (Now I can only use
10 bytes of the 16 byte MD5-Hash, but hey we don't want to make
cryptography).

bye
b.



-- attachment  1 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/40500/32674/273ee1/fingerprint.diff


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About