2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Add sudoerserrorf(), a printf-style yyerror() function.

Use this to display a better error message when using a reserved
work in an alias definition.
This commit is contained in:
Todd C. Miller
2020-11-14 06:17:41 -07:00
parent d28b4291c4
commit 95fb8eb727
6 changed files with 322 additions and 216 deletions

View File

@@ -20,11 +20,7 @@
#ifndef SUDOERS_LOGGING_H
#define SUDOERS_LOGGING_H
#ifdef __STDC__
# include <stdarg.h>
#else
# include <varargs.h>
#endif
#include <stdarg.h>
/*
* Values for sudoers_setlocale()