Files
gnucash/libgnucash
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
..
2021-05-29 07:55:26 +08:00
2021-03-02 01:15:32 +01:00
2021-03-02 01:17:26 +01:00