mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-06 13:09:50 +00:00
childerr needs to be volatile so gcc won't optimize it away.
PR: bin/85830 MFC after: 1 week
This commit is contained in:
parent
330cdc3318
commit
1cede0c9bd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164154
@ -63,8 +63,9 @@ static int
|
||||
_pam_exec(pam_handle_t *pamh __unused, int flags __unused,
|
||||
int argc, const char *argv[])
|
||||
{
|
||||
int childerr, envlen, i, nitems, pam_err, status;
|
||||
int envlen, i, nitems, pam_err, status;
|
||||
char *env, **envlist, **tmp;
|
||||
volatile int childerr;
|
||||
pid_t pid;
|
||||
|
||||
if (argc < 1)
|
||||
|
Loading…
Reference in New Issue
Block a user