Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 274119 | Differences between
and this patch

Collapse All | Expand All

(-)a/initialize.c (-1 / +5 lines)
Lines 95-102 void fuse_operations_setup(){ Link Here
95
95
96
void create_tmp_dir(char **tmp_dir, char **tmp_file){
96
void create_tmp_dir(char **tmp_dir, char **tmp_file){
97
    
97
    
98
    char *tmpdirprefix = getenv("TMPDIR");
99
    if(!tmpdirprefix) {
100
        tmpdirprefix = DEFAULT_TMP_DIR;
101
    }
98
    if (*tmp_dir == NULL)
102
    if (*tmp_dir == NULL)
99
    	if (gstrcpy(tmp_dir, DEFAULT_TMP_DIR) == -1)
103
    	if (gstrcpy(tmp_dir, tmpdirprefix) == -1)
100
    		fail(-1);
104
    		fail(-1);
101
    if (gpthpro(tmp_dir) != 0)
105
    if (gpthpro(tmp_dir) != 0)
102
    	fail(ERR_NO_TMP);
106
    	fail(ERR_NO_TMP);

Return to bug 274119