From 0f010ef2130e887347212d4a3f81abafc78985a0 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Tue, 28 Jan 2014 18:25:31 -0500 Subject: Base mkostemp_safe on mkostemp It is nice to wrap umask handling and return convention, but glibc's mkostemp is async-signal-safe already. --- src/shared/missing.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/shared/missing.h') diff --git a/src/shared/missing.h b/src/shared/missing.h index 939f81d9c4..ac6f5bf6af 100644 --- a/src/shared/missing.h +++ b/src/shared/missing.h @@ -324,10 +324,6 @@ static inline int name_to_handle_at(int fd, const char *name, struct file_handle # define DRM_IOCTL_DROP_MASTER _IO('d', 0x1f) #endif -#ifndef TMP_MAX -# define TMP_MAX 238328 -#endif - #if defined(__i386__) || defined(__x86_64__) /* The precise definition of __O_TMPFILE is arch specific, so let's -- cgit v1.2.3-54-g00ecf