#946 closed defect (fixed)
csc can delete files specified on the command-line
| Reported by: | Alan Post | Owned by: | felix winkelmann |
|---|---|---|---|
| Priority: | major | Milestone: | someday |
| Component: | compiler | Version: | 4.8.x |
| Keywords: | Cc: | ||
| Estimated difficulty: |
Description
The follow commands:
touch a.scm b.c csc -o b a.scm b.c
will delete the file b.c.
I expected, running the above, that the executable b would be created (or any errors in doing so to be reported.) Instead one finds the input file has been deleted.
Minimally I consider this anti-social, maximally I lost a file I'd invested a lot of time writing. :-(
Can a warning, error, or workaround be added to csc so it does not delete input files specified on the command-line?
Change History (3)
comment:1 Changed 13 years ago by
| Owner: | set to felix winkelmann |
|---|---|
| Status: | new → assigned |
comment:2 Changed 13 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.

Fixed by 0b0fcb6