From: "Serge E. Hallyn" <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
To: Nadia.Derbey-6ktuUTfB/bM@public.gmane.org
Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
Subject: Re: [PATCH -cryo 1/1] Correctly close the semundo procfile after restarting the undo list
Date: Mon, 30 Jun 2008 09:52:09 -0500 [thread overview]
Message-ID: <20080630145209.GA14837@us.ibm.com> (raw)
In-Reply-To: <20080630083841.136024000-6ktuUTfB/bM@public.gmane.org>
Quoting Nadia.Derbey-6ktuUTfB/bM@public.gmane.org (Nadia.Derbey-6ktuUTfB/bM@public.gmane.org):
> [ PATCH 01/01 ]
>
> This is a trivial patch that correctly closes the semundo file after restoring
> the semundo list.
>
> Signed-off-by: Nadia Derbey <Nadia.Derbey-6ktuUTfB/bM@public.gmane.org>
>
> ---
> cr.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: cryo-001/cr.c
> ===================================================================
> --- cryo-001.orig/cr.c 2008-06-27 17:25:57.000000000 +0200
> +++ cryo-001/cr.c 2008-06-30 11:15:41.000000000 +0200
> @@ -1447,7 +1447,7 @@ static int restore_semundo(int fd, pid_t
>
> Free(semid);
> Free(semadj);
> - PT_CLOSE(pid, fd);
> + PT_CLOSE(pid, procfd);
> return ret;
> }
Applied to git tree, thanks.
-serge
prev parent reply other threads:[~2008-06-30 14:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080630083821.916524000@bull.net>
2008-06-30 8:38 ` [PATCH -cryo 1/1] Correctly close the semundo procfile after restarting the undo list Nadia.Derbey-6ktuUTfB/bM
[not found] ` <20080630083841.136024000-6ktuUTfB/bM@public.gmane.org>
2008-06-30 14:52 ` Serge E. Hallyn [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080630145209.GA14837@us.ibm.com \
--to=serue-r/jw6+rmf7hqt0dzr+alfa@public.gmane.org \
--cc=Nadia.Derbey-6ktuUTfB/bM@public.gmane.org \
--cc=containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox