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

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

 



On Mon, Jan 31, 2011 at 04:47:51PM +0100, Karel Zak wrote:
> On Tue, Jan 25, 2011 at 10:44:52PM +0100, Fabian Groffen wrote:
> > Solaris lacks err, errx, warn and warnx.  This also means the err.h
> > header doesn't exist.
> > Removed err.h include from all files, and included err.h from c.h
> > instead if it exists, otherwise alternatives are provided.
> 
>  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>.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
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