diff options
author | Nicholas Clark <nick@ccl4.org> | 2021-05-14 11:09:56 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2021-05-22 08:22:26 +0000 |
commit | 2eb6b7eb0d54e988419c74183534a9e6307f059a (patch) | |
tree | 90c14bbbbc77524b9b0825039468523feba4a7ce /dist/Data-Dumper/Dumper.xs | |
parent | 1f12e8812b8f5a0e640b447d829275a02c9bbfb4 (diff) | |
download | perl-2eb6b7eb0d54e988419c74183534a9e6307f059a.tar.gz |
Current ppport.h forcibly overrides older buggy versions of utf8_to_uvchr_buf
Hence we need to set NEED_utf8_to_uvchr_buf else we don't get *any*
utf8_to_uvchr_buf. Oops. :-)
Diffstat (limited to 'dist/Data-Dumper/Dumper.xs')
-rw-r--r-- | dist/Data-Dumper/Dumper.xs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dist/Data-Dumper/Dumper.xs b/dist/Data-Dumper/Dumper.xs index 6aca9182b6..9e545fc27c 100644 --- a/dist/Data-Dumper/Dumper.xs +++ b/dist/Data-Dumper/Dumper.xs @@ -2,9 +2,14 @@ #include "EXTERN.h" #include "perl.h" #include "XSUB.h" +/* FIXME - we should go through the code and validate what we can remove. + Looks like we could elimiate much of our custom utf8_to_uvchr_buf games in + favour of ppport.h, and likewise if we replace my_sprintf with my_snprintf + some more complexity dies. */ #ifdef USE_PPPORT_H # define NEED_my_snprintf # define NEED_sv_2pv_flags +# define NEED_utf8_to_uvchr_buf # include "ppport.h" #endif |