Commit 9466945
committed
Fix goto-cc same filename bug
Previously, when goto-cc was invoked with multiple files with different
paths but the same basename (e.g., dir1/test.c, dir2/test.c), the
preprocessing results would be written to the same temporary directory.
Thus, earlier preprocessed files would be overwritten by later
preprocessed files. This change ensures that a separate temporary
directory is used for each preprocessed file.1 parent f313e7f commit 9466945
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
655 | 655 | | |
656 | 656 | | |
657 | 657 | | |
658 | | - | |
| 658 | + | |
659 | 659 | | |
660 | 660 | | |
661 | 661 | | |
| |||
688 | 688 | | |
689 | 689 | | |
690 | 690 | | |
691 | | - | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
692 | 694 | | |
693 | 695 | | |
694 | 696 | | |
| |||
0 commit comments