]> granicus.if.org Git - sudo/commitdiff
malloc options in devel mode for visudo too
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 19 Nov 2008 12:37:05 +0000 (12:37 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 19 Nov 2008 12:37:05 +0000 (12:37 +0000)
visudo.c

index e211d4565f0b4bdb9ff9946030d662b99c0c0b63..cd468c1688cc82bfce8189ea01a4cece38fbaeee 100644 (file)
--- a/visudo.c
+++ b/visudo.c
@@ -150,6 +150,10 @@ main(argc, argv)
     struct sudoersfile *sp;
     char *args, *editor, *sudoers_path;
     int ch, checkonly, quiet, strict, oldperms;
+#if defined(SUDO_DEVEL) && defined(__OpenBSD__)
+    extern char *malloc_options;
+    malloc_options = "AFGJPR";
+#endif
 
     Argv = argv;
     if ((Argc = argc) < 1)