Chameleon

Chameleon Commit Details

Date:2010-08-14 10:25:01 (13 years 8 months ago)
Author:Azimutz
Commit:362
Parents: 361
Message:Almost forgot this. Saw these very different values to store similar paths, played for a while with the values and so far didn't had the need to go higher than 128, enough to hold a 127 character string.
Changes:
M/branches/azimutz/CleanCut/i386/libsaio/stringTable.c
M/branches/azimutz/CleanCut/i386/boot2/drivers.c
M/branches/azimutz/CleanCut/i386/libsaio/acpi_patcher.c

File differences

branches/azimutz/CleanCut/i386/libsaio/acpi_patcher.c
9090
9191
9292
93
93
9494
9595
9696
/** The following ACPI Table search algo, should be reused anywhere needed: */
int search_and_get_acpi_fd(const char * filename, const char ** outDirspec)
{
chardirSpecDSDT[512] = "";
chardirSpecDSDT[128] = "";
const char *override_pathname = NULL; // full path to a file.
intlen = 0, fd = 0;
extern char gMacOSVersion;
branches/azimutz/CleanCut/i386/libsaio/stringTable.c
650650
651651
652652
653
653
654654
655655
656656
*/
int loadOverrideConfig(config_file_t *config)
{
char dirSpecBplist[128] = ""; //Azi:alloc - reminder
char dirSpecBplist[128] = "";
const char*override_pathname = NULL;
const char*filename = "com.apple.Boot.plist";
int count, ret, fd, len = 0;
branches/azimutz/CleanCut/i386/boot2/drivers.c
162162
163163
164164
165
165
166166
167167
168168
long LoadDrivers( char * dirSpec )
{
char dirSpecExtra[1024];
char dirSpecExtra[128];
const char *override_pathfolder = NULL; // full path to a folder.
intfd = 0, len = 0;

Archive Download the corresponding diff file

Revision: 362