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

(-)modplugxmms/archive/arch_gzip.cpp (+3 lines)
Lines 88-94 Link Here
88
	FILE *f = popen(lCommand.c_str(),"r");
88
	FILE *f = popen(lCommand.c_str(),"r");
89
	
89
	
90
	if (f <= 0)
90
	if (f <= 0)
91
	{
92
	 	pclose(f);
91
		return false;
93
		return false;
94
	}
92
	
95
	
93
	char line[300];
96
	char line[300];
94
	fgets(line, 80, f);   // ignore a line.
97
	fgets(line, 80, f);   // ignore a line.
(-)modplugxmms/archive/arch_rar.cpp (-1 / +4 lines)
Lines 175-182 Link Here
175
		lName = lBuffer;
175
		lName = lBuffer;
176
		
176
		
177
		if(IsOurFile(lName))
177
		if(IsOurFile(lName))
178
		{
179
		 	pclose(f);
178
			return true;
180
			return true;
181
		}
179
	}
182
	}
180
	
183
	pclose(f);
181
	return false;
184
	return false;
182
}
185
}
(-)modplugxmms/archive/arch_zip.cpp (+5 lines)
Lines 134-144 Link Here
134
		uint32 tempSize;
134
		uint32 tempSize;
135
		if (!processLine(line, &tempSize, lName)) 
135
		if (!processLine(line, &tempSize, lName)) 
136
		{
136
		{
137
		 	pclose(f);
137
			return false;
138
			return false;
138
		}
139
		}
140
		/* Did you forget an else here or something? */
141
		/* Cause there is no real reason to use while if not */
142
		pclose(f);
139
		return true;
143
		return true;
140
		
144
		
141
	}
145
	}
142
	
146
	
147
	pclose(f);
143
	return false;
148
	return false;
144
}
149
}

Return to bug 22076