This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: VAX PATCH: remove FILE_NAME_NONDIRECTORY
John David Anglin wrote:-
> > It may be that you need to change basename()'s interface so that it
> > returns a malloc-ed string which the caller is reponsible for freeing;
> > I would prefer that to giving up on creating shared portable code.
>
> Here is the patch to gcc to use the basename(). What do you think?
At a glance it looks good to me. I can't give approval, though.
Thanks,
Neil.