Lines Matching defs:dir
98 const char *error, *dir;
104 dir = ".test-temp-file-create-locked-dir";
105 if (unlink_directory(dir, UNLINK_DIRECTORY_FLAG_RMDIR, &error) < 0)
106 i_fatal("unlink_directory(%s) failed: %s", dir, error);
107 path = t_strconcat(dir, "/lockfile", NULL);
121 if (stat(dir, &st) < 0)
122 i_error("stat(%s) failed: %m", dir);
127 if (unlink_directory(dir, UNLINK_DIRECTORY_FLAG_RMDIR, &error) < 0)
128 i_fatal("unlink_directory(%s) failed: %s", dir, error);