- remove an unwanted ";" at the end of the ~CCoinsView() destructor
- in FindBlockPos() and FindUndoPos() only call fclose(), if file is open
- fix an error string in the CBlockUndo class
some small fixes for main.cpp/.h #2005
pull Diapolo wants to merge 1 commits into bitcoin:master from Diapolo:fixes_main changing 2 files +6 −8-
Diapolo commented at 12:19 PM on November 11, 2012: none
-
13e5cce4c3
some small fixes for main.cpp/.h
- remove an unwanted ";" at the end of the ~CCoinsView() destructor - in FindBlockPos() and FindUndoPos() only call fclose(), is file is open - fix an error string in the CBlockUndo class
-
laanwj commented at 6:17 AM on November 15, 2012: member
Indeed:
The behaviour of fclose() is undefined if the stream parameter is an illegal pointer, or is a descriptor already passed to a previous invoca‐ tion of fclose().ACK
- jgarzik referenced this in commit 824e196054 on Nov 16, 2012
- jgarzik merged this on Nov 16, 2012
- jgarzik closed this on Nov 16, 2012
- laudney referenced this in commit 5e4e7c3e62 on Mar 19, 2014
- KolbyML referenced this in commit 6fb1dd7084 on Dec 5, 2020
- DrahtBot locked this on Sep 8, 2021