sync code with last improvements from OpenBSD
This commit is contained in:
parent
0c904fa153
commit
cac1167ac2
64 changed files with 491 additions and 319 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: exec.c,v 1.24 2021/09/22 20:40:06 deraadt Exp $ */
|
||||
/* $OpenBSD: exec.c,v 1.25 2023/09/06 03:51:20 jsg Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 1991, 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
|
@ -161,7 +161,7 @@ execvpe(const char *name, char *const *argv, char *const *envp)
|
|||
int eacces = 0;
|
||||
char *bp, *cur, *path, buf[PATH_MAX];
|
||||
size_t maplen;
|
||||
int save_errno, n;
|
||||
int save_errno;
|
||||
|
||||
/*
|
||||
* Do not allow null name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue