]> git.saurik.com Git - bison.git/commit
Don't overwrite the input file.
authorDi-an Jan <dianj@freeshell.org>
Wed, 29 Oct 2008 01:38:32 +0000 (21:38 -0400)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Wed, 29 Oct 2008 01:45:43 +0000 (21:45 -0400)
commitc0ee9e21157b86eeb151debcc1b8f4b1ca7e9eb8
tree820f376e716470fd2ccfaf71aed2cf9a7d591ac4
parent482dc52fb771a7020f5cefeb5d0f7f4e5e5aedf3
Don't overwrite the input file.

* src/files.c (output_file_name_check): Fatal error if using input file
for output.
* tests/output.at: (AT_CHECK_CONFLICTING_OUTPUT): Add return status
argument.
(Conflicting output files): Add test.
ChangeLog
src/files.c
tests/output.at