New utility: nscd cache dumper

Joseph Myers joseph@codesourcery.com
Mon Feb 10 22:25:00 GMT 2020


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



More information about the Libc-alpha mailing list