Skip to content
Commit 6e03588c authored by Christian Hergert's avatar Christian Hergert 💬
Browse files

terminal: fallback to ptsname() if ptsname_r() is not available

We are technically safe from race-conditions here in Builder specific
code today, as we only call ptsname_r() from the main loop. So switching
to the MT-unsafe ptsname() is fine. However, I'd like to always use the
re-entrant safe POSIX functions when possible.

This falls back to ptsname() when ptsname_r() isn't available, such as on
BSD variants.

https://bugzilla.gnome.org/show_bug.cgi?id=773880
parent bdf55093
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment