develooper Front page | perl.perl5.changes | Postings from August 2022

[Perl/perl5] ef6b2b: perl.c - remove code for reporting state ofnon-ex...

Thread Previous
From:
Yves Orton via perl5-changes
Date:
August 6, 2022 22:00
Subject:
[Perl/perl5] ef6b2b: perl.c - remove code for reporting state ofnon-ex...
Message ID:
Perl/perl5/push/refs/heads/yves/reduce_tech_debt_perl_c/8c83d9-ef6b2b@github.com
  Branch: refs/heads/yves/reduce_tech_debt_perl_c
  Home:   https://github.com/Perl/perl5
  Commit: ef6b2b73e7bba637f101cc96f2d59dba7dab76f3
      https://github.com/Perl/perl5/commit/ef6b2b73e7bba637f101cc96f2d59dba7dab76f3
  Author: Yves Orton <demerphq@gmail.com>
  Date:   2022-08-06 (Sat, 06 Aug 2022)

  Changed paths:
    M INSTALL
    M hv_func.h
    M perl.c

  Log Message:
  -----------
  perl.c - remove code for reporting state of non-existent defines in -V

Most of the hash based defines are no longer supported, so remove them.
Also at the same time introduce a new simpler way to track which hash
function we are using. Also add the info about if SBOX32 is in use.

This removes the need to keep the list of hash functions supported in
two places, hv_func.h and perl.c. Instead hv_func.h drives the whole
process and perl.c just does what it is told.

Previously the way to control SBOX32 was to use a define with a value
but our perl -V output currently doesnt support that, so this adds some
two new defines PERL_HASH_USE_SBOX32 and PERL_HASH_NO_SBOX32 which map
to the older PERL_HASH_USE_SBOX32_ALSO flag define (integer 1/0).
Both are still supported, this just makes everything more consistent.

This also includes minor doc changes to INSTALL to mention -Accflags
as being the way to set these defines during the Configure process.



Thread Previous


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