develooper Front page | perl.perl5.changes | Postings from September 2021

[Perl/perl5] e72852: utf8.h: Rmv redundant asserts

Karl Williamson via perl5-changes
September 16, 2021 12:48
[Perl/perl5] e72852: utf8.h: Rmv redundant asserts
Message ID:
  Branch: refs/heads/blead
  Commit: e72852772d35fa07c6f4def68643512939de4443
  Author: Karl Williamson <>
  Date:   2021-09-16 (Thu, 16 Sep 2021)

  Changed paths:
    M utf8.h

  Log Message:
  utf8.h: Rmv redundant asserts

These macros asserted both that the passed in parameter occupied no more
than a byte, and that it wasn't a pointer.  But pointers occupy more
than a byte, so if it passes the first check, meaning it occupies only a
byte, it will necessarily pass the second, making that check unnecessary. Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About