#9930: By default, a source code without extension would get overwritten by executable on *nix -------------------------------------+------------------------------------- Reporter: Rufflewind | Owner: Rufflewind Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.4 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Other | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by Austin Seipp <austin@…>): In [changeset:"78833ca6305f0875add94351592e141c032cd088/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="78833ca6305f0875add94351592e141c032cd088" Don't overwrite input file by default Summary: If the default filename of the output executable coincides with that of main source file, throw an error instead of silently clobbering the input file. Reviewers: austin Reviewed By: austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D642 GHC Trac Issues: #9930 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9930#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler