Re: fts.c has no business to #define reserved identifiers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/10/2014 10:25 PM, Krzysztof Żelechowski wrote:
> Is:
> 
> #   define __set_errno(val) (*__errno_location ()) = (val)
> 
> #   define __open           open
> 
> #   define __close           close
> 
> #   define __fchdir          fchdir
> 
>  
> 
> Why do you do that?  It is illegal.

Please don't tell the Police. We all have families.
If you look a bit closer you might realize that this passage is
surrounded by the #else block of a #if defined(_LIBC) directive. So this
is only done on systems that do not come with a libc. I really have no
clue why we are supporting them but someone thought this would be
important back in 2002.

Florian
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list





[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux