]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR 207235 Bugfix gcc/m2/mc/mc.flex fclose the input file.
authorGaius Mulley <gaiusmod2@gmail.com>
Thu, 3 Nov 2022 15:07:02 +0000 (15:07 +0000)
committerGaius Mulley <gaiusmod2@gmail.com>
Thu, 3 Nov 2022 15:07:02 +0000 (15:07 +0000)
commitb94c3d78cf15f8993ec01ef06997e1e425351c62
tree9594157e145fd1c8d721d625667875a04dac15fd
parent28504e8e716bb9e56569b8ce5a85a9815f3c3081
PR 207235 Bugfix gcc/m2/mc/mc.flex fclose the input file.

Keep a global copy of the input file and
fclose the input file prior to opening a new file.

gcc/m2/ChangeLog:

* mc/mc.flex (openSource): Close the previous inputFile
before opening the new file.  inputFile new global variable.

Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
gcc/m2/mc/mc.flex