Skip to contentSkip to conversation

Correctly close the semundo procfile after restarting the undo list

PATCH Applied Nadia.Derbey-6ktuUTfB/[email protected] 2 participants 2 messages Jun 30, 2008 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 Correctly close the semundo procfile after restarting the undo list

[ PATCH 01/01 ]

This is a trivial patch that correctly closes the semundo file after restoring the semundo list.

---
 cr.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
cr.c +1 -1
Index: cryo-001/cr.c
===================================================================
@@ -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;
 }
 

--

A message that is not in the archive (sent off-list or not yet received): 20080630083841.136024000-6ktuUTfB/[email protected]

#3 lore raw
Quoted 16 lines · Quoting Nadia.Derbey-6ktuUTfB/[email protected]…

[ PATCH 01/01 ]

This is a trivial patch that correctly closes the semundo file after restoring the semundo list.

---
 cr.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: cryo-001/cr.c
===================================================================

cr.c static int restore_semundo(int fd, pid_t · line 1452

Quoted 7 lines
cr.c +1 -1
@@ -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