mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 09:57:41 +00:00
udpated to use configure + pathnames.h
This commit is contained in:
parent
f2660677a7
commit
6474d6e684
6
visudo.c
6
visudo.c
@ -37,6 +37,8 @@
|
|||||||
static char rcsid[] = "$Id$";
|
static char rcsid[] = "$Id$";
|
||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
@ -61,9 +63,9 @@ extern FILE *yyin, *yyout;
|
|||||||
extern int errno, yylineno;
|
extern int errno, yylineno;
|
||||||
|
|
||||||
char buffer[BUFSIZ];
|
char buffer[BUFSIZ];
|
||||||
char *sudoers = SUDOERS;
|
char *sudoers = _PATH_SUDO_SUDOERS;
|
||||||
int status = 0, err_line_no = 0;
|
int status = 0, err_line_no = 0;
|
||||||
char *sudoers_tmp_file = TMPSUDOERS;
|
char *sudoers_tmp_file = _PATH_SUDO_STMP;
|
||||||
FILE *sudoers_tmp_fp=NULL, *sudoers_fp=NULL;
|
FILE *sudoers_tmp_fp=NULL, *sudoers_fp=NULL;
|
||||||
|
|
||||||
RETSIGTYPE Exit()
|
RETSIGTYPE Exit()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user