[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] tools/toollog: Drop XTL_NEW_LOGGER()
On 19/01/16 17:36, Ian Jackson wrote: > Ian Jackson writes ("Re: [PATCH] tools/toollog: Drop XTL_NEW_LOGGER()"): >> Ian Campbell writes ("Re: [PATCH] tools/toollog: Drop XTL_NEW_LOGGER()"): >>> The underlying issue with all of these is the _undocumented_ nature of the >>> assumptions, which is certainly a bug, however those assumptions are not in >>> themselves "unreasonable" as was claimed. >> Maybe I should submit a counter-patch providing documentation. > I think this macro is useful because if you wanted to write (say) > xtl_logger_syslog, you would want to use it to help you with some > boilerplate. WTF? Even documented, the behaviour of this macro is insane, which is why I am trying to kill it. After this, I will also be fixing the gross pointer abuse which exists in the xentoollog internals, before the ABI becomes fixed in 4.7. There should be no place for code like this, and certainly not in the clean API/ABI we are trying to create out of the mess which is libxc. Irrespective of whether you disagree with my opinions here, xentoollog.h is specified to be C99 -strict, meaning no GNUisms. ~Andrew _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |