This is real bug - those file descriptors are leaking.
Also to S2_6 - to fix those descriptor leaks.
Check is reversed, I think.
Risk / benefit does not look good at this point of 3.0.7 cycle.
Reply To cazfi
Check is reversed, I think.
Fixed. main/S3_2/S3_1 patch also removes pointless 'goto' from the neighborhood.
Reply To cazfi
Risk / benefit does not look good at this point of 3.0.7 cycle.
Can still be pushed to all other branches before 3.0.7 release.
../../../src/server/stdinhand.c:5116:13: warning: Although the value stored to 'script_file' is used in the enclosing expression, the value is never actually read from 'script_file' [deadcode.DeadStores]
S3_1 and later have two of these as they have loading of two script files implemented the same way.