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
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ int parse_gds_from_file(const char *filename, GList **library_list)
return -100;
/* open File */
gds_file = fopen(filename, "r");
gds_file = fopen(filename, "rb");
if (gds_file == NULL) {
GDS_ERROR("Could not open File %s", filename);
return -1;