$NetBSD: patch-ae,v 1.2 1998/08/07 10:40:41 agc Exp $ --- soundmgr.c.orig Fri Jul 24 03:28:18 1998 +++ soundmgr.c Fri Jul 24 03:53:56 1998 @@ -38,3 +38,3 @@ struct stat sbuf; - + char temp[256]; @@ -86,3 +86,4 @@ { - stat(files[i], &sbuf); + sprintf(temp,"%s/%s",SOUNDS,files[i]); + stat(temp, &sbuf); au_file_data[i] = malloc(sbuf.st_size); @@ -90,3 +91,3 @@ - fi = fopen(files[i], "r"); + fi = fopen(temp, "r"); @@ -108,3 +109,3 @@ { - perror(file); + perror(temp); exit(0);