Lines Matching refs:path
88 char *path,
114 if (!(path = makepath(parent, name, (char *)0)))
117 if (Access(path, F_OK) == -1) {
120 Free (path);
123 Free (path);
129 if (!(path = makepath(parent, name, ALERTSHFILE, (char *)0)))
132 if ((fdout = open_locked(path, "w", MODE_NOEXEC)) < 0) {
133 Free (path);
136 Free (path);
152 if (!(path = makepath(Lp_Bin, ALERTPROTOFILE, (char *)0)))
155 if ((fdin = open_locked(path, "r", 0)) < 0) {
156 Free (path);
159 Free (path);
247 if (!(path = makepath(parent, name, ALERTVARSFILE, (char *)0)))
250 if ((fdout = open_locked(path, "w", MODE_NOREAD)) < 0) {
251 Free (path);
254 Free (path);
274 register char *path;
287 if (!(path = makepath(parent, name, (char *)0)))
290 if (Access(path, F_OK) == -1) {
293 Free (path);
296 Free (path);
302 if (!(path = makepath(parent, name, ALERTSHFILE, (char *)0)))
305 if ((fd = open_locked(path, "r", 0)) < 0) {
306 Free (path);
309 Free (path);
345 if (!(path = makepath(parent, name, ALERTVARSFILE, (char *)0)))
348 if ((fd = open_locked(path, "r", 0)) < 0) {
349 Free (path);
352 Free (path);
387 char *path;
399 if (!(path = makepath(parent, name, (char *)0)))
402 if (Access(path, F_OK) == -1) {
405 Free (path);
408 Free (path);
414 if (!(path = makepath(parent, name, ALERTSHFILE, (char *)0)))
416 if (rmfile(path) == -1) {
417 Free (path);
420 Free (path);
422 if (!(path = makepath(parent, name, ALERTVARSFILE, (char *)0)))
424 if (rmfile(path) == -1) {
425 Free (path);
428 Free (path);