Lines Matching defs:to
4 * The contents of this file are subject to the terms of the
41 * file -> filename to expand
88 * name -> directory to make
89 * mask -> mask to use during directory creation
133 * file -> file name to check
155 * Dispose of references to .. in the path names.
169 register char *to, *fr;
171 to = fr = path;
172 if (*fr == '/') *to++ = *fr++;
174 /* skip past references to self and validate references to .. */
187 if (((to - 1) == path) && (*path == '/')) continue;
189 if (to <= path) return (FAIL);
191 while ((--to > path) && (to[-1] != '/'));
201 while (((*to++ = *fr) != '\0') && (*fr++ != '/'));
204 if (to == path) *to++ = '.';
205 *to = '\0';