long size;
int ret;
- file = fopen (filename, "r");
+ file = fopen (filename, "rb");
if (file == NULL) return NULL;
ret = fseek (file, 0, SEEK_END);
long size;
int ret;
- file = fopen (filename, "r");
+ file = fopen (filename, "rb");
if (file == NULL) return NULL;
ret = fseek (file, 0, SEEK_END);
long size;
int ret;
- file = fopen (filename, "r");
+ file = fopen (filename, "rb");
if (file == NULL) return NULL;
ret = fseek (file, 0, SEEK_END);
long size;
int ret;
- file = fopen (filename, "r");
+ file = fopen (filename, "rb");
if (file == NULL) return NULL;
ret = fseek (file, 0, SEEK_END);
long size;
int ret;
- file = fopen (filename, "r");
+ file = fopen (filename, "rb");
if (file == NULL) return NULL;
ret = fseek (file, 0, SEEK_END);
}
code = read_file (filename);
if (!code) {
- printf("perf_parse <file.orc>\n");
+ printf("exec_parse <file.orc>\n");
exit(1);
}
long size;
int ret;
- file = fopen (filename, "r");
+ file = fopen (filename, "rb");
if (file == NULL) return NULL;
ret = fseek (file, 0, SEEK_END);
long size;
int ret;
- file = fopen (filename, "r");
+ file = fopen (filename, "rb");
if (file == NULL) return NULL;
ret = fseek (file, 0, SEEK_END);
long size;
int ret;
- file = fopen (filename, "r");
+ file = fopen (filename, "rb");
if (file == NULL) return NULL;
ret = fseek (file, 0, SEEK_END);
long size;
int ret;
- file = fopen (filename, "r");
+ file = fopen (filename, "rb");
if (file == NULL) return NULL;
ret = fseek (file, 0, SEEK_END);