Playing with autoscan.

* src/reader.c (get_merge_function): Use xstrdup, not strdup.
* src/files.c (skeleton_find): Remove, unused.
* m4/memcmp.m4: New, from the Coreutils 4.5.1.
* m4/prereq.m4 (jm_PREREQ_QUOTEARG): Run jm_FUNC_MEMCMP.
This commit is contained in:
Akim Demaille
2002-09-13 16:12:21 +00:00
parent bd7018115a
commit b906441c95
7 changed files with 29 additions and 63 deletions

View File

@@ -132,8 +132,8 @@ get_merge_function (const char* name, const char* type,
if (syms->next == NULL)
{
syms->next = XMALLOC (merger_list, 1);
syms->next->name = strdup (name);
syms->next->type = strdup (type);
syms->next->name = xstrdup (name);
syms->next->type = xstrdup (type);
syms->next->next = NULL;
merge_functions = head.next;
}