[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[csmith-project/creduce] cb2a44: exit with -1 instead of 0



  Branch: refs/heads/master
  Home:   https://github.com/csmith-project/creduce
  Commit: cb2a448b933950b2a61eb5a58ad484d74843bc08
      https://github.com/csmith-project/creduce/commit/cb2a448b933950b2a61eb5a58ad484d74843bc08
  Author: Yang Chen <chenyang@cs.utah.edu>
  Date:   2016-08-14 (Sun, 14 Aug 2016)

  Changed paths:
    M clang_delta/RewriteUtils.h

  Log Message:
  -----------
  exit with -1 instead of 0

When ENABLE_TRANS_ASSERT is not defined, we should exit with
-1 instead of 0 upon failures. Otherwise, we can get into
infinite loop due to the faked successful exit code.