[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, master, updated. v0.9.11-4-g3c6da6e

Lennart Poettering gitmailer-noreply at 0pointer.de
Wed Jul 30 05:21:14 PDT 2008


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 master branch has been updated
      from  b7b4b5e589f281c96e111ab64483893f030477e6 (commit)

- Log -----------------------------------------------------------------
3c6da6e... don't pass rediculously high values to umask()
-----------------------------------------------------------------------

Summary of changes:
 src/pulsecore/core-util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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

commit 3c6da6e741ba1d8dcc6ac7cb9ace2d2cdda4dc25
Author: Lennart Poettering <lennart at poettering.net>
Date:   Wed Jul 30 14:21:11 2008 +0200

    don't pass rediculously high values to umask()

diff --git a/src/pulsecore/core-util.c b/src/pulsecore/core-util.c
index c8dc7e5..c4818e3 100644
--- a/src/pulsecore/core-util.c
+++ b/src/pulsecore/core-util.c
@@ -177,7 +177,7 @@ int pa_make_secure_dir(const char* dir, mode_t m, uid_t uid, gid_t gid) {
 #else
     {
     mode_t u;
-    u = umask(~m);
+    u = umask((~m) & 0777);
     r = mkdir(dir, m);
     umask(u);
     }

-- 
hooks/post-receive
PulseAudio Sound Server



More information about the pulseaudio-commits mailing list