diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/control | 1 | ||||
-rw-r--r-- | debian/copyright | 4 | ||||
-rwxr-xr-x | errnos | 6 |
5 files changed, 12 insertions, 7 deletions
@@ -50,7 +50,7 @@ parallel.1: parallel.docbook errno.o: errnos.h errnos.h: echo '#include <errno.h>' > dump.c - $(CC) -E -dD dump.c | ./errnos > errnos.h + $(CC) -E -dD dump.c | awk '/^#define E/ { printf "{\"%s\",%d},\n", $$2, $$3 }' > errnos.h rm -f dump.c errno.1: errno.docbook diff --git a/debian/changelog b/debian/changelog index 6231155..aa771b4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +moreutils (0.47) UNRELEASED; urgency=low + + * errno: New utility that looks up errno numbers or names. + + -- Joey Hess <joeyh@debian.org> Mon, 04 Jun 2012 11:49:52 -0400 + moreutils (0.46) unstable; urgency=low * Typo. Closes: #649158 diff --git a/debian/control b/debian/control index d873205..aa5f025 100644 --- a/debian/control +++ b/debian/control @@ -20,6 +20,7 @@ Description: additional Unix utilities So far, it includes the following utilities: - chronic: runs a command quietly unless it fails - combine: combine the lines in two files using boolean operations + - errno: look up errno names and descriptions - ifdata: get network interface info without parsing ifconfig output - ifne: run a program if the standard input is not empty - isutf8: check if a file or standard input is utf-8 diff --git a/debian/copyright b/debian/copyright index 2f75df2..56e9c1f 100644 --- a/debian/copyright +++ b/debian/copyright @@ -42,6 +42,10 @@ Files: parallel.c Copyright: 2008 Tollef Fog Heen <tfheen@err.no> License: GPL-2 +Files: errno.c errno.docbook +Copyright: 2012 Lars Wirzenius +License: GPL-2+ + Files: physmem.c Copyright: 2000, 2001, 2003, 2005, 2006 Free Software Foundation, Inc. License: GPL-2+ @@ -1,6 +0,0 @@ -#!/usr/bin/awk -f - -/^#define E/ { - printf "{\"%s\",%d},\n", $2, $3 -} - |