On 02-02-2011 15:22:53 +0100, Karel Zak wrote: > On Wed, Feb 02, 2011 at 01:52:28PM +0100, Petr Uzel wrote: > > This seems to be a nice simplification. I'm just wondering - would > > that require checking for daemon(3) in configure.ac? > > We already use daemon(3) in sys-utils/ldattach.c and nobody > complains (but I have doubts it's available on Solaris). daemon is available in stdlib.h on Darwin daemon is not available on Solaris > It would be better to do this change after v2.19 release. We have > people who care about libblkid and libuuid portability, it's not fair > to modify the code now. I don't think this is hardly an issue here. It's not like it compiles at all at the moment, some more patches are necessary at least on my end, that I can't push out yet, because they are either too hacky, or because I don't understand yet what's the best solution. Biggest issue is the -Wl,--version-script used in the makefiles. Mike gave me a hint here [1], but the solution hasn't been clear to me as of yet. In conclusion, I don't think Linux tailored improvements should be held back for the sake of portability at this moment, as one won't come far very far in building anyway. [1] http://bugs.gentoo.org/show_bug.cgi?id=278667#c19 -- Fabian Groffen Gentoo on a different level -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html