Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 101337
Collapse All | Expand All

(-)graphviz-2.4/lib/gvc/gvconfig.c (-2 / +3 lines)
Lines 433-440 void gvconfig(GVC_t * gvc) Link Here
433
	return;
433
	return;
434
    }
434
    }
435
435
436
    config_path = malloc(strlen(GVLIBDIR) + 1 + strlen(config_file_name) + 1);
436
#define GVCACHEDIR "/var/cache/graphviz"
437
    strcpy(config_path, GVLIBDIR);
437
    config_path = malloc(strlen(GVCACHEDIR) + 1 + strlen(config_file_name) + 1);
438
    strcpy(config_path, GVCACHEDIR);
438
    strcat(config_path, "/");
439
    strcat(config_path, "/");
439
    strcat(config_path, config_file_name);
440
    strcat(config_path, config_file_name);
440
    rc = stat(config_path, &config_st);
441
    rc = stat(config_path, &config_st);

Return to bug 101337