This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cp/repo.c: Bugfix for filename handling
- To: "Klaus Kaempf" <kkaempf at progis dot de>
- Subject: Re: cp/repo.c: Bugfix for filename handling
- From: Jason Merrill <jason at cygnus dot com>
- Date: 09 Jun 1998 23:42:19 -0700
- Cc: egcs-patches at cygnus dot com
- References: <19980608145600.26712.qmail@progis.de>
>>>>> Klaus Kaempf <kkaempf@progis.de> writes:
> Mon Jun 8 16:24:42 1998 Klaus Kaempf (kkaempf@progis.de)
> * repo.c (get_base_filename): Use file_name_nondirectory().
> (DIR_SEPARATOR): Define.
> (open_repo_file): Use DIR_SEPARATOR.
file_name_nondirectory should be declared in cp-tree.h, not inside the
function.
You should use it in open_repo_file, too.
Please use diff -p to generate patches.
Jason