[DragonFlyBSD - Bug #2594] (New) __fpending prototype in stdio.h conflicts with pkgsrc m4 1.4.17
bugtracker-admin at leaf.dragonflybsd.org
bugtracker-admin at leaf.dragonflybsd.org
Sat Oct 5 16:57:17 PDT 2013
Issue #2594 has been reported by davshao.
----------------------------------------
Bug #2594: __fpending prototype in stdio.h conflicts with pkgsrc m4 1.4.17
http://bugs.dragonflybsd.org/issues/2594
* Author: davshao
* Status: New
* Priority: Normal
* Assignee:
* Category:
* Target version:
----------------------------------------
DragonFly's prototype for __fpending in /usr/include/stdio.h of
__ssize_t __fpending(const FILE *);
conflicts with building current pkgsrc cvs m4 1.4.17. The concern isn't necessarily that it conflicts with pkgsrc, the concern is that in the future there will be conflict with all the updated GNU software that would assume __fpending's prototype is more like:
size_t __fpending(FILE *);
A private branch from master redefining the prototype to be:
__size_t __fpending(FILE *);
and a full buildworld allowed current pkgsrc m4 1.4.17 to be built.
A quick grep of FreeBSD 10.0 alpha4's source reveals no definition of __fpending; therefore, there would be no reason for developers of GNU software to suspect any breakage on a BSD system.
Attached is the simplistic patch redefining the prototype of __fpending in stdio.h and for the implementation of __fpending in lib/libc/stdio/__fpending.c.
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list