open GDS File in binary mode

This commit is contained in:
Mario Hüttel 2018-06-04 12:26:31 +02:00
parent 9d10b17d7d
commit 3ed83c1146

View File

@ -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;