This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] [PATCH] Move cpplib out of the gcc directory
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: Zack Weinberg <zack at codesourcery dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, dj at redhat dot com
- Date: 18 May 2004 18:41:21 -0400
- Subject: Re: [RFC] [PATCH] Move cpplib out of the gcc directory
- References: <40AA8E23.9060609@gnu.org>
Paolo Bonzini <bonzini@gnu.org> writes:
> - I decided to move hashtable.c to libiberty (it looks useful enough).
> This means K&R'ing it.
libiberty already has hashtab.c. It seems confusing to have both
hashtab.c and hashtable.c. The difference between them seems to be
that hashtab.c is generic, while hashtable.c is specialized to only
work on strings, and to omit deleting entries from the hash table.
If we are going to move hashtable.c to libiberty, perhaps we could
give it a different name, like hashstr.c or something like that.
Ian