Lines Matching defs:pathbuf
80 static char *pathbuf;
149 pathbuf = malloc(pathbuflen);
150 if (pathbuf == NULL)
186 p = pathbuf;
188 p = pathbuf + cur->up->pathend;
192 if (p - pathbuf + 2 >= pathbuflen) {
195 np = realloc(pathbuf, pathbuflen);
198 p = np + (p - pathbuf);
199 pathbuf = np;
204 cur->pathend = p - pathbuf;
276 pathbuf[cur->up->pathend] = '\0';
284 pathbuf, strerror(errno));
291 pathbuf);
326 * call, we use the global pathbuf instead of the entry argument.
332 (void) fprintf(stderr, "rm: %s: %s\n", pathbuf,
346 gettext("rm: %s is a directory\n"), pathbuf);
369 pathbuf, yesstr, nostr)) {
388 pathbuf, yesstr, nostr)) {
408 pathbuf, strerror(err));
422 pathbuf, yesstr, nostr)) {
436 pathbuf, strerror(err));
450 gettext("rm: %s: directory renamed\n"), pathbuf);
487 entry = &pathbuf[caller->up->pathend + 1];
498 pathbuf, yesstr, nostr)) {
521 pathbuf, temp.st_mode & 0777, yesstr, nostr)) {
536 "%s\n"), pathbuf);
542 " %s\n"), pathbuf, strerror(err));
551 pathbuf, strerror(err));
604 gettext("rm: cycle detected for %s\n"), pathbuf);