From 767404768d470ee44c961223a208f0226acea674 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sun, 30 Apr 2023 20:32:03 -0600 Subject: embed.fnc: Correct some comments A strftime format is different from a printf one, and doesn't have the constraints the latter has. --- embed.fnc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/embed.fnc b/embed.fnc index 9ca19ea856..f669d1822a 100644 --- a/embed.fnc +++ b/embed.fnc @@ -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 -- cgit v1.2.1