Home | History | Annotate | Download | only in rawbu

Lines Matching refs:fullPath

260     char* fullPath = NULL;
287 if (fullPath != NULL) {
288 free(fullPath);
290 fullPath = (char*)malloc(srcLen + strlen(de->d_name) + 2);
291 strcpy(fullPath, srcPath);
292 fullPath[srcLen] = '/';
293 strcpy(fullPath+srcLen+1, de->d_name);
298 if (strcmp(SKIP_PATHS[i].path, fullPath) == 0) {
307 int ret = lstat(fullPath, &statBuffer);
311 fullPath, strerror(errno));
317 printf("Saving dir %s...\n", fullPath);
319 if (write_header(fh, TYPE_DIR, fullPath, &statBuffer) == 0) {
323 if (backup_dir(fh, fullPath) == 0) {
329 if (backupFilePath && strcmp(fullPath, backupFilePath) == 0) {
333 printf("Saving file %s...\n", fullPath);
335 if (write_header(fh, TYPE_FILE, fullPath, &statBuffer) == 0) {
346 FILE* src = fopen(fullPath, "r");
349 fullPath, strerror(errno));
354 int copyres = copy_file(fh, src, size, NULL, fullPath);
364 if (fullPath != NULL) {
365 free(fullPath);