Go to file
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
.github
build Fix build scriptlet append/prepend interaction with Buildsystem 2024-04-23 09:37:10 +03:00
cmake
docs Fix spelling and grammar in conditionalbuilds.md 2024-04-26 16:30:43 +02:00
fileattrs
include/rpm
lib
misc
plugins
po@d5cc5d368e
python
rpmio Add copy control and in particular, destructor to the macro context 2024-04-30 09:06:24 +03:00
scripts
sign
tests Fix multiply defined local macros escaping scope 2024-04-24 11:06:35 +02:00
tools
.dockerignore
.gitignore
.gitmodules
.mailmap
CMakeLists.txt
CONTRIBUTING.md
COPYING
CREDITS
INSTALL
README
config.h.in
installplatform
macros.in
platform.in
rpm.pc.in
rpmpopt.in
rpmrc.in

README

This is RPM, the RPM Package Manager.

The latest releases are always available at:

	http://rpm.org/download.html

Additional RPM documentation (papers, slides, HOWTOs) can also be
found at the same site: http://rpm.org.

http://rpm.org/community all rpm related mailing lists.

RPM was originally written by:

    Erik Troan <ewt@redhat.com>
    Marc Ewing <marc@redhat.com>

See the CREDITS file for a list of folks who have helped us out
tremendously.  RPM is Copyright (c) 1998 by Red Hat Software, Inc.,
and may be distributed under the terms of the GPL and LGPL (see  the
file COPYING for details).