Chameleon

Chameleon Commit Details

Date:2010-10-29 02:00:48 (8 years 8 months ago)
Author:Azimutz
Commit:620
Parents: 619
Message:Small comment edit on aml_generator.c.
Changes:
M/branches/azimutz/Chazi/i386/libsaio/aml_generator.c

File differences

branches/azimutz/Chazi/i386/libsaio/aml_generator.c
2121
2222
2323
24
24
2525
2626
2727
2828
29
29
3030
3131
3232
......
173173
174174
175175
176
176
177177
178178
179179
......
190190
191191
192192
193
193
194194
195195
196196
case AML_CHUNK_DWORD:
case AML_CHUNK_QWORD:
case AML_CHUNK_ALIAS:
verbose("aml_add_to_parent: Node isn't supports child nodes!");
verbose("aml_add_to_parent: Node doesn't support child nodes!");
return false;
case AML_CHUNK_NAME:
if (parent->First)
{
verbose("aml_add_to_parent: Name node could have only one child node!");
verbose("aml_add_to_parent: Name node supports only one child node!");
return false;
}
break;
{
if (strlen(name) < 4)
{
verbose("aml_fill_simple_name: simple name %s has incorrect lengh! Must be 4", name);
verbose("aml_fill_simple_name: simple name %s has incorrect lengh! Must be 4.", name);
return 0;
}
if ((len % 4) > 1 || count == 0)
{
verbose("aml_fill_name: pathname %s has incorrect length! Must be 4, 8, 12, 16 etc.", name);
verbose("aml_fill_name: pathname %s has incorrect length! Must be 4, 8, 12, 16, etc...", name);
return 0;
}

Archive Download the corresponding diff file

Revision: 620