* lib/version-etc.c (version_etc_arn): If no authors are given,
omit authorship info instead of dumping core.
No need to include stdlib.h now.
+2018-12-20 Paul Eggert <eggert@cs.ucla.edu>
+
+ version-etc: allow zero authors
+ * lib/version-etc.c (version_etc_arn): If no authors are given,
+ omit authorship info instead of dumping core.
+
2018-12-19 Bruno Haible <bruno@clisp.org>
lchown tests: Be more permissive regarding errno values.
#include <stdarg.h>
#include <stdio.h>
-#include <stdlib.h>
#if USE_UNLOCKED_IO
# include "unlocked-io.h"
switch (n_authors)
{
case 0:
- /* The caller must provide at least one author name. */
- abort ();
+ /* No authors are given. The caller should output authorship
+ info after calling this function. */
+ break;
case 1:
/* TRANSLATORS: %s denotes an author name. */
fprintf (stream, _("Written by %s.\n"), authors[0]);