)]}'
{
  "commit": "d28c13e7119a605ef152a4310e9415dc7ae9b8f3",
  "tree": "cddcf4e35da0161ac0c98f34795c0cbddf1b436c",
  "parents": [
    "6c3f73bc536082fec38bd36e6c8a121033c68835"
  ],
  "author": {
    "name": "Herbert Xu",
    "email": "herbert@gondor.apana.org.au",
    "time": "Thu Oct 02 19:49:48 2014 +0800"
  },
  "committer": {
    "name": "Herbert Xu",
    "email": "herbert@gondor.apana.org.au",
    "time": "Thu Oct 02 19:49:48 2014 +0800"
  },
  "message": "[TRAP] Make sure evalskip is zero before running traps\n\nAs it is if dotrap is called with evalskip set to a nonzero value,\nit\u0027ll try to execute any set traps.  The result is that the first\ncommand in the first set trap will be executed while the rest of\nthe trap will be silently ignored due to evalskip.  This is highly\ncounterintuitive, even though both bash and ksh exhibit a similar\nbehaviour.\n\nThis patch fixes it by skipping trap processing if evalskip is set\non entry.  It also adds a dotrap call to the top of evaltree to\nensure that\n\n\twhile continue; do\n\t\tcontinue;\n\tdone\n\nhas a chance of running traps.\n\nFinally the pendingsigs check is moved into dotrap for compactness.\n\nSigned-off-by: Herbert Xu \u003cherbert@gondor.apana.org.au\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a56fc5eb9f0574c3080674b75abd8f4f66fced9d",
      "old_mode": 33188,
      "old_path": "ChangeLog",
      "new_id": "81aba6073efa2a999d5c80a2fa0c0ec7c46c9a1f",
      "new_mode": 33188,
      "new_path": "ChangeLog"
    },
    {
      "type": "modify",
      "old_id": "3cfa1e508af1dd652c145500459adb4d17398698",
      "old_mode": 33188,
      "old_path": "src/eval.c",
      "new_id": "7f06931b17a1b043ccf558d3b834aa5682030cd4",
      "new_mode": 33188,
      "new_path": "src/eval.c"
    },
    {
      "type": "modify",
      "old_id": "17316c959cf38066779412b96c02117f24b13883",
      "old_mode": 33188,
      "old_path": "src/trap.c",
      "new_id": "e34e0f81bfc8d98fcdde5978849eb4b62f409df4",
      "new_mode": 33188,
      "new_path": "src/trap.c"
    }
  ]
}
