samba-cvs.cvs
[Top] [All Lists]

Rev 112: fixed a fd bug (thanks volker) in http://samba.org/~tridge/ctdb

Subject: Rev 112: fixed a fd bug (thanks volker) in http://samba.org/~tridge/ctdb
From:
Date: Mon, 16 Apr 2007 22:49:38 +1000
------------------------------------------------------------
revno: 112
revision-id: tridge@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
parent: tridge@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
committer: Andrew Tridgell <tridge@xxxxxxxxx>
branch nick: tridge
timestamp: Mon 2007-04-16 22:49:37 +1000
message:
  fixed a fd bug (thanks volker)
modified:
  tests/lockwait.c               lockwait.c-20070416055753-3ztnb4cxqgamfudx-1
=== modified file 'tests/lockwait.c'
--- a/tests/lockwait.c  2007-04-16 06:01:37 +0000
+++ b/tests/lockwait.c  2007-04-16 12:49:37 +0000
@@ -42,6 +42,7 @@
        void (*callback)(void *) = h->callback;
        void *p = h->private_data;
        talloc_set_destructor(h, NULL);
+       close(h->fd[0]);
        talloc_free(h); 
        callback(p);
        waitpid(h->child, NULL, 0);

<Prev in Thread] Current Thread [Next in Thread>
  • Rev 112: fixed a fd bug (thanks volker) in http://samba.org/~tridge/ctdb, tridge <=