]> git.ipfire.org Git - thirdparty/util-linux.git/commit
build-sys: provide alternatives for err, errx, warn and warnx
authorFabian Groffen <grobian@gentoo.org>
Tue, 25 Jan 2011 21:44:52 +0000 (22:44 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 14 Feb 2011 16:45:24 +0000 (17:45 +0100)
commiteb76ca98b0733754d7e9a40f754e89b50af2bf06
treef2becaf31f77a664256273e6ec6772904422ac53
parent4a01477b12bc6c7ced2306e2700021672f43a4a0
build-sys: provide alternatives for err, errx, warn and warnx

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.

Signed-off-by: Fabian Groffen <grobian@gentoo.org>
52 files changed:
configure.ac
disk-utils/swaplabel.c
include/c.h
include/xalloc.h
lib/at.c
lib/blkdev.c
lib/cpuset.c
lib/mangle.c
lib/strutils.c
lib/tt.c
login-utils/chfn.c
login-utils/chsh.c
login-utils/last.c
login-utils/login.c
login-utils/mesg.c
login-utils/newgrp.c
login-utils/vipw.c
login-utils/wall.c
misc-utils/cal.c
misc-utils/findfs.c
misc-utils/findmnt.c
misc-utils/lsblk.c
misc-utils/namei.c
misc-utils/scriptreplay.c
misc-utils/wipefs.c
mount/swapon.c
partx/partx.c
schedutils/chrt.c
schedutils/ionice.c
schedutils/taskset.c
shlibs/blkid/samples/mkfs.c
shlibs/blkid/samples/partitions.c
shlibs/blkid/samples/superblocks.c
shlibs/blkid/samples/topology.c
shlibs/mount/samples/mount.c
shlibs/mount/src/lock.c
sys-utils/ctrlaltdel.c
sys-utils/fallocate.c
sys-utils/fsfreeze.c
sys-utils/fstrim.c
sys-utils/ipcmk.c
sys-utils/ipcs.c
sys-utils/ldattach.c
sys-utils/lscpu.c
sys-utils/renice.c
sys-utils/rtcwake.c
sys-utils/switch_root.c
sys-utils/unshare.c
text-utils/column.c
text-utils/rev.c
text-utils/tailf.c
text-utils/ul.c