This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cp/repo.c: Bugfix for filename handling


>>>>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]