* [PATCH -cryo 1/1] Correctly close the semundo procfile after restarting the undo list
[not found] <20080630083821.916524000@bull.net>
@ 2008-06-30 8:38 ` Nadia.Derbey-6ktuUTfB/bM
[not found] ` <20080630083841.136024000-6ktuUTfB/bM@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Nadia.Derbey-6ktuUTfB/bM @ 2008-06-30 8:38 UTC (permalink / raw)
To: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA; +Cc: Nadia Derbey
[-- 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;
}
--
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH -cryo 1/1] Correctly close the semundo procfile after restarting the undo list
[not found] ` <20080630083841.136024000-6ktuUTfB/bM@public.gmane.org>
@ 2008-06-30 14:52 ` Serge E. Hallyn
0 siblings, 0 replies; 2+ messages in thread
From: Serge E. Hallyn @ 2008-06-30 14:52 UTC (permalink / raw)
To: Nadia.Derbey-6ktuUTfB/bM
Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-30 14:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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 is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.