Merge change 1363

* changes:
  Original version of otccn.c from http://bellard.org/otcc/otccn.c