diff options
author | Karl Williamson <khw@cpan.org> | 2023-04-30 20:32:03 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2023-05-01 07:14:36 -0600 |
commit | 767404768d470ee44c961223a208f0226acea674 (patch) | |
tree | 8e7b3264e8dab56ea466391d884ffc7788ccdcac | |
parent | 5f951aa0d5804e69ae58fd3c1619b26a5abb3c13 (diff) | |
download | perl-767404768d470ee44c961223a208f0226acea674.tar.gz |
embed.fnc: Correct some comments
A strftime format is different from a printf one, and doesn't have the
constraints the latter has.
-rw-r--r-- | embed.fnc | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -350,10 +350,11 @@ : 'f' Function takes a format string. If the function name =~ qr/strftime/ : then it is assumed to take a strftime-style format string as the 1st : arg; otherwise it's assumed to take a printf style format string, not -: necessarily the 1st arg. All the arguments following it (including -: possibly '...') are assumed to be for the format. +: necessarily the 1st arg. All the arguments following the second form +: (including possibly '...') are assumed to be for the format. : -: embed.h: any entry in here is suppressed because of varargs +: embed.h: any entry in here for the second form is suppressed because +: of varargs : proto.h: add __attribute__format__ (or ...null_ok__) : : 'F' Function has a '...' parameter, but don't assume it is a format. This |