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

(-)rezound-0.12.3beta.orig/src/backend/CMIDISDSSoundTranslator.cpp (-1 / +1 lines)
Lines 517-523 Link Here
517
#ifdef DEBUG_PRINT
517
#ifdef DEBUG_PRINT
518
	printf("opening: %s\n",filename.c_str());
518
	printf("opening: %s\n",filename.c_str());
519
#endif
519
#endif
520
	int fd=open(filename.c_str(),!isDevice ? O_RDWR|O_CREAT|O_TRUNC : O_WRONLY);
520
	int fd=open(filename.c_str(),!isDevice ? O_RDWR|O_CREAT|O_TRUNC : O_WRONLY, 0777);
521
	if(fd==-1)
521
	if(fd==-1)
522
		throw runtime_error(string(__func__)+" -- error opening file: "+filename+" -- "+strerror(errno));
522
		throw runtime_error(string(__func__)+" -- error opening file: "+filename+" -- "+strerror(errno));
523
	try
523
	try

Return to bug 515760