sync with OpenBSD -current

This commit is contained in:
purplerain 2024-01-18 08:29:14 +00:00
parent ee68147dcd
commit 1cefe29c7e
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
1651 changed files with 283292 additions and 68089 deletions

View file

@ -1,4 +1,4 @@
/* $OpenBSD: library.c,v 1.94 2024/01/16 19:07:31 deraadt Exp $ */
/* $OpenBSD: library.c,v 1.95 2024/01/17 13:00:05 deraadt Exp $ */
/*
* Copyright (c) 2002 Dale Rahn
@ -123,7 +123,7 @@ _dl_tryload_shlib(const char *libname, int type, int flags, int nodelete)
return(0);
}
if ( _dl_fstat(libfile, &sb) < 0) {
if (_dl_fstat(libfile, &sb) < 0) {
_dl_errno = DL_CANT_OPEN;
return(0);
}

View file

@ -1,4 +1,4 @@
/* $OpenBSD: library_mquery.c,v 1.74 2024/01/16 19:07:31 deraadt Exp $ */
/* $OpenBSD: library_mquery.c,v 1.75 2024/01/17 13:00:05 deraadt Exp $ */
/*
* Copyright (c) 2002 Dale Rahn
@ -126,7 +126,7 @@ _dl_tryload_shlib(const char *libname, int type, int flags, int nodelete)
return(0);
}
if ( _dl_fstat(libfile, &sb) < 0) {
if (_dl_fstat(libfile, &sb) < 0) {
_dl_errno = DL_CANT_OPEN;
return(0);
}

View file

@ -1,4 +1,4 @@
/* $OpenBSD: loader.c,v 1.220 2024/01/16 19:07:31 deraadt Exp $ */
/* $OpenBSD: loader.c,v 1.221 2024/01/17 13:00:05 deraadt Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@ -339,7 +339,7 @@ _dl_load_dep_libs(elf_object_t *object, int flags, int booting)
}
}
if ( libcount != 0) {
if (libcount != 0) {
struct listent {
Elf_Dyn *dynp;
elf_object_t *depobj;