Commit graph

17 commits

Author SHA1 Message Date
Ondrej Holecek
5effc83479 update FSF addresses to FSF web page
FSF addresses used in PA sources are no longer valid and rpmlint
generates numerous warnings during packaging because of this.
This patch changes all FSF addresses to FSF web page according to
the GPL how-to: https://www.gnu.org/licenses/gpl-howto.en.html

Done automatically by sed-ing through sources.
2015-01-14 22:20:40 +02:00
Peter Meerwald
dc7ed820ab memtrap: Debian/kFreeBSD seems to signal SIGSEGV, not SIGBUS
handle both signals on Debian/kFreeBSD, otherwise sigbus-test fails:

Running suite(s): Sig Bus
Let's see if this worked: This is a test that should work fine.
And memtrap says it is good: yes
tests/sigbus-test.c:59:E:sigbus:sigbus_test:0: (after this point) Received signal 11 (Segmentation fault)

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
2014-08-18 15:31:48 +02:00
poljar (Damir Jelić)
d806b19714 Remove pa_bool_t and replace it with bool.
commands used for this (executed from the pulseaudio/src directory):
    find . -regex '\(.*\.[hc]\|.*\.cc\|.*\.m4\)' -not -name 'macro.h' \
        -a -not -name 'reserve.[ch]' -a -not -name 'reserve-monitor.[ch]' \
        -a -not -name 'glib-mainloop.c' -a -not -name 'gkt-test.c' \
        -a -not -name 'glib-mainloop.c' -a -not -name 'gkt-test.c' \
        -a -not -name 'poll-win32.c' -a -not -name 'thread-win32.c' \
        -a -not -name 'dllmain.c' -a -not -name 'gconf-helper.c' \
        -exec sed -i -e 's/\bpa_bool_t\b/bool/g' \
        -e 's/\bTRUE\b/true/g' -e 's/\bFALSE\b/false/g' {} \;

and:
    sed -i -e '181,194!s/\bpa_bool_t\b/bool/' \
        -e '181,194!s/\bTRUE\b/true/' -e \
        '181,194!s/\bFALSE\b/false/' pulsecore/macro.h
2013-07-04 12:25:30 +03:00
Maarten Bosmans
dfd706da71 Squash the last gcc warnings 2011-09-03 12:17:13 +02:00
Maarten Bosmans
53695b83dc Get rid of some unused-function compiler warnings 2011-03-02 14:52:46 +00:00
Maarten Bosmans
bb12ff8356 Apply #ifdefs around functionality not available on win32
And also the reverse: around some win32 specific functionality
2011-02-17 11:58:22 +01:00
Lennart Poettering
996051ebc1 memtrap: properly add items to linked list 2009-09-19 00:21:34 +02:00
Lennart Poettering
f5046759cd llvm-clang-analyzer: drop a few unnecessary assignments and other trivial fixes 2009-09-08 23:46:23 +02:00
Lennart Poettering
0225ef68f2 memtrap: clarify that we are not interested in the return value of write() 2009-07-20 15:50:02 +01:00
Lennart Poettering
7dabe051cd memtrap: properly lock access to memtrap changer 2009-07-01 20:22:38 +02:00
Diego Elio 'Flameeyes' Pettenò
d45c909ab3 When MAP_ANONYMOUS is missing, fallback to MAP_ANON.
While the latter is deprecated on modern systems like glibc-based ones,
FreeBSD (and probably others) still use it, so make sure it falls back if
the new one is missing.
2009-05-15 23:09:59 +02:00
Lennart Poettering
4abd5fae14 memtrap: implicitly page align memory areas 2009-04-29 01:53:28 +02:00
Lennart Poettering
ad12d7d4b0 memtrap,aupdate: split atomic update from memtrap into seperate aupdate framework 2009-04-22 19:10:09 +02:00
Lennart Poettering
67efc76abc memtrap: fix parameter type 2009-04-21 23:02:02 +02:00
Lennart Poettering
928adf412f memtrap: make installation of SIGBUS handler explicit to ease integration into libraries 2009-04-21 22:54:44 +02:00
Lennart Poettering
7b0086185f memtrap: when we fail to handle sigbus say so 2009-04-21 21:36:29 +02:00
Lennart Poettering
6224fac921 memtrap: add new logic to trap and handle SIGBUS 2009-04-21 21:33:32 +02:00