open GDS File in binary mode
This commit is contained in:
parent
9d10b17d7d
commit
3ed83c1146
@ -413,7 +413,7 @@ int parse_gds_from_file(const char *filename, GList **library_list)
|
|||||||
return -100;
|
return -100;
|
||||||
|
|
||||||
/* open File */
|
/* open File */
|
||||||
gds_file = fopen(filename, "r");
|
gds_file = fopen(filename, "rb");
|
||||||
if (gds_file == NULL) {
|
if (gds_file == NULL) {
|
||||||
GDS_ERROR("Could not open File %s", filename);
|
GDS_ERROR("Could not open File %s", filename);
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user