RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Jeff Johnson Root: /v/rpm/cvs Email: [email protected] Module: rpm Date: 22-May-2017 23:20:56 Branch: rpm-5_4 Handle: 2017052221205501 Modified files: (Branch: rpm-5_4) rpm CHANGES rpm/rpmio msqio.c Log: - msqio: set oflags/fdno on fd. Summary: Revision Changes Path 1.3501.2.557+1 -0 rpm/CHANGES 1.1.2.7 +4 -1 rpm/rpmio/msqio.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/CHANGES ============================================================================ $ cvs diff -u -r1.3501.2.556 -r1.3501.2.557 CHANGES --- rpm/CHANGES 22 May 2017 21:07:19 -0000 1.3501.2.556 +++ rpm/CHANGES 22 May 2017 21:20:55 -0000 1.3501.2.557 @@ -1,4 +1,5 @@ 5.4.17 -> 5.4.18: + - jbj: msqio: set oflags/fdno on fd. - jbj: msqio: loopback mode refactoring. - jbj: msqio: make peace with mq_notify (and sigev detached threads). - jbj: msqio: add (and prefer) POSIX message queues (if available). @@ . patch -p0 <<'@@ .' Index: rpm/rpmio/msqio.c ============================================================================ $ cvs diff -u -r1.1.2.6 -r1.1.2.7 msqio.c --- rpm/rpmio/msqio.c 22 May 2017 21:07:19 -0000 1.1.2.6 +++ rpm/rpmio/msqio.c 22 May 2017 21:20:56 -0000 1.1.2.7 @@ -588,7 +588,10 @@ #else fdPop(fd); fdPush(fd, msqio, msq, -1); #endif - fdSetOpen(fd, path, -1, msq->omode); + fdSetOpen(fd, path, msq->oflags, msq->omode); +#if defined(WITH_MQ) + (void) fdSetFdno(fd, msq->qid); +#endif return fdLink(fd, "msqOpen"); } @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository [email protected]
