Lines Matching refs:last
35 register char *last;
37 for(last=pathname; *last; last++);
39 while(last>pathname && *--last=='/');
41 for(;last>pathname && *last!='/';last--);
42 if(last==pathname)
45 if(*last!='/')
46 *last = '.';
48 else if(last[1]=='/')
49 last++;
54 for(;*last=='/' && last > pathname; last--);
56 if(last==pathname && *pathname=='/' && pathname[1]=='/')
57 last++;
59 *(last + 1) = 0;