Home | History | Annotate | Download | only in rawbu

Lines Matching full:fullpath

259     char* fullPath = NULL;
286 if (fullPath != NULL) {
287 free(fullPath);
289 fullPath = (char*)malloc(srcLen + strlen(de->d_name) + 2);
290 strcpy(fullPath, srcPath);
291 fullPath[srcLen] = '/';
292 strcpy(fullPath+srcLen+1, de->d_name);
297 if (strcmp(SKIP_PATHS[i].path, fullPath) == 0) {
306 int ret = lstat(fullPath, &statBuffer);
310 fullPath, strerror(errno));
316 printf("Saving dir %s...\n", fullPath);
318 if (write_header(fh, TYPE_DIR, fullPath, &statBuffer) == 0) {
322 if (backup_dir(fh, fullPath) == 0) {
328 if (backupFilePath && strcmp(fullPath, backupFilePath) == 0) {
332 printf("Saving file %s...\n", fullPath);
334 if (write_header(fh, TYPE_FILE, fullPath, &statBuffer) == 0) {
345 FILE* src = fopen(fullPath, "r");
348 fullPath, strerror(errno));
353 int copyres = copy_file(fh, src, size, NULL, fullPath);
363 if (fullPath != NULL) {
364 free(fullPath);