Ticket #200 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

[PATCH] uses shm_unlink even when HAVE_SHM_OPEN is not set

Reported by: matthijs Owned by: lennart
Milestone: Component: core
Keywords: Cc:

Description

In pulsecore.c, pa_shm_cleanup uses shm_unlink. This is protected by an #ifdef SHM_PATH, but not by #ifdef HAVE_SHM_OPEN. This breaks compilation on systems where SHM is not available.

The attached (trivial) patch adds the extra #ifdef

Attachments

pulseaudio-0.9.8-noshm.patch (359 bytes) - added by matthijs 4 years ago.
Fix

Change History

Changed 4 years ago by matthijs

Fix

Changed 4 years ago by lennart

  • status changed from new to closed
  • resolution set to fixed

(In [2110]) allow compilation on systems that lack POSIX shared memory. Patch from matthijs, closes #200

Note: See TracTickets for help on using tickets.