jcs's openbsd hax
openbsd

revert cache lookup for full pathnames

robert ba367c05 11e92b75

+1 -8
+1 -8
libexec/ld.so/library_subr.c
··· 1 - /* $OpenBSD: library_subr.c,v 1.54 2023/04/24 08:59:09 robert Exp $ */ 1 + /* $OpenBSD: library_subr.c,v 1.55 2023/04/27 12:27:56 robert Exp $ */ 2 2 3 3 /* 4 4 * Copyright (c) 2002 Dale Rahn ··· 343 343 344 344 _dl_build_sod(lname, &sod); 345 345 req_sod = sod; 346 - 347 - object = _dl_find_loaded_shlib(lname, req_sod, flags); 348 - if (object) { 349 - _dl_free((char *)sod.sod_name); 350 - _dl_free(lpath); 351 - return (object); 352 - } 353 346 354 347 paths[0] = lpath; 355 348 paths[1] = NULL;