[Fusioninventory-commit] [fusinv/fusioninventory-agent] 56502c: non blocking flock on log file

Gonéri Le Bouder goneri at rulezlan.org
Fri Jul 20 11:34:17 UTC 2012


  Branch: refs/heads/2.2.x
  Home:   https://github.com/fusinv/fusioninventory-agent
  Commit: 56502c9f45c6e94d182a8185d1915d86e959408a
      https://github.com/fusinv/fusioninventory-agent/commit/56502c9f45c6e94d182a8185d1915d86e959408a
  Author: Gonéri Le Bouder <goneri at rulezlan.org>
  Date:   2012-07-19 (Thu, 19 Jul 2012)

  Changed paths:
    M lib/FusionInventory/Agent/Logger/File.pm

  Log Message:
  -----------
  non blocking flock on log file

If LOCK_NB is bitwise-or'ed with LOCK_SH or LOCK_EX, then "flock"
returns immediately rather than blocking waiting for the lock;
check the return status to see if you got it.


  Commit: 5b997b954700a5c7d404bbfe776108bd7a6b42ab
      https://github.com/fusinv/fusioninventory-agent/commit/5b997b954700a5c7d404bbfe776108bd7a6b42ab
  Author: Gonéri Le Bouder <goneri at rulezlan.org>
  Date:   2012-07-20 (Fri, 20 Jul 2012)

  Changed paths:
    M lib/FusionInventory/Agent/Task/Inventory/Input/Solaris/Drives.pm

  Log Message:
  -----------
  restore addEntry() loop


Compare: https://github.com/fusinv/fusioninventory-agent/compare/19336f9bad47...5b997b954700


More information about the Fusioninventory-commit mailing list