dhcpcd-discuss

Conflict "closefrom" on FreeBSD-8.0

Naohiro Aota

Mon Apr 12 22:21:52 2010

Hi list,

I found definition of a function "closefrom" in dhcpcd's code conflicts with one defined on FreeBSD-8.0: we have "void closefrom(int)" on FreeBSD-8.0 and "int closefrom(int)" in dhcpcd.

Fortunately, dhcpcd don't use the result of "closefrom" for now, I've just added some check for "configure" and was able to build dhcpcd. Please take a glance at the attached patch.

Regards,
Naohiro

Attachment: 0001-check-if-freeebsd-closefrom-available.patch
Description: Binary data


Follow-Ups:
Re: Conflict "closefrom" on FreeBSD-8.0Roy Marples
Archive administrator: postmaster@marples.name