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

/macosx-10.9.5/WebKit2-7537.78.2/Shared/linux/SandboxProcess/
H A DSandboxEnvironmentLinux.cpp406 char oldPath[maximumPathLength]; local
408 strlcpy(oldPath, sourceFile, maximumPathLength);
413 if (lstat(oldPath, &fileInfo) == -1) {
415 fprintf(stderr, "Couldn't obtain information about %s: %s\n", oldPath, strerror(errno));
422 const char* endOfBaseDirectoryInSource = strrchr(oldPath, '/');
424 fprintf(stderr, "Invalid source: %s.\n", oldPath);
432 strlcpy(baseDirectoryOfSource, oldPath, endOfBaseDirectoryInSource - oldPath + 2);
439 if (link(oldPath, targetPath) == -1) {
441 fprintf(stderr, "Linking %s failed: %s.\n", oldPath, strerro
[all...]
/macosx-10.9.5/Security-55471.14.18/include/security_filedb/
H A DAtomicFile.cpp801 const char *oldPath = mPath.c_str(); local
810 // oldPath is the "temp filename".
815 if(copyfile(newPath, oldPath, s, COPYFILE_SECURITY | COPYFILE_NOFOLLOW) == -1) // Not fatal
816 secdebug("atomicfile", "copyfile (%s, %s): %s", oldPath, newPath, strerror(errno));
821 ::utimes(oldPath, NULL);
823 if (::rename(oldPath, newPath) == -1)
826 secdebug("atomicfile", "rename (%s, %s): %s", oldPath, newPath, strerror(errno));
833 secdebug("atomicfile", "%p commited %s", this, oldPath);
/macosx-10.9.5/Security-55471.14.18/libsecurity_filedb/lib/
H A DAtomicFile.cpp801 const char *oldPath = mPath.c_str(); local
810 // oldPath is the "temp filename".
815 if(copyfile(newPath, oldPath, s, COPYFILE_SECURITY | COPYFILE_NOFOLLOW) == -1) // Not fatal
816 secdebug("atomicfile", "copyfile (%s, %s): %s", oldPath, newPath, strerror(errno));
821 ::utimes(oldPath, NULL);
823 if (::rename(oldPath, newPath) == -1)
826 secdebug("atomicfile", "rename (%s, %s): %s", oldPath, newPath, strerror(errno));
833 secdebug("atomicfile", "%p commited %s", this, oldPath);
/macosx-10.9.5/Heimdal-323.92.1/lib/sqlite/
H A Dsqlite3.c30884 char *oldPath = pCtx->lockProxyPath; local
[all...]

Completed in 406 milliseconds