From: Nadia.Derbey-6ktuUTfB/bM@public.gmane.org
To: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
Cc: Nadia Derbey <Nadia.Derbey-6ktuUTfB/bM@public.gmane.org>
Subject: [PATCH -cryo 1/1] Correctly close the semundo procfile after restarting the undo list
Date: Mon, 30 Jun 2008 10:38:22 +0200 [thread overview]
Message-ID: <20080630083841.136024000@bull.net> (raw)
In-Reply-To: 20080630083821.916524000@bull.net
[-- Attachment #1: cryo_fix_semundo_procfd_close.patch --]
[-- Type: text/plain, Size: 623 bytes --]
[ 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;
}
--
next parent reply other threads:[~2008-06-30 8:38 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 ` Nadia.Derbey-6ktuUTfB/bM [this message]
[not found] ` <20080630083841.136024000-6ktuUTfB/bM@public.gmane.org>
2008-06-30 14:52 ` [PATCH -cryo 1/1] Correctly close the semundo procfile after restarting the undo list Serge E. Hallyn
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=20080630083841.136024000@bull.net \
--to=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