[sheepdog] [sheepdog/sheepdog] 418ff5: lib/util: fix bug for return value check of readli...

Hitoshi Mitake mitake.hitoshi at gmail.com
Sat Oct 10 09:02:33 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/sheepdog/sheepdog
  Commit: 418ff5e5fbbe349803742ae6ac35191d92d2c5f6
      https://github.com/sheepdog/sheepdog/commit/418ff5e5fbbe349803742ae6ac35191d92d2c5f6
  Author: Yu Yang <yuyang at cmss.chinamobile.com>
  Date:   2015-10-10 (Sat, 10 Oct 2015)

  Changed paths:
    M lib/util.c

  Log Message:
  -----------
  lib/util: fix bug for return value check of readlink()

On error, -1 is returned and errno is set to indicate the error.

Signed-off-by: Yu Yang <yuyang at cmss.chinamobile.com>


  Commit: 7e746e6b547b3933b0ae4fc6da8020fcf8752250
      https://github.com/sheepdog/sheepdog/commit/7e746e6b547b3933b0ae4fc6da8020fcf8752250
  Author: Hitoshi Mitake <mitake.hitoshi at gmail.com>
  Date:   2015-10-10 (Sat, 10 Oct 2015)

  Changed paths:
    M lib/util.c

  Log Message:
  -----------
  Merge pull request #184 from justyu/master

lib/util: fix bug for return value check of readlink()


Compare: https://github.com/sheepdog/sheepdog/compare/538887a39691...7e746e6b547b


More information about the sheepdog mailing list