This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: New utility: nscd cache dumper
- From: Joseph Myers <joseph at codesourcery dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Mon, 10 Feb 2020 22:25:50 +0000
- Subject: Re: New utility: nscd cache dumper
- Ironport-sdr: V7udmiDHrljgIR+ewlSFt3am3+Uc0q2akBeDNVvuSpZbRsj7JRGuV0zQqAVuUndziMVu0M0sKh zOieyF3keIwu3eenb5fIsUXBr5CEhTMar2PgD7zPvclDGn8U/e3oAmJzVoJU98gSrE5Ol4HJHT tV5WxhMyL0DRusjiaGN6NtH1LTjlq9LaWiP0zsDtyqnmZ+1wh4pq3rm67tmrysMFm7Tp0cuDYr JA+wLSW5yLnj6I1JVOdKSQnRHqY4cWo8sojDzC40HPAAcaYOwnZrPc6FkMpErWQTSJJThEsZQ7 7CU=
- Ironport-sdr: tbd9IGF13mSG8QsEg1x6yhwqWTSPDw3JK3iLMnxdxSH/X1UEZm2+TMY0Vuu4ONPGOGXQm4AstB /klGqSX142rfwY+pWQbjUxzcDYFZjf95KOiarpSMcGhgRv4QNAuHMifFFwfng8Ts5Pk91e6L2U 8k/+PpVULALsynDW/j1sOoo/z6n4Jxxb0GI2toInsr/skbWhCss5LWLSiRHSryWT4VDerrUhDf Gnu9mX+tXyPotoFSY8tqwlT/gM86cXH9zSXJ6c+Kiwm7lWV+FzIKh2tWoYHBmJQb2LFQJTHuV5 Qvw=
- References: <xnk14ydmbj.fsf@greed.delorie.com>
On Fri, 7 Feb 2020, DJ Delorie wrote:
> diff --git a/nscd/cachedumper.c b/nscd/cachedumper.c
> new file mode 100644
> index 0000000000..4b276f8a73
> --- /dev/null
> +++ b/nscd/cachedumper.c
> @@ -0,0 +1,395 @@
> +#include <ctype.h>
This needs a copyright and license notice.
If you intend to make this an installed program (with a name making it
clear it's something to do with nscd), it also needs --help and --version
support following the GNU Coding Standards (so output to stdout not
stderr, exit with successful status, bug reporting link in --help output,
copyright and license notice in --version output) - with the configured
pkgversion / bugurl properly respected, and with that output being marked
for translation but with the copyright year not being part of the
translated string so the translated string doesn't need to change each
year.
--
Joseph S. Myers
joseph@codesourcery.com