[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [PATCH 1/2] smemcap: close /proc handle upon cleaning up
From: Denys Vlasenko <vda.linux () googlemail ! com>
Date: 2010-10-22 11:19:10
Message-ID: AANLkTin+9m8+_UcE1cRuhGnt=y6E09=FCBSXGmhOMqhK () mail ! gmail ! com
[Download RAW message or body]
On Thu, Oct 21, 2010 at 10:44 PM, Alexander Shishkin <virtuoso@slind.org> wrote:
> Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
> ---
> procps/smemcap.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/procps/smemcap.c b/procps/smemcap.c
> index f951a5f..196c91f 100644
> --- a/procps/smemcap.c
> +++ b/procps/smemcap.c
> @@ -125,5 +125,8 @@ int smemcap_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
> }
> }
>
> + if (ENABLE_FEATURE_CLEAN_UP)
> + closedir(d);
> +
> return EXIT_SUCCESS;
> }
> --
> 1.7.2.1.45.gb66c2
Applied, thanks!
--
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic