[pulseaudio-commits] r2164 - /branches/prepare-0.9.10/src/pulsecore/shm.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Thu Mar 27 16:32:58 PDT 2008


Author: lennart
Date: Fri Mar 28 00:32:57 2008
New Revision: 2164

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2164&root=pulseaudio&view=rev
Log:
merge r2110 from trunk

Modified:
    branches/prepare-0.9.10/src/pulsecore/shm.c

Modified: branches/prepare-0.9.10/src/pulsecore/shm.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/prepare-0.9.10/src/pulsecore/shm.c?rev=2164&root=pulseaudio&r1=2163&r2=2164&view=diff
==============================================================================
--- branches/prepare-0.9.10/src/pulsecore/shm.c (original)
+++ branches/prepare-0.9.10/src/pulsecore/shm.c Fri Mar 28 00:32:57 2008
@@ -318,6 +318,7 @@
 
 int pa_shm_cleanup(void) {
 
+#ifdef HAVE_SHM_OPEN
 #ifdef SHM_PATH
     DIR *d;
     struct dirent *de;
@@ -375,7 +376,8 @@
     }
 
     closedir(d);
-#endif
+#endif /* SHM_PATH */
+#endif /* HAVE_SHM_OPEN */
 
     return 0;
 }




More information about the pulseaudio-commits mailing list