On Tue, May 24, 2011 at 10:41:31PM +0200, Denys Vlasenko wrote:
> http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/errno.h.html
> says:
> 
> "The <errno.h> header shall provide a declaration or definition for
> errno. The symbol errno shall expand to a modifiable lvalue of type int.
> It is unspecified whether errno is a macro or an identifier declared
> with external linkage. If a macro definition is suppressed in order to
> access an actual object, or a program defines an identifier with the
> name errno, the behavior is undefined."
> 
> strace source does use identifier "errno" at a parameter of one
> function. I propose to rename it, so that we don't risk
> getting build breakage here on obscure platforms or libcs.

It certainly won't harm, OK with me.


-- 
ldv

Attachment: pgp7bkFeUdYbg.pgp
Description: PGP signature

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to