From b5d017c6241ac356915b178d0a9588653d18d460 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Tue, 16 Apr 2013 00:35:48 -0400 Subject: Create an open_tmpfd() function to return temp files by FD. Use it. --- makeint.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'makeint.h') diff --git a/makeint.h b/makeint.h index fe43260..976b040 100644 --- a/makeint.h +++ b/makeint.h @@ -413,6 +413,7 @@ int alpha_compare (const void *, const void *); void print_spaces (unsigned int); char *find_percent (char *); const char *find_percent_cached (const char **); +int open_tmpfd (void); FILE *open_tmpfile (char **, const char *); #ifndef NO_ARCHIVES @@ -525,6 +526,10 @@ int strncasecmp (const char *s1, const char *s2, int n); # endif #endif +#ifdef POSIX +# define OUTPUT_SYNC +#endif + #define OUTPUT_SYNC_TARGET 1 #define OUTPUT_SYNC_MAKE 2 -- cgit v1.2.3