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

Collapse All | Expand All

(-)mp3val-0.1.8-src/crossapi.cpp~ (-1 / +1 lines)
Lines 241-247 Link Here
241
//Moving failed due to different logical drives of source and destination. Let's copy:
241
//Moving failed due to different logical drives of source and destination. Let's copy:
242
	id=open(szOldName,O_RDONLY);
242
	id=open(szOldName,O_RDONLY);
243
	if(id==-1) return 0;
243
	if(id==-1) return 0;
244
	od=open(szNewName,O_WRONLY|O_CREAT|O_TRUNC);
244
	od=open(szNewName,O_WRONLY|O_CREAT|O_TRUNC,S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
245
	if(od==-1) {
245
	if(od==-1) {
246
		close(id);
246
		close(id);
247
		return 0;
247
		return 0;

Return to bug 318315