[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, stable-queue, updated. v0.9.21-47-g6bbdd20

Lennart Poettering gitmailer-noreply at 0pointer.de
Thu Feb 18 18:33:11 PST 2010


This is an automated email from the git hooks/post-receive script. It was
generated because of a push to the "PulseAudio Sound Server" repository.

The stable-queue branch has been updated
      from  6e064d1d6d0292d230c752b1f41034fd0754487b (commit)

- Log -----------------------------------------------------------------
6bbdd20 vala: fix definition of the GLib mainloop adapter
5ce18c3 vala: fix definition of INVALID_INDEX
dfe27f6 shm: don't complain about missing SHM segments
-----------------------------------------------------------------------

Summary of changes:
 src/pulsecore/shm.c |    2 +-
 vala/libpulse.vapi  |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

-----------------------------------------------------------------------

commit dfe27f623765b20bdaff2306109f89baca67d0cf
Author: Lennart Poettering <lennart at poettering.net>
Date:   Fri Feb 19 03:29:36 2010 +0100

    shm: don't complain about missing SHM segments
    
    If two clients try to cleanup the SHM directory at the same time, they
    might want to open and then delete the same segment at the same time, in
    which case one client might win, the other one lose. In this case, don't
    warn about ENOENT.

diff --git a/src/pulsecore/shm.c b/src/pulsecore/shm.c
index fbf777a..1e31d54 100644
--- a/src/pulsecore/shm.c
+++ b/src/pulsecore/shm.c
@@ -286,7 +286,7 @@ int pa_shm_attach_ro(pa_shm *m, unsigned id) {
     segment_name(fn, sizeof(fn), m->id = id);
 
     if ((fd = shm_open(fn, O_RDONLY, 0)) < 0) {
-        if (errno != EACCES)
+        if (errno != EACCES && errno != ENOENT)
             pa_log("shm_open() failed: %s", pa_cstrerror(errno));
         goto fail;
     }

commit 5ce18c32f6ba8202c9f17f84aaffbdbbd8df071c
Author: Lennart Poettering <lennart at poettering.net>
Date:   Fri Feb 19 03:31:46 2010 +0100

    vala: fix definition of INVALID_INDEX

diff --git a/vala/libpulse.vapi b/vala/libpulse.vapi
index 9e05b14..b02bb56 100644
--- a/vala/libpulse.vapi
+++ b/vala/libpulse.vapi
@@ -46,7 +46,7 @@ namespace PulseAudio {
         [CCode (cname="PA_CHECK_VERSION")]
         public bool CHECK_VERSION(int major, int minor, int micro);
 
-        [CCode (cname="INVALID_INDEX")]
+        [CCode (cname="PA_INVALID_INDEX")]
         public const uint32 INVALID_INDEX;
 
         [CCode (cname="pa_free_cb_t")]

commit 6bbdd200e89bdbf180071e5281c0feb9617de81d
Author: Lennart Poettering <lennart at poettering.net>
Date:   Fri Feb 19 03:32:00 2010 +0100

    vala: fix definition of the GLib mainloop adapter

diff --git a/vala/libpulse.vapi b/vala/libpulse.vapi
index b02bb56..d47ef73 100644
--- a/vala/libpulse.vapi
+++ b/vala/libpulse.vapi
@@ -879,11 +879,11 @@ namespace PulseAudio {
         }
 
         [Compact]
-        [CCode (cname="pa_glib_mainloop", cprefix="pa_glib_mainloop_", free_function="pa_glib_mainloop_free")]
+        [CCode (cheader_filename="pulse/glib-mainloop.h", cname="pa_glib_mainloop", cprefix="pa_glib_mainloop_", free_function="pa_glib_mainloop_free")]
         public class GLibMainLoop {
 
                 [CCode (cname="pa_glib_mainloop_new")]
-                public GLibMainLoop();
+                public GLibMainLoop(MainContext? c = null);
 
                 public unowned MainLoopApi get_api();
         }

-- 
hooks/post-receive
PulseAudio Sound Server



More information about the pulseaudio-commits mailing list