Chameleon

Chameleon Commit Details

Date:2015-03-19 13:08:06 (4 years 2 months ago)
Author:ErmaC
Commit:2642
Parents: 2641
Message:More typo.
Changes:
M/trunk/i386/libsa/efi_tables.c
M/trunk/i386/boot2/bmdecompress.c
M/trunk/i386/util/dyldsymboltool.c
M/trunk/i386/libsaio/disk.h
M/trunk/i386/libsaio/convert.c

File differences

trunk/i386/libsaio/disk.h
99
1010
1111
12
12
1313
14
14
#ifndef __LIBSAIO_DISK_H
#define __LIBSAIO_DISK_H
bool matchVolumeToString( BVRef bvr, const char* match, long strMaxLen);
bool matchVolumeToString( BVRef bvr, const char *match, long strMaxLen);
#endif /* __LIBSAIO_DISK_H */
#endif /* __LIBSAIO_DISK_H */
trunk/i386/libsaio/convert.c
1212
1313
1414
15
15
1616
1717
1818
{
static char msg[UUID_LEN*2 + 8] = "";
if (!eUUID) return "";
const unsigned char * uuid = (unsigned char*) eUUID;
const unsigned char *uuid = (unsigned char *) eUUID;
snprintf(msg, sizeof(msg), "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x",
uuid[0], uuid[1], uuid[2], uuid[3],
uuid[4], uuid[5], uuid[6], uuid[7],
trunk/i386/boot2/bmdecompress.c
267267
268268
269269
270
270
271271
272272
273273
void *
DecompressData(void *srcbase, int *dw, int *dh, int *bitsPerPixel)
{
uint32_t * src = (uint32_t *) srcbase;
uint32_t *src = (uint32_t *) srcbase;
void * ret;
*bitsPerPixel = 8 * ((int) src[0]);
trunk/i386/libsa/efi_tables.c
117117
118118
119119
120
121
122
123
124
125
126
127
120
121
122
123
124
125
126
127
128128
129129
130130
void efi_guid_unparse_upper(EFI_GUID const *pGuid, char *out)
{
sprintf(out, "%08X-%04X-%04X-%02X%02X-%02X%02X%02X%02X%02X%02X",
pGuid->Data1, /* - */
pGuid->Data2, /* - */
pGuid->Data3, /* - */
pGuid->Data4[0], pGuid->Data4[1], /* - */
pGuid->Data4[2], pGuid->Data4[3],
pGuid->Data4[4], pGuid->Data4[5],
pGuid->Data4[6], pGuid->Data4[7]);
sprintf(out, "%08X-%04X-%04X-%02X%02X-%02X%02X%02X%02X%02X%02X",
pGuid->Data1, /* - */
pGuid->Data2, /* - */
pGuid->Data3, /* - */
pGuid->Data4[0], pGuid->Data4[1], /* - */
pGuid->Data4[2], pGuid->Data4[3],
pGuid->Data4[4], pGuid->Data4[5],
pGuid->Data4[6], pGuid->Data4[7]);
}
bool efi_guid_is_null(EFI_GUID const *pGuid)
trunk/i386/util/dyldsymboltool.c
155155
156156
157157
158
158
159159
160160
161161
162
162
163163
164
164
165165
166166
167167
dylib.symtab.cmdsize = sizeof(struct symtab_command);
FILE* outfile = fopen(argv[argc-1], "w");
FILE *outfile = fopen(argv[argc-1], "w");
fwrite(&dylib,sizeof(dylib)/* Sizeof header + module name */
, 1, outfile);
char* symtab = malloc(dylib.symtab.stroff + dylib.symtab.strsize - sizeof(dylib) + 1); // Add extra 1 for last symbol
char *symtab = malloc(dylib.symtab.stroff + dylib.symtab.strsize - sizeof(dylib) + 1); // Add extra 1 for last symbol
bzero(symtab, dylib.symtab.nsyms * sizeof(struct nlist) + dylib.symtab.strsize + 1);
char* orig = symtab;
char *orig = symtab;
//symtab += offset;

Archive Download the corresponding diff file

Revision: 2642