Chameleon

Chameleon Commit Details

Date:2010-08-21 11:45:21 (13 years 8 months ago)
Author:Kabyl
Commit:408
Parents: 407
Message:Make sure there is no (null) before another messsage is added to the log, make bdmesg work in Leopard when compiled on Snow Leopard (native arch is used for now, not a fat binary)
Changes:
M/trunk/i386/libsaio/console.c
M/trunk/i386/util/Makefile

File differences

trunk/i386/libsaio/console.c
9797
9898
9999
100
101100
102
101
103102
104103
105104
......
178177
179178
180179
181
182
180
183181
184182
185183
......
211209
212210
213211
214
215
212
216213
217214
218215
pi.str = cursor;
pi.last_str = 0;
prf(fmt, ap, sputc, &pi);
*pi.str = '\0';
va_end(ap);
cursor += (pi.str - cursor);
cursor += strlen((char *)cursor);
}
void setupBooterLog(void)
pi.str = cursor;
pi.last_str = 0;
prf(fmt, ap, sputc, &pi);
*pi.str = '\0';
cursor += (pi.str - cursor);
cursor += strlen((char *)cursor);
}
va_end(ap);
pi.str = cursor;
pi.last_str = 0;
prf(fmt, ap, sputc, &pi);
*pi.str = '\0';
cursor += (pi.str - cursor);
cursor += strlen((char *)cursor);
}
va_end(ap);
trunk/i386/util/Makefile
3030
3131
3232
33
33
3434
3535
3636
$(CC) $(CFLAGS) $(LDFLAGS) $(DEFINES) -o $(SYMROOT)/$(@F) machOconv.o
bdmesg: bdmesg.o
$(CC) $(CFLAGS) $(LDFLAGS) -framework IOKit -framework CoreFoundation -o $(SYMROOT)/$(@F) bdmesg.o
$(CC) $(CFLAGS) $(LDFLAGS) -framework IOKit -framework CoreFoundation -mmacosx-version-min=10.5 -o $(SYMROOT)/$(@F) bdmesg.o
include ../MakeInc.dir

Archive Download the corresponding diff file

Revision: 408