Update of /cvsroot/alsa/alsa-driver/utils
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13914/utils
Modified Files:
mod-deps.c
Log Message:
- fixed the build of snd-msnd-pinnacle driver.
added the dependency to CONFIG_X86 in Kconfig.
Index: mod-deps.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/utils/mod-deps.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- mod-deps.c 30 Mar 2004 07:20:31 -0000 1.8
+++ mod-deps.c 24 May 2004 13:29:29 -0000 1.9
@@ -111,9 +111,11 @@
"PPC",
"PPC64",
"X86_64",
+ "X86",
"IA32_EMULATION",
/* architecture specific */
"ARCH_SA1100",
+ "X86_PC9800",
/* other drivers */
"RTC",
"GAMEPORT",
@@ -168,16 +170,21 @@
fullfile = malloc(strlen(basedir) + strlen(hiddendir) + 1 + strlen(filename) +
1);
sprintf(fullfile, "%s/%s", basedir, filename);
- if ((err = read_file_1(fullfile, template)) < 0)
+ if ((err = read_file_1(fullfile, template)) < 0) {
+ free(fullfile);
return err;
+ }
if (!strncmp(filename, "core/", 5))
sprintf(fullfile, "%s/acore/%s", hiddendir, filename + 5);
else
sprintf(fullfile, "%s/%s", hiddendir, filename);
if (access(fullfile, R_OK) == 0) {
- if ((err = read_file_1(fullfile, template)) < 0)
+ if ((err = read_file_1(fullfile, template)) < 0) {
+ free(fullfile);
return err;
+ }
}
+ free(fullfile);
return 0;
}
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog