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

(-)nforenum-r2309/data.cpp~ (-1 / +1 lines)
Lines 648-654 Link Here
648
	if(dir=="")return false;
648
	if(dir=="")return false;
649
	struct stat Stat;
649
	struct stat Stat;
650
	if(dir[dir.length()-1]=='\\'||dir[dir.length()-1]=='/')
650
	if(dir[dir.length()-1]=='\\'||dir[dir.length()-1]=='/')
651
		dir[dir.length()-1]='\0';
651
		dir.resize(dir.length()-1);
652
	if(stat((dir+"/.renum").c_str(),&Stat))return false;
652
	if(stat((dir+"/.renum").c_str(),&Stat))return false;
653
	else if(Stat.st_mode&S_IFREG)return false;
653
	else if(Stat.st_mode&S_IFREG)return false;
654
	return true;
654
	return true;

Return to bug 323249