Chameleon

Chameleon Commit Details

Date:2010-08-28 20:08:43 (13 years 7 months ago)
Author:Tamás Kosárszky
Commit:438
Parents: 437
Message:Added string terminator in getVolumeLabelAlias(). Changed printing method in activity indicator drawing to prevent logging.
Changes:
M/trunk/i386/boot2/graphics.c
M/trunk/i386/libsaio/disk.c

File differences

trunk/i386/libsaio/disk.c
17671767
17681768
17691769
1770
17701771
17711772
17721773
if ( matchVolumeToString(bvr, volStart, volLen) )
{
strncpy(str, aliasStart, min(strMaxLen, aliasLen));
str[min(strMaxLen, aliasLen)] = '\0';
free(aliasList);
return true;
trunk/i386/boot2/graphics.c
12091209
12101210
12111211
1212
1212
1213
12131214
12141215
12151216
......
12181219
12191220
12201221
1221
1222
1223
12221224
12231225
12241226
{
currentIndicator = 0;
}
printf("%c\b", indicator[currentIndicator++]);
putc(indicator[currentIndicator++]);
putc('\b');
}
}
{
if ( getVideoMode() == VGA_TEXT_MODE )
{
printf(" \b");
putc(' ');
putc('\b');
}
}

Archive Download the corresponding diff file

Revision: 438