rpm/rpmio
Panu Matilainen e571df4b9c Add copy control and in particular, destructor to the macro context
The macro contexts being static structs, they get their destructor
automatically called at program end. Which counter-intuitively *causes*
a leak if macros are stored in an STL container and rpmFreeMacros()
isn't called, because then the container clears itself and the macros
are left dangling, whereas without the destructor they are still
reachable. freeMacros() obviously wants to be a member function but
trying to keep things in the struct land for now.

Doesn't really change anything as of now, but this is needed for moving
the macro storage to C++ container.
2024-04-30 09:06:24 +03:00
..
CMakeLists.txt Relax openssl version requirement 2024-04-18 12:50:24 +03:00
argv.c Add casts that C++ requires but C doesn't across librpmio 2024-04-09 11:00:00 +03:00
base64.c Add casts that C++ requires but C doesn't across librpmio 2024-04-09 11:00:00 +03:00
digest.c Minimally convert digest code to native c++ allocation 2024-04-23 09:36:51 +03:00
digest_libgcrypt.c Minimally convert digest code to native c++ allocation 2024-04-23 09:36:51 +03:00
digest_openssl.c Minimally convert digest code to native c++ allocation 2024-04-23 09:36:51 +03:00
expression.c Natively allocate expression most parser structs 2024-04-23 09:36:51 +03:00
lposix.c Replace temporary argv array in Lua posix.exec() with a vector 2024-04-25 13:25:02 +03:00
lposix.h Merge Lua posix extension into librpmio 2022-04-08 14:11:44 +03:00
macro.c Add copy control and in particular, destructor to the macro context 2024-04-30 09:06:24 +03:00
modemuncher.c Merge Lua posix extension into librpmio 2022-04-08 14:11:44 +03:00
rgetopt.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
rpmfileutil.c Replace a couple of local IO buffers with a vector 2024-04-25 13:25:02 +03:00
rpmglob.c Sanitize rpmGlob() behavior wrt non-glob patterns 2024-03-26 10:52:57 +01:00
rpmhook.c Add casts that C++ requires but C doesn't across librpmio 2024-04-09 11:00:00 +03:00
rpmhook.h Switch the floating point type in rpmhook from float to double 2021-11-22 16:35:56 +02:00
rpmio.c Unbreak zstd compression from 7462ad4dbe 2024-04-24 09:14:51 +03:00
rpmio_internal.h Work around C++ restriction on forward declarations 2024-04-05 13:18:27 +03:00
rpmkeyring.c Use strings as keyid and STL map for keyring storage 2024-04-25 13:25:02 +03:00
rpmlog.c Take advantage of rvasprintf() in rpmlog() 2024-04-25 13:25:02 +03:00
rpmlua.c Replace internal Lua printing stack with a C++ stack 2024-04-23 09:36:51 +03:00
rpmlua.h Handle Lua header C++ guards centrally in rpmlua.h 2024-04-09 08:16:18 +03:00
rpmmacro_internal.h Make rpmmacro_internal.h self-standing, ie include what you use 2024-04-09 08:16:18 +03:00
rpmmalloc.c Drop silly "register" use from our allocation routines 2024-03-18 10:12:39 +02:00
rpmpgp.c Eliminate remaining pgpValStr() uses in the codebase 2023-10-12 14:57:17 +03:00
rpmpgp_dummy.c Allow building rpm without OpenPGP support 2024-03-20 12:42:33 +02:00
rpmpgp_sequoia.c Add c++ guards to internal headers and sources as needed 2024-04-05 13:18:27 +03:00
rpmpgpval.h Add the "Primary Binding" pgp signature type 2024-04-22 15:21:39 +03:00
rpmsq.c Remove most of rpmsq signal machinery, no longer needed 2022-04-08 12:00:11 +03:00
rpmstring.c Add casts that C++ requires but C doesn't across librpmio 2024-04-09 11:00:00 +03:00
rpmstrpool.c Add casts that C++ requires but C doesn't across librpmio 2024-04-09 11:00:00 +03:00
rpmsw.c Rip i386-specific RDTSC support from rpmsw, use gettimeofday() everywhere 2008-04-21 12:39:18 +03:00
rpmver.c Add casts that C++ requires but C doesn't across librpmio 2024-04-09 11:00:00 +03:00
rpmvercmp.c Move rpmvercmp() to librpmio 2020-05-27 14:14:00 +02:00
url.c Eliminate bunch of obvious dead NULL-assignments around librpmio 2011-05-28 19:43:52 +03:00