Community
Participate
Working Groups
Build Identifier: 20110615-0604 In ProcessHelper.copyBinaryFile, the call to close() is missing for FileInputStream and FileOutputStream objects. This may cause "real problems" if this function is used to copy many files. In our case, we use the function in the "new project" context where we have to copy several hundred files. Funnily, on Windows, no error occurs. I guess Windows can handle more opened files than my Ubuntu Linux can (by default). Reproducible: Always Steps to Reproduce: 1. Program a for-loop copying files using the mentioned function 2. Make sure to copy several hundred (e.g ~2000) files 3. The mentioned resource error will occur
Created attachment 208765 [details] Proposed fix
Patch applied to cdt_8_0 and master.