am 3617bdf3: am f6304733: Merge "Fix "ptsname is not thread-safe; use ptsname_r instead" build break."

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