- motorola s19 file loader added
- added checksum support to intel hex file loader - elf file loader now ignores any bss sections - mingw build now always opens files in binary mode git-svn-id: svn://svn.berlios.de/openocd/trunk@185 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -97,9 +97,14 @@ int fileio_open_local(fileio_t *fileio)
|
||||
return ERROR_FILEIO_OPERATION_FAILED;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* win32 always opens in binary mode */
|
||||
#ifndef _WIN32
|
||||
if (fileio->type == FILEIO_BINARY)
|
||||
#endif
|
||||
{
|
||||
strcat(access, "b");
|
||||
}
|
||||
|
||||
if (!(fileio_local->file = fopen(fileio->url, access)))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user