This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
embed.fnc: Mark unlnk as Core only
authorKarl Williamson <khw@cpan.org>
Wed, 22 Jul 2020 11:36:56 +0000 (05:36 -0600)
committerKarl Williamson <khw@cpan.org>
Sat, 15 Aug 2020 12:13:58 +0000 (06:13 -0600)
The macro UNLINK is what one is supposed to use for this functionality,
(though that isn't documented either)

embed.fnc

index 7d0e3b6..daeb742 100644 (file)
--- a/embed.fnc
+++ b/embed.fnc
@@ -2393,7 +2393,7 @@ pT        |bool   |translate_substr_offsets|STRLEN curlen|IV pos1_iv \
                                         |NN STRLEN *lenp
 #endif
 #if defined(UNLINK_ALL_VERSIONS)
-Ap     |I32    |unlnk          |NN const char* f
+Cp     |I32    |unlnk          |NN const char* f
 #endif
 AbpdD  |SSize_t|unpack_str     |NN const char *pat|NN const char *patend|NN const char *s \
                                |NULLOK const char *strbeg|NN const char *strend|NULLOK char **new_s \