Home
last modified time | relevance | path

Searched refs:lastslash (Results 1 – 3 of 3) sorted by relevance

/openbsd/src/gnu/usr.bin/cvs/vms/
Dfilesubr.c830 char *lastslash, *firstper; in ew_add_file() local
836 lastslash = strrchr(fname,'/'); in ew_add_file()
837 if (!lastslash) { in ew_add_file()
838 lastslash = fname; in ew_add_file()
840 if ((firstper=strchr(lastslash,'.')) != strrchr(lastslash,'.')) { in ew_add_file()
/openbsd/src/gnu/usr.bin/perl/vms/
Dvms.c6849 char * lastslash; local
6853 lastslash = strrchr(trndir, '/');
6854 if (lastslash == NULL)
6855 lastslash = trndir;
6857 lastslash++;
6863 if (lastslash[0] == '.') {
6864 if (lastslash[1] == '\0') {
6866 } else if (lastslash[1] == '.') {
6867 if (lastslash[2] == '\0') {
6871 if ((lastslash[2] == '.') && (lastslash[3] == '\0')) {
[all …]
/openbsd/src/gnu/usr.bin/perl/
Dperl.c5032 char *lastslash; in S_mayberelocate() local
5052 lastslash = (char *) my_memrchr(prefix, '/', in S_mayberelocate()
5058 if (lastslash) { in S_mayberelocate()
5060 while ((*lastslash = '\0'), /* Do that, come what may. */ in S_mayberelocate()
5062 && (lastslash = in S_mayberelocate()
5066 if (lastslash[1] == '\0' in S_mayberelocate()
5067 || (lastslash[1] == '.' in S_mayberelocate()
5068 && (lastslash[2] == '/' /* ends "/." */ in S_mayberelocate()
5069 || (lastslash[2] == '/' in S_mayberelocate()
5070 && lastslash[3] == '/' /* or "/.." */ in S_mayberelocate()