Skip to content
Snippets Groups Projects
  1. Sep 25, 2017
    • Colin Walters's avatar
      lockfile: Use an `initialized` member rather than explicit init · 32a42931
      Colin Walters authored
      This makes us more friendly to being embedded in a GObject or
      the like that's fully zero-initialized, rather than relying on the special
      `-1` value for the fd.
      
      Calls to `glnx_release_lock_file()` become idempotent, so it's easy to call it
      unconditionally in an object finalizer.
      32a42931
  2. May 05, 2015
Loading