Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/net/lib/libshmif On Linux, pass the inotify descrip...



details:   https://anonhg.NetBSD.org/src/rev/64e2dbec4e55
branches:  trunk
changeset: 787155:64e2dbec4e55
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Jun 04 14:54:34 2013 +0000

description:
On Linux, pass the inotify descriptor up so that we can correctly read
it in the wait() routine.

diffstat:

 sys/rump/net/lib/libshmif/rumpcomp_user.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 50dadaad205f -r 64e2dbec4e55 sys/rump/net/lib/libshmif/rumpcomp_user.c
--- a/sys/rump/net/lib/libshmif/rumpcomp_user.c Tue Jun 04 14:39:31 2013 +0000
+++ b/sys/rump/net/lib/libshmif/rumpcomp_user.c Tue Jun 04 14:54:34 2013 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: rumpcomp_user.c,v 1.11 2013/05/07 16:18:48 pooka Exp $        */
+/*      $NetBSD: rumpcomp_user.c,v 1.12 2013/06/04 14:54:34 pooka Exp $        */
 
 /*-
  * Copyright (c) 2009, 2010 Antti Kantee.  All Rights Reserved.
@@ -137,6 +137,7 @@
                goto out;
        }
        rv = 0;
+       *inotifyp = inotify;
 
  out:
        return rumpuser_component_errtrans(rv);



Home | Main Index | Thread Index | Old Index