[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OS/2 and stdarg module
From: |
Eric Blake |
Subject: |
Re: OS/2 and stdarg module |
Date: |
Sat, 01 Jul 2006 17:20:30 -0600 |
User-agent: |
Thunderbird 1.5.0.4 (Windows/20060516) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Paul Eggert on 7/1/2006 3:27 PM:
> address@hidden (Eric Blake) writes:
>
>> +#define gl_va_copy(a,b) (a) = (b)])
>
> I'm not familiar with this package, but surely that should be ((a) =
> (b)), not (a) = (b).
In the case of va_copy, POSIX defines it to have void value, so trying to
use va_copy for its result is invalid, and the missing parenthesis can't
affect a compliant program. But to avoid potential confusion, I checked
in a followup patch that added the parentheses.
- --
Eric Blake
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEpwM984KuGfSFAYARAgt7AKDQHnRHzpZdinn1C3qfFm1+W7Ho7gCcCeG5
lhthAVJtkUdwMTNI+82C89s=
=Vq9t
-----END PGP SIGNATURE-----