Re: [PATCH] provide alternatives for err, errx, warn and warnx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 31-01-2011 16:53:49 +0100, Karel Zak wrote:
> >  I'll apply this patch after 2.19 release. We have to check that
> >  <err.h> does not conflict with any locally defined err() or warn()
> >  function or variable.
> 
>  ... or move all the fallback solution to other file than c.h, for
>  example "ulerr.h", and include this file instead of <err.h>.

Hmmm, what's the difference?  The fallbacks are only defined when err.h
wasn't found (ifndef HAVE_ERR_H).  Then the replacements err, errx,
warn, warnx are only defined when configure found they don't exist (to
cope with the hypothetical case that err exists but errx not, or
warn...)


-- 
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


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux