autotool-ized the project

This commit is contained in:
hyunghwan.chung
2015-10-14 09:06:44 +00:00
parent d367e2736b
commit 8f985290d0
87 changed files with 135088 additions and 68 deletions

View File

@ -344,7 +344,7 @@ static int copy_string_to (stix_t* stix, const stix_ucs_t* src, stix_ucs_t* dst,
}
if (append && add_delim) dst->ptr[pos++] = add_delim;
stix_copychars (&dst->ptr[pos], src->ptr, src->len);
stix_copyuchars (&dst->ptr[pos], src->ptr, src->len);
dst->len = len;
return 0;
}
@ -1482,7 +1482,7 @@ static const stix_uch_t* add_io_name (stix_t* stix, const stix_ucs_t* name)
ptr = (stix_uch_t*)(link + 1);
stix_copychars (ptr, name->ptr, name->len);
stix_copyuchars (ptr, name->ptr, name->len);
ptr[name->len] = '\0';
link->link = stix->c->io_names;