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: VAX PATCH: remove FILE_NAME_NONDIRECTORY


"John David Anglin" <dave@hiauly1.hia.nrc.ca> writes:
> OK, if there are no other objections to using the basename function,
> this looks like what needs to be done:
> 
> 1) DIR_SEPARATOR needs to be defined to be `]' for VMS in
>    libiberty/basename.c.  Currently, I believe the basename call in
>    mkdeps.c won't work properly.

vax/xm-vms.h also says directory specifications can be enclosed in
angle brackets.  FILE_NAME_NONDIRECTORY also seems to check for ':'.

Can basename() handle this?

-- 
http://lars.nocrew.org/


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