From 2a0cae347a058f0cc5d81477f75ed0c12b1e54e3 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 23 Oct 2015 21:17:25 +0200 Subject: dpkgpm: Use ptsname_r() instead of ptsname() to be thread-safe This function only exists on a limited number of platforms, so we add a configure check to make sure it exists. Gbp-Dch: ignore --- buildlib/config.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'buildlib') diff --git a/buildlib/config.h.in b/buildlib/config.h.in index c6b1ee669..a887ebf88 100644 --- a/buildlib/config.h.in +++ b/buildlib/config.h.in @@ -34,6 +34,9 @@ #undef HAVE_SETRESUID #undef HAVE_SETRESGID +/* Check for ptsname_r() */ +#undef HAVE_PTSNAME_R + /* Define to the size of the filesize containing structures */ #undef _FILE_OFFSET_BITS -- cgit v1.2.3