[polypaudio-commits] r519 - /trunk/src/modules/module-detect.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Mon Feb 20 05:59:45 PST 2006
Author: ossman
Date: Mon Feb 20 14:59:42 2006
New Revision: 519
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=519&root=polypaudio&view=rev
Log:
Fixes for the Solaris detection.
Modified:
trunk/src/modules/module-detect.c
Modified: trunk/src/modules/module-detect.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/module-detect.c?rev=519&root=polypaudio&r1=518&r2=519&view=diff
==============================================================================
--- trunk/src/modules/module-detect.c (original)
+++ trunk/src/modules/module-detect.c Mon Feb 20 14:59:42 2006
@@ -30,6 +30,8 @@
#include <stdlib.h>
#include <errno.h>
#include <stdlib.h>
+#include <sys/types.h>
+#include <sys/stat.h>
#include <polypcore/module.h>
#include <polypcore/modargs.h>
@@ -187,7 +189,7 @@
return -1;
}
- if (!S_ISCHR(s))
+ if (!S_ISCHR(s.st_mode))
return 0;
snprintf(args, sizeof(args), "device=%s", dev);
More information about the pulseaudio-commits
mailing list