Add mkdtempat() and mkostempsat() for systems without them.

This commit is contained in:
Todd C. Miller
2022-09-21 19:08:11 -06:00
parent 88ac5e09b6
commit 86c108b50b
6 changed files with 109 additions and 40 deletions

View File

@@ -20,16 +20,20 @@
#define PYTHON_IO_HELPERS
#include <config.h>
#include "sudo_compat.h"
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_STDBOOL_H
# include <stdbool.h>
#else
# include "compat/stdbool.h"
#endif /* HAVE_STDBOOL_H */
#include <string.h>
#include <stdarg.h>
#include <signal.h>
#include <pwd.h>
#include <stdbool.h>
#include "sudo_compat.h"
#define MAX_OUTPUT (2 << 16)