]>
err.no Git - util-linux/log
LaMont Jones [Mon, 16 Jun 2008 13:44:03 +0000 (07:44 -0600)]
changelog: release
LaMont Jones [Mon, 16 Jun 2008 13:36:21 +0000 (07:36 -0600)]
Merge commit 'v2.14'
Karel Zak [Mon, 9 Jun 2008 11:58:54 +0000 (13:58 +0200)]
build-sys: release++ (v2.14)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 9 Jun 2008 10:53:27 +0000 (12:53 +0200)]
docs: update v2.14 ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 9 Jun 2008 10:20:40 +0000 (12:20 +0200)]
docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 9 Jun 2008 10:18:26 +0000 (12:18 +0200)]
po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
Gabor Kelemen [Mon, 9 Jun 2008 10:02:00 +0000 (12:02 +0200)]
po: update hu.po (from translationproject.org)
Volker Schatz [Tue, 3 Jun 2008 21:52:04 +0000 (23:52 +0200)]
ddate: 11th, 12th and 13th of month
the Discordian date utility ddate gives the 11th, 12th and 13th of the month as
the "11st", "12nd" and "13rd". Unless this is a religious thing, please apply
the patch below.
Signed-off-by: Volker Schatz <oss@volkerschatz.com>
Paulius Zaleckas [Mon, 9 Jun 2008 09:35:59 +0000 (11:35 +0200)]
rtcwake: fix the default mode to "standby"
Writing "suspend" to /sys/power/state does nothing.
Even "man rtcwake" says that default should be "standby" :)
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
Signed-off-by: Karel Zak <kzak@redhat.com>
Christophe Blaess [Mon, 9 Jun 2008 09:32:19 +0000 (11:32 +0200)]
mount: fix a small typo in mount.8
While working on french translation of the Linux Man Pages, I've found a
small typo in mount.8.
Only one wrong letter : the option "osyncis_o_sync" for XFS filesystem
is erroneously replaced by "osyncis_d_sync" (the previous option).
Signed-off-by: Christophe Blaess <Christophe@Blaess.fr>
Signed-off-by: Karel Zak <kzak@redhat.com>
Frans Pop [Fri, 6 Jun 2008 05:22:19 +0000 (23:22 -0600)]
Update menu-item number for Debian Installer components.
Addresses-Debian-Bug: 484407
Signed-off-by: Frans Pop <elendil@planet.nl>
Signed-off-by: LaMont Jones <lamont@debian.org>
LaMont Jones [Wed, 28 May 2008 04:46:41 +0000 (22:46 -0600)]
changelog: release
Nobuhiro Iwamatsu [Wed, 28 May 2008 04:42:49 +0000 (22:42 -0600)]
control: add support for sh4
This is a patch to support mount, fdisk-udeb and cfdisk-udeb for
SH4 architecture of debian/control.
Please apply.
Addresses-Debian-Bug: 479509
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: LaMont Jones <lamont@debian.org>
LaMont Jones [Wed, 28 May 2008 04:27:32 +0000 (22:27 -0600)]
meta: fix description of bsdutils.
Based on input from Justin B Rye <jbr@edlug.org.uk>.
Addresses-Debian-Bug: 482098
Signed-off-by: LaMont Jones <lamont@debian.org>
LaMont Jones [Mon, 26 May 2008 20:39:07 +0000 (14:39 -0600)]
lomount: initialize sizelimit (lost in merge)
Addresses-Ubuntu-Bug: 230974
Signed-off-by: LaMont Jones <lamont@debian.org>
LaMont Jones [Mon, 19 May 2008 12:32:17 +0000 (06:32 -0600)]
changelog: release
LaMont Jones [Mon, 19 May 2008 12:15:09 +0000 (06:15 -0600)]
Merge commit 'origin/master'
Karel Zak [Mon, 19 May 2008 09:42:43 +0000 (11:42 +0200)]
build-sys: release++
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 19 May 2008 09:28:10 +0000 (11:28 +0200)]
docs: update 2.14 ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 19 May 2008 09:02:47 +0000 (11:02 +0200)]
po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
Clytie Siddall [Mon, 19 May 2008 08:53:11 +0000 (10:53 +0200)]
po: update vi.po (from translationproject.org)
Benno Schulenberg [Mon, 19 May 2008 08:52:58 +0000 (10:52 +0200)]
po: update nl.po (from translationproject.org)
Marco Colombo [Mon, 19 May 2008 08:52:40 +0000 (10:52 +0200)]
po: update it.po (from translationproject.org)
Petr Pisar [Mon, 19 May 2008 08:50:13 +0000 (10:50 +0200)]
po: update cs.po (from translationproject.org)
James Youngman [Sat, 17 May 2008 00:53:48 +0000 (01:53 +0100)]
docs: we already rewrote the scriptreplay script; remove that TODO entry
Signed-off-by: James Youngman <jay@gnu.org>
Karel Zak [Wed, 14 May 2008 14:38:47 +0000 (16:38 +0200)]
mount: remount doesn't care about loop=
The command
# mount -oremount <spec> <dir>
doesn't read fstab or mtab. This is expected behaviour. Unfortunately,
we have to care about the internal loop= option which is generated and
maintained by mount(8)/umount(8). The loop= option has to be persistent.
How to reproduce this bug:
# mount -o loop /home/images/vfat.img /mnt/img; grep vfat /etc/mtab; \
mount -o remount,ro /home/images/vfat.img /mnt/img; grep vfat /etc/mtab;
/home/images/vfat.img /mnt/img vfat rw,loop=/dev/loop0 0 0
/home/images/vfat.img /mnt/img vfat ro 0 0
Reported-By: David Chinner <dgc@sgi.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 19 May 2008 08:21:50 +0000 (10:21 +0200)]
build-sys: add support ionice for Super-H architecture
Addresses-Red-Hat-Bugzilla: #446560
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 19 May 2008 07:30:54 +0000 (09:30 +0200)]
fdisk: doesn't recognize the VMware ESX partitions
The fdisk programs do not recognize the partition types used by VMware
ESX. They show up as "unknown".
Addresses-Red-Hat-Bugzilla: #447023
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 13 May 2008 12:00:39 +0000 (14:00 +0200)]
setarch: add fallback for linux/personality
setarch.c:248: error: 'ADDR_NO_RANDOMIZE' undeclared (first use in this function)
setarch.c:248: error: (Each undeclared identifier is reported only once
setarch.c:248: error: for each function it appears in.)
setarch.c:251: error: 'FDPIC_FUNCPTRS' undeclared (first use in this function)
setarch.c:257: error: 'ADDR_COMPAT_LAYOUT' undeclared (first use in this function)
setarch.c:260: error: 'READ_IMPLIES_EXEC' undeclared (first use in this function)
Linux gzp1 2.4.36.1-gzp1 #1 SMP Tue Feb 19 10:23:48 CET 2008 i686 GNU/Linux
Reported-By: Gabor Z. Papp <gzp@papp.hu>
Signed-off-by: Karel Zak <kzak@redhat.com>
LaMont Jones [Tue, 29 Apr 2008 01:52:28 +0000 (19:52 -0600)]
changelog: release
LaMont Jones [Tue, 29 Apr 2008 01:51:36 +0000 (19:51 -0600)]
Merge branch 'stable/v2.13'
Conflicts:
debian/changelog
LaMont Jones [Tue, 29 Apr 2008 01:47:57 +0000 (19:47 -0600)]
changelog: release
LaMont Jones [Tue, 29 Apr 2008 01:20:57 +0000 (19:20 -0600)]
Merge commit 'origin/master'
Karel Zak [Mon, 28 Apr 2008 12:13:43 +0000 (14:13 +0200)]
build-sys: release++
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 28 Apr 2008 12:03:57 +0000 (14:03 +0200)]
docs: update v2.14 ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 28 Apr 2008 12:01:29 +0000 (14:01 +0200)]
po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 28 Apr 2008 11:58:24 +0000 (13:58 +0200)]
scriptreplay: gettextize a forgotten messages
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 28 Apr 2008 11:51:22 +0000 (13:51 +0200)]
docs: update v2.14 ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 28 Apr 2008 10:23:40 +0000 (12:23 +0200)]
ionice: update man page to reflect IDLE class change in 2.6.25
The idle class is safe for non-root users since 2.6.25.
http://lwn.net/Articles/266256/
Addresses-Red-Hat-Bugzilla: #443823
Signed-off-by: Karel Zak <kzak@redhat.com>
LaMont Jones [Wed, 23 Apr 2008 04:50:53 +0000 (22:50 -0600)]
Merge branch 'stable/v2.13'
Conflicts:
NEWS
configure.ac
debian/changelog
po/ca.po
po/cs.po
po/da.po
po/de.po
po/es.po
po/et.po
po/eu.po
po/fi.po
po/fr.po
po/hu.po
po/id.po
po/it.po
po/ja.po
po/nl.po
po/pl.po
po/pt_BR.po
po/ru.po
po/sl.po
po/sv.po
po/tr.po
po/uk.po
po/util-linux-ng.pot
po/vi.po
LaMont Jones [Wed, 23 Apr 2008 04:47:56 +0000 (22:47 -0600)]
Merge commit 'origin/master'
LaMont Jones [Wed, 23 Apr 2008 04:44:54 +0000 (22:44 -0600)]
changelog Release
LaMont Jones [Wed, 23 Apr 2008 04:43:50 +0000 (22:43 -0600)]
Merge commit 'origin/stable/v2.13.1' into stable/v2.13
Karel Zak [Mon, 21 Apr 2008 22:34:31 +0000 (00:34 +0200)]
build-sys: release++ (2.13.1.1)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 21 Apr 2008 22:13:20 +0000 (00:13 +0200)]
docs: add v2.13.1.1 ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 21 Apr 2008 21:30:09 +0000 (23:30 +0200)]
po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
Benno Schulenberg [Mon, 21 Apr 2008 13:24:06 +0000 (15:24 +0200)]
po: update nl.po (from translationproject.org)
Marco Colombo [Mon, 21 Apr 2008 13:22:59 +0000 (15:22 +0200)]
po: update it.po (from translationproject.org)
Steve Grubb [Sat, 19 Apr 2008 15:49:02 +0000 (11:49 -0400)]
login: audit log injection attack via login
A while back I found a couple audit log injection attacks which became
CVE-2007-3102. I forgot to look at login to see if its vulnerable and Mirek
found that it is. To verify the problem, type:
root addr=xyz.com
for the account name while logging in. It will look like root logged in with
an address of xyz.com.
Signed-off-by: Steve Grubb <sgrubb@redhat.com>
Steve Grubb [Sat, 19 Apr 2008 15:49:02 +0000 (11:49 -0400)]
login: audit log injection attack via login
A while back I found a couple audit log injection attacks which became
CVE-2007-3102. I forgot to look at login to see if its vulnerable and Mirek
found that it is. To verify the problem, type:
root addr=xyz.com
for the account name while logging in. It will look like root logged in with
an address of xyz.com.
Signed-off-by: Steve Grubb <sgrubb@redhat.com>
LaMont Jones [Fri, 18 Apr 2008 00:20:00 +0000 (18:20 -0600)]
changelog: release
LaMont Jones [Thu, 17 Apr 2008 23:18:34 +0000 (17:18 -0600)]
Merge branch 'stable/v2.13'
LaMont Jones [Thu, 17 Apr 2008 23:13:27 +0000 (17:13 -0600)]
control: standards-version 3.7.3.0
Signed-off-by: LaMont Jones <lamont@debian.org>
LaMont Jones [Thu, 17 Apr 2008 23:09:54 +0000 (17:09 -0600)]
Merge branch 'stable/v2.13'
LaMont Jones [Thu, 17 Apr 2008 23:09:43 +0000 (17:09 -0600)]
control: drop -1 version from libslang2-dev build-dep
Signed-off-by: LaMont Jones <lamont@debian.org>
LaMont Jones [Thu, 17 Apr 2008 23:04:04 +0000 (17:04 -0600)]
changelog: release?
LaMont Jones [Thu, 17 Apr 2008 22:57:23 +0000 (16:57 -0600)]
Merge commit 'origin/master'
Karel Zak [Wed, 16 Apr 2008 22:16:01 +0000 (00:16 +0200)]
docs: remove date from ReleasNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 16 Apr 2008 21:41:19 +0000 (23:41 +0200)]
docs: update v2.14-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 16 Apr 2008 21:22:23 +0000 (23:22 +0200)]
docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 16 Apr 2008 21:12:40 +0000 (23:12 +0200)]
cal: use HAVE_LIB{NCURSES,NCURSESW} instead HAVE_NCURSES
The HAVE_NCURSES is obsolete macro. The autotool generates HAVE_LIBxxx macros.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 16 Apr 2008 20:47:37 +0000 (22:47 +0200)]
more: use HAVE_WIDECHAR instead ENABLE_WIDECHAR
This problem has been detected by tools/codecheck-config.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 16 Apr 2008 20:37:48 +0000 (22:37 +0200)]
po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
Benno Schulenberg [Wed, 16 Apr 2008 20:21:38 +0000 (22:21 +0200)]
po: update nl.po (from translationproject.org)
Karel Zak [Wed, 16 Apr 2008 20:04:46 +0000 (22:04 +0200)]
build-sys: remove unnecessary check-local target from login-utils/
We have all tests in the tests/ directory.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 16 Apr 2008 12:13:42 +0000 (14:13 +0200)]
mkswap: set errno=0 in write_all()
Signed-off-by: Karel Zak <kzak@redhat.com>
Dmitry V. Levin [Tue, 15 Apr 2008 23:26:56 +0000 (03:26 +0400)]
setarch: provide backwards compatibility
The getopt_long(3) use introduced by commit
8df90dec2bfd8c876ddd4cea010f40550d4e24aa
broke backwards compatibility.
Old behavior:
$ i386 uname -m
i686
New behavior:
$ i386 uname -m
i386: invalid option -- m
Linux
Traditional method to fix it is to disable program arguments reordering
by prefixing getopt_long's optstring with '+' character.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
LaMont Jones [Wed, 16 Apr 2008 04:59:28 +0000 (22:59 -0600)]
Merge commit 'origin/master'
Conflicts:
mount/lomount.c
mount/lomount.h
mount/mount.c
LaMont Jones [Wed, 16 Apr 2008 04:49:19 +0000 (22:49 -0600)]
Merge branch 'stable/v2.13'
Karel Zak [Tue, 15 Apr 2008 23:32:10 +0000 (01:32 +0200)]
losetup: fix typo in losetup.8
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 15 Apr 2008 23:29:43 +0000 (01:29 +0200)]
docs: add note about losetup --sizelimit to ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Benno Schulenberg [Tue, 15 Apr 2008 11:56:28 +0000 (13:56 +0200)]
chfn, chsh, login: collapsing three similar messages into a single one
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Benno Schulenberg [Tue, 15 Apr 2008 10:20:25 +0000 (12:20 +0200)]
losetup: split help message into two smaller parts
As it has already changed since the previous release, take the opportunity
to cut it into two more manageable chunks for translators.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 15 Apr 2008 21:18:36 +0000 (23:18 +0200)]
swapon: fix swsuspend detection
Welcome to hell where S1SUSPEND/S2SUSPEND is
"swsuspend" in libblkid
and
"suspend" in libvolume_id
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 15 Apr 2008 19:27:23 +0000 (21:27 +0200)]
mount: fix typo in mount.8
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 15 Apr 2008 11:44:21 +0000 (13:44 +0200)]
losetup: mark the option -s as deprecated
Signed-off-by: Karel Zak <kzak@redhat.com>
Shachar Shemesh [Tue, 15 Apr 2008 11:11:40 +0000 (13:11 +0200)]
mount: add support for sizelimit= mount option (for loop mounts)
[kzak@redhat.com: split the original patch to small patches]
Signed-off-by: Shachar Shemesh <shachar@lingnu.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Shachar Shemesh [Tue, 15 Apr 2008 10:57:35 +0000 (12:57 +0200)]
losetup: add --sizelimit option
[kzak@redhat.com: split the original patch to small patches]
Signed-off-by: Shachar Shemesh <shachar@debian.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
LaMont Jones [Tue, 15 Apr 2008 00:19:15 +0000 (18:19 -0600)]
changelog: release
Karel Zak [Mon, 14 Apr 2008 22:35:05 +0000 (00:35 +0200)]
mkswap: when writing the signature page, handle EINTR returns
If the signature page write bumps into EINTR, it should finish the
write, instead of dying.
Addresses-Ubuntu-Bug: 206113
Signed-off-by: LaMont Jones <lamont@canonical.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
LaMont Jones [Tue, 15 Apr 2008 00:17:25 +0000 (18:17 -0600)]
Revert "mkswap: when writing the signature page, handle EINTR returns."
This reverts commit
5a913db9576f87ae9780d22de7d7f614e7f53dda .
Karel Zak [Mon, 14 Apr 2008 22:35:05 +0000 (00:35 +0200)]
mkswap: when writing the signature page, handle EINTR returns
If the signature page write bumps into EINTR, it should finish the
write, instead of dying.
Addresses-Ubuntu-Bug: 206113
Signed-off-by: LaMont Jones <lamont@canonical.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 14 Apr 2008 12:24:03 +0000 (14:24 +0200)]
build-sys: update .gitignore files
Signed-off-by: Karel Zak <kzak@redhat.com>
James Youngman [Sun, 13 Apr 2008 18:58:18 +0000 (19:58 +0100)]
build-sys: ignore a bunch of generated files, mostly binaries
Signed-off-by: James Youngman <jay@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
James Youngman [Sat, 12 Apr 2008 11:53:07 +0000 (12:53 +0100)]
login: rewrite is_local() to remove limits on line length
Signed-off-by: James Youngman <jay@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 14 Apr 2008 10:51:41 +0000 (12:51 +0200)]
docs: cleanup README.devel, add note about coding style and Signed-off-by
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 14 Apr 2008 10:16:14 +0000 (12:16 +0200)]
fdisk: message tweak
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 2 Apr 2008 09:34:12 +0000 (11:34 +0200)]
scriptreplay: rewrite in C
The dependence on Perl sucks...
Co-Author: James Youngman <jay@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Signed-off-by: James Youngman <jay@gnu.org>
LaMont Jones [Sat, 12 Apr 2008 03:01:45 +0000 (21:01 -0600)]
changelog: release
LaMont Jones [Wed, 9 Apr 2008 23:58:18 +0000 (17:58 -0600)]
mkswap: when writing the signature page, handle EINTR returns.
If the signature page write bumps into EINTR, it should finish the
write, instead of dying.
Addresses-Ubuntu-Bug: 206113
Signed-off-by: LaMont Jones <lamont@canonical.com>
LaMont Jones [Wed, 9 Apr 2008 23:18:21 +0000 (17:18 -0600)]
Merge commit 'origin/master'
Karel Zak [Wed, 9 Apr 2008 13:03:22 +0000 (15:03 +0200)]
docs: update v2.14-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 9 Apr 2008 09:52:11 +0000 (11:52 +0200)]
mount: remove set_proc_name()
This function has been used in background mount code.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 2 Apr 2008 11:14:39 +0000 (13:14 +0200)]
hwclock: add --adjfile=path option
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 28 Mar 2008 01:16:37 +0000 (02:16 +0100)]
ldattach: use glibc termios
Signed-off-by: Karel Zak <kzak@redhat.com>
James Youngman [Sun, 6 Apr 2008 11:15:46 +0000 (12:15 +0100)]
fsck.minix: reset the terminal state if we are killed by a fatal signal
[kzak@redhat.com: remove unnecessary volatile type qualifier]
Signed-off-by: James Youngman <jay@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Benno Schulenberg [Mon, 7 Apr 2008 20:50:22 +0000 (22:50 +0200)]
mkfs.cramfs: switch on localization.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
James Youngman [Sun, 6 Apr 2008 22:19:53 +0000 (23:19 +0100)]
script: read returns a size_t
Signed-off-by: James Youngman <jay@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
James Youngman [Sun, 6 Apr 2008 11:54:44 +0000 (12:54 +0100)]
login-utils: cleanup strlen() and fgets() usage
The strlen() returns size_t, not int. The fgets() returns
pointer, not int.
Signed-off-by: James Youngman <jay@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
James Youngman [Sun, 6 Apr 2008 10:45:57 +0000 (11:45 +0100)]
fsck.minix: correct the error message given when we can't open the device
Don't actually print %s in the error message, print the device name,
as was obviously intended. Also, print the error message
corresponding to the errno value.
[kzak@redhat.com: add __attribute__, coding style cleanups]
Signed-off-by: James Youngman <jay@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>