Chameleon

Chameleon Commit Details

Date:2010-01-28 22:19:20 (9 years 5 months ago)
Author:Rekursor
Commit:40
Parents: 39
Message:Fixed new loadAcpiTable code would not prefix the first DSDT attempt with a slash make the filename not been seeked in root dir.
Changes:
M/trunk/i386/libsaio/dsdt_patcher.c

File differences

trunk/i386/libsaio/dsdt_patcher.c
8080
8181
8282
83
83
8484
8585
8686
......
210210
211211
212212
213
213
214214
215215
216216
char dirspec[512];
// Check booting partition
sprintf(dirspec,"%s",filename);
sprintf(dirspec,"/%s",filename); // Rek: add the '/' because filename contains no path !
fd=open (dirspec,0);
if (fd<0)
{// Check Extra on booting partition
int fd;
int len;
bool drop_ssdt;
if (!getValueForKey(kDSDT, &dsdt_filename, &len, &bootInfo->bootConfig))
dsdt_filename="DSDT.aml";

Archive Download the corresponding diff file

Revision: 40