am a56ab4b0: am b0b856e2: Fix "ptsname is not thread-safe; use ptsname_r instead" build break.

* commit 'a56ab4b00fe898a1d7768c1d3023fc998c7867b5':
  Fix "ptsname is not thread-safe; use ptsname_r instead" build break.