From: Craig Small Date: Tue, 1 Jan 2013 02:13:44 +0000 (+1100) Subject: Expose freeproc for libproc X-Git-Tag: v3.3.6~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f7c418155a0d4821a5bc214e242185379356edeb;p=procps-ng 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 --- 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;