* lib/xstrdup.c: New file, from the fileutils.
authorAkim Demaille <akim@epita.fr>
Mon, 2 Oct 2000 09:01:19 +0000 (09:01 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 2 Oct 2000 09:01:19 +0000 (09:01 +0000)
commit95e36146a5be4c921c14f82ab80e3612866c4518
tree15b0f19ffc3bf5583f1ff18cdd159c381198d5ec
parentd7020c20785f7684de4f71ede4fe871fc16f61e7
* lib/xstrdup.c: New file, from the fileutils.
* src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
(parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
instead of strlen + xmalloc + strcpy.
* src/symtab.c (copys): Remove, use xstrdup instead.
ChangeLog
lib/Makefile.am
lib/xstrdup.c [new file with mode: 0644]
src/reader.c
src/symtab.c