Date: Fri, 19 Aug 2011 15:47:39 GMT From: Keith Bostic <keith@bostic.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/159916: stdarg.h doesn't have a lint version of va_copy Message-ID: <201108191547.p7JFld1u074162@red.freebsd.org> Resent-Message-ID: <201108191550.p7JFoBEA056274@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 159916 >Category: misc >Synopsis: stdarg.h doesn't have a lint version of va_copy >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 19 15:50:11 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Keith Bostic >Release: 8.2 >Organization: >Environment: FreeBSD pixiebob.home 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: the lint chunk of <stdarg.h>: #elif defined(lint) /* Provide a fake implementation for lint's benefit */ #define __va_size(type) \ (((sizeof(type) + sizeof(long) - 1) / sizeof(long)) * sizeof(long)) #define va_start(ap, last) \ ((ap) = (va_list)&(last) + __va_size(last)) #define va_arg(ap, type) \ (*(type *)((ap) += __va_size(type), (ap) - __va_size(type))) #define va_end(ap) Doesn't have an entry for va_copy(). >How-To-Repeat: By examination. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108191547.p7JFld1u074162>