Ticket #71 (new defect)

Opened 9 years ago

Last modified 9 years ago

Aesop parser leaves __aesop_cgen_tmp*.c files in /tmp

Reported by: carns Owned by:
Priority: minor Component: code generator
Version: git repository Keywords:
Cc:

Description

These aren't technically hurting anything because they are in /tmp, but it is leaving quite a few temporary files behind during development:

/tmp$ ls -alh __aesop_cgen_tmp*.c |wc
    406    3654   27484

/tmp$ du -shc __aesop_cgen_tmp*.c |tail -n 5
72K	__aesop_cgen_tmp9803.c
72K	__aesop_cgen_tmp9806.c
72K	__aesop_cgen_tmp9813.c
72K	__aesop_cgen_tmp989.c
29M	total

Change History

comment:1 Changed 9 years ago by carns

To clarify, these files appear to be produced by the core translator in Haskell, not by the aecc script:

$ grep -Ir aesop_cgen_tmp .
./parser/CGen.lhs:>       (fp, h) <- openTempFile "/tmp" "__aesop_cgen_tmp.c"
./parser/CGen.lhs:>       (fp, h) <- openTempFile "/tmp" "__aesop_cgen_tmp.c"
./parser/CGen.lhs:>       (fp, h) <- openTempFile "/tmp" "__aesop_cgen_tmp.c"
Note: See TracTickets for help on using tickets.