Searched refs:tmppath (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/RDP/client-1.8.3/
H A Drdesktop.c1803 char *home, path[PATH_MAX], tmppath[PATH_MAX], hash[41]; local
1828 snprintf(tmppath, PATH_MAX, "%s.new", path);
1831 fd = open(tmppath, O_WRONLY | O_CREAT | O_TRUNC, 0600);
1834 perror(tmppath);
1840 perror(tmppath);
1841 unlink(tmppath);
1843 else if (rename(tmppath, path) == -1)
1846 unlink(tmppath);

Completed in 296 milliseconds