From f7c418155a0d4821a5bc214e242185379356edeb Mon Sep 17 00:00:00 2001 From: Craig Small Date: Tue, 1 Jan 2013 13:13:44 +1100 Subject: [PATCH] Expose freeproc for libproc freeproc was missing from the libproc API which meant while you could allocate proc structures, you couldn't free them! Bug-Debian: http://bugs.debian.org/681653 --- NEWS | 1 + proc/Makefile.am | 4 ++-- proc/libprocps.sym | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 1e1eef86..9a0ac387 100644 --- a/NEWS +++ b/NEWS @@ -18,6 +18,7 @@ procps-ng-3.3.6 * ps: Fixed negative etime RedHat #871819, #433266 * pkill -c option returns Debian #693783 * pmap uses correct types for memory allocation Debian #688180 + * expose freeproc, adds function to API Debian #681653 procps-ng-3.3.5 diff --git a/proc/Makefile.am b/proc/Makefile.am index e646dca9..06ed1d52 100644 --- a/proc/Makefile.am +++ b/proc/Makefile.am @@ -6,9 +6,9 @@ AM_CPPFLAGS = \ # # See http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html -LIBprocps_CURRENT=1 +LIBprocps_CURRENT=2 LIBprocps_REVISION=0 -LIBprocps_AGE=0 +LIBprocps_AGE=1 lib_LTLIBRARIES = libprocps.la diff --git a/proc/libprocps.sym b/proc/libprocps.sym index 141ca85f..51d53c95 100644 --- a/proc/libprocps.sym +++ b/proc/libprocps.sym @@ -10,6 +10,7 @@ global: escape_strlist; escaped_copy; free_slabinfo; + freeproc; get_pid_digits; get_slabinfo; getbtime;