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

Collapse All | Expand All

(-)src/fileio.c.old (-2 / +2 lines)
Lines 4350-4361 Link Here
4350
	if( getenv( "HOME" ) == NULL )
4350
	if( getenv( "HOME" ) == NULL )
4351
	   return 0;
4351
	   return 0;
4352
   
4352
   
4353
	snprintf( working_dir, MAX_FDP_LEN, getenv( "HOME" ) );
4353
	snprintf( working_dir, MAX_FDP_LEN, "%s/.dbhub", getenv( "HOME" ) );
4354
#endif
4354
#endif
4355
#endif
4355
#endif
4356
     }
4356
     }
4357
   strncpy(path, working_dir, MAX_FDP_LEN);
4357
   strncpy(path, working_dir, MAX_FDP_LEN);
4358
   snprintf( config_dir, MAX_FDP_LEN, "%s/.dbhub", path );
4358
   snprintf( config_dir, MAX_FDP_LEN, "%s", path );
4359
4359
4360
   sprintfa(path, "/tmp");
4360
   sprintfa(path, "/tmp");
4361
   sprintf(un_sock_path, "%s/%s", path, UN_SOCK_NAME);
4361
   sprintf(un_sock_path, "%s/%s", path, UN_SOCK_NAME);

Return to bug 212132