This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Test errno setup
On Thu, Feb 16, 2017 at 12:10 PM, Carlos O'Donell <carlos@redhat.com> wrote:
>
> Please use a static function and avoid macros which make the test
> hard to debug. We don't have any performance or function call
> issues here so I think the macros should be avoided.
The macros make it possible to reuse the core test logic for all the
tested system calls, which vary in both the numbers and types of
arguments. Any other approach would be significantly more complicated
and repetitive.
zw