summaryrefslogtreecommitdiff
path: root/usr.bin/make/make.h
diff options
context:
space:
mode:
authorsjg <sjg@NetBSD.org>2021-02-05 19:19:17 +0000
committersjg <sjg@NetBSD.org>2021-02-05 19:19:17 +0000
commit9f989261bc4c7e772c8dd03ae5d64a185d173b6d (patch)
tree42e9031c4f354b3d07881db1ce6d506b8935d633 /usr.bin/make/make.h
parent78c443ced3d1575ec5145b59a68fd55f713909e9 (diff)
Avoid strdup in mkTempFile
Require caller to pass a buffer and size if they want the tempfile not unlinked. Add Job_TempFile to handle blocking signals around call to mkTempFile, so that meta_open_filemon can use it in jobs mode.
Diffstat (limited to 'usr.bin/make/make.h')
-rw-r--r--usr.bin/make/make.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/make.h b/usr.bin/make/make.h
index fd7ce407be9..6466737784b 100644
--- a/usr.bin/make/make.h
+++ b/usr.bin/make/make.h
@@ -1,4 +1,4 @@
-/* $NetBSD: make.h,v 1.255 2021/02/05 05:42:39 rillig Exp $ */
+/* $NetBSD: make.h,v 1.256 2021/02/05 19:19:17 sjg Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -708,7 +708,7 @@ Boolean shouldDieQuietly(GNode *, int);
void PrintOnError(GNode *, const char *);
void Main_ExportMAKEFLAGS(Boolean);
Boolean Main_SetObjdir(Boolean, const char *, ...) MAKE_ATTR_PRINTFLIKE(2, 3);
-int mkTempFile(const char *, char **);
+int mkTempFile(const char *, char *, size_t);
int str2Lst_Append(StringList *, char *);
void GNode_FprintDetails(FILE *, const char *, const GNode *, const char *);
Boolean GNode_ShouldExecute(GNode *gn);
kmem(9)mbalmer 2013-10-29initialize variablesmbalmer 2013-10-23use MODULE_CLASS_MISC for Lua modulesmbalmer 2013-10-18fix CVS marker and copyright yearmbalmer 2013-10-16welcome lua(4), a devide driver that can create and control Lua states inside...mbalmer