From: Father Chrysostomos Date: Sun, 23 Jun 2013 22:12:17 +0000 (-0700) Subject: perldiag: Document ‘internal %p might conflict’ X-Git-Tag: upstream/5.20.0~2970 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=870978ae522c2ba1f6edb66b15d0e537b01e5a81;p=platform%2Fupstream%2Fperl.git perldiag: Document ‘internal %p might conflict’ --- diff --git a/pod/perldiag.pod b/pod/perldiag.pod index f09875c..17bea47 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -2453,6 +2453,15 @@ L). Somehow, this count has become scrambled, so Perl is making a guess and treating this C as a request to terminate the Perl script and execute the specified command. +=item internal %p might conflict with future printf extensions + +(S internal) Perl's internal routine that handles C and C +formatting follows a slightly different set of rules when called from +C or XS code. Specifically, formats consisting of digits followed +by "p" (e.g., "%7p") are reserved for future use. If you see this +message, then an XS module tried to call that routine with one such +reserved format. + =item Internal urp in regex; marked by <-- HERE in m/%s/ (P) Something went badly awry in the regular expression parser. The diff --git a/t/porting/diag.t b/t/porting/diag.t index d8115f5..bafe346 100644 --- a/t/porting/diag.t +++ b/t/porting/diag.t @@ -501,7 +501,6 @@ Illegal binary digit '%c' ignored Illegal character %sin prototype for %s : %s Illegal hexadecimal digit '%c' ignored Illegal octal digit '%c' ignored -internal %p might conflict with future printf extensions Invalid argument to sv_cat_decode Invalid range "%c-%c" in transliteration operator Invalid separator character %c%c%c in PerlIO layer specification %s