mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-23 10:27:45 +00:00
Enable malloc debugging on OpenBSD when SUDO_DEVEL is set.
This commit is contained in:
parent
50004e00b8
commit
69c627658f
4
sudo.c
4
sudo.c
@ -154,6 +154,10 @@ main(argc, argv)
|
|||||||
sigaction_t sa;
|
sigaction_t sa;
|
||||||
VOID *ld = NULL;
|
VOID *ld = NULL;
|
||||||
extern char **environ;
|
extern char **environ;
|
||||||
|
#if defined(SUDO_DEVEL) && defined(__OpenBSD__)
|
||||||
|
extern char *malloc_options;
|
||||||
|
malloc_options = "AFGJPR";
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_SETLOCALE
|
#ifdef HAVE_SETLOCALE
|
||||||
setlocale(LC_ALL, "C");
|
setlocale(LC_ALL, "C");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user