Subject: Re: CVS commit: pkgsrc/pkgtools/libnbcompat/files
To: None <pkgsrc-changes@NetBSD.org>
From: grant beattie <grant@NetBSD.org>
Date: 11/18/2005 20:05:25
On Fri, Nov 18, 2005 at 03:31:11AM +0000, grant beattie wrote:
> Log Message:
> pass const empty string to MAKEEXTRALIST macro instead of the
> anonymous empty string, which may be stored at a different address at
> the compiler's discretion.
the wording of this does not clearly explain the problem, I have
updated the log message to:
pass const empty string to MAKEEXTRALIST macro instead of the
anonymous empty string. the macro uses the argument multiple times
and the logic relies on identical strings having the same address,
which is compiler dependent and not guaranteed to be the case.
.. and the macro itself has now been fixed instead, thanks martin@ :)