Re: [PATCH 2/2] Move loaded_libs check into search_and_load_file

Ben Elliston <[email protected]>
Newsgroups gmane.comp.sysutils.dejagnu.general
Message-ID <20190308002020.GA10478@bapbop>
> The solution presented here has search_and_load_file take a callback
> function, this allows the "has this file been loaded already?" check
> to only be performed for the users that care, while also allowing
> the check to be deferred until we know exactly which file we are
> going to load.  I also include a check specifically to spot the case
> where a tool init file is loaded as a library, and warn about it.

Any comments on this, Jacob?

Cheers,
Ben

_______________________________________________
DejaGnu mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/dejagnu
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEENSRiQfm6HKSVS9n7K6SL/BBhB5UFAlyBtUMACgkQK6SL/BBh
B5WOAQ/+PuoopouTIzLKQVNma7TMRliD6UE4yM1EomXdQK9npUFpFUmsXZg/9Gzj
J1cuag3xXdJEiro1xbLVxS9+MgLT/HEvEk3uJ/2B7FSSuKAOnMEOQIIc4gjIlagK
TikWJPbpCwV/WqxYXsNLhlT/gJgJsa2hSjFzkWAacoNtQiyLda5MjWmJYoMakGZr
VZ8qJyEfmJ5vA7w7u1v3f1VhUGeda0hVuZt+cd6QonQ41+JKXzZOmAIkfcK8Drsk
k18QOLfXkVL7l90PNi2j+P5sCo5R5wCnCDSvf8GR8d6FzNvd97NInyeIoR5RrMWl
TEuQbI4QFxDM8JTys+owJfWNk2Tm1EE8kVXN9Ivw8PtdqXuKLeg0Sx0QvuXsq6iA
hY46p3As/KW0f1X7XwGr3iwHs22qa2UD6P0d/YaYVavpQoOWhNw6yee13l8FV4mE
PYgnQ2i1RIB7Mo5zI5oPFSEa6HzLb1fVRnZ1qHH5Tvx9WMfGl2x4PSE45YuNOl5g
5HLD0Vj0/VV8dS7TPVgLsAEJcRLu6q6Z/+EAgy3jgnKkSEB8CeZOakQBL1O1jtRP
N+0tmwJtkVQVf2EY1+IGTCLM8RnirK7Kpb/4ttXgY0ULupMc2qBTN/lo28H/6a6N
gTnKj+g/auyQCLWCryTPL4KVHNjjSN01YDB3Ek4eHjBEqkErJ7k=
=mKsV
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.