gnucash/libgnucash/backend
Simon Arlott e4619fdae6
xml-backend: Don't try to close m_lockfd if it's not open
m_lockfd is not initialised. If the file is locked then it will not be set
before session_end and close() will be called on an uninitialised int.

Initialise it to -1 in the class definition.
Consistently use -1 instead of "< 0" or "< 1" as the definition of invalid.
Always set it to -1 after closing it.
2021-08-24 09:29:45 +01:00
..
dbi Bug 798156 - glib 2.68.0 breaks gnucash 2021-04-20 11:03:23 -07:00
sql Bug 798156 - glib 2.68.0 breaks gnucash 2021-04-20 11:03:23 -07:00
xml xml-backend: Don't try to close m_lockfd if it's not open 2021-08-24 09:29:45 +01:00
CMakeLists.txt Lowercase cmake commands 2018-05-03 23:18:15 +02:00