소스 검색

Merge branch '0.2'

Julius Pfrommer 8 년 전
부모
커밋
cc8cab755b
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      tools/amalgamate.py

+ 2 - 0
tools/amalgamate.py

@@ -69,6 +69,8 @@ for fname in args.inputs:
             guard_res = guard_re.match(line)
             if not inc_res and not guard_res:
                 file.write(line)
+                # Ensure file is written to disk.
+                file.flush()
         print ("done."),
 
 if not is_c: