ソースを参照

Fix backward compatibility with more 'nan's than expected

Samuel Thibault 12 年 前
コミット
375d302250
共有1 個のファイルを変更した2 個の追加0 個の削除を含む
  1. 2 0
      src/core/perfmodel/perfmodel_bus.c

+ 2 - 0
src/core/perfmodel/perfmodel_bus.c

@@ -1004,6 +1004,7 @@ static int load_bus_latency_file_content(void)
 			if (n == '\n')
 				break;
 			ungetc(n, f);
+			n = '\t';
 		}
 
 		/* No more values, take NAN */
@@ -1217,6 +1218,7 @@ static int load_bus_bandwidth_file_content(void)
 			if (n == '\n')
 				break;
 			ungetc(n, f);
+			n = '\t';
 		}
 
 		/* No more values, take NAN */