Changeset 1ed69dc for tools

Timestamp:
06/28/18 11:26:07 (3 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
cachetimestamps, develop, master, rc-4.0.4, ringdecrementfix, ringperformance
Children:
055a2c9, b06b894
Parents:
47d4f8c
Message:

Be less casual with error checking in SCB data structure

  • ftruncate can fail, so actually check for that during init.
  • If this does happen, return an error from libtrace_scb_init() -- this means that libtrace_scb_init() now returns an int rather than void.
  • Update other API functions to make sure that they don't die horribly if the error returned by init is ignored.
(No files)

Note: See TracChangeset for help on using the changeset viewer.