svn commit: r356832 - head/lib/libc/gen

Mateusz Guzik mjguzik at gmail.com
Fri Jan 17 19:46:45 UTC 2020


On 1/17/20, Dimitry Andric <dim at freebsd.org> wrote:
> On 17 Jan 2020, at 16:45, Mateusz Guzik <mjg at freebsd.org> wrote:
>>
>> Author: mjg
>> Date: Fri Jan 17 15:45:39 2020
>> New Revision: 356832
>> URL: https://svnweb.freebsd.org/changeset/base/356832
>>
>> Log:
>>  libc: fix build after r356830
>>
>>  Apparently building with 'cd lib/libc; make all install' is not the same
>>  as buildworld.
>
> Definitely not, indeed.  Such a plain make will use your system's
> headers for inclusion, not those in /usr/src.  Only use this when you
> are certain those headers are up-to-date (or up-to-date enough ;).
>

That's not the difference I meant.

Building like above works fine with:

unionstack = _fcntl(fd, F_ISUNIONSTACK);

It's only buildworld during which this fails with:
/usr/src/lib/libc/gen/opendir.c:282:40: error: too few arguments
provided to function-like macro invocation
        unionstack = _fcntl(fd, F_ISUNIONSTACK);

hence the patch.

-- 
Mateusz Guzik <mjguzik gmail.com>


More information about the svn-src-all mailing list