Re: [patch,fortran] PR69043 Trying to include a directory causes an infinite loop

2016-03-13 Thread Jerry DeLisle
On 03/13/2016 01:15 AM, Bernhard Reutner-Fischer wrote: > On March 13, 2016 3:22:53 AM GMT+01:00, Jerry DeLisle > wrote: >> I plan to commit the attached patch and test case under simple and >> obvious tomorrow. > > First, the patch adds superfluous vertical whitespace. > > Second, and I apolog

Re: [patch,fortran] PR69043 Trying to include a directory causes an infinite loop

2016-03-13 Thread Bernhard Reutner-Fischer
On March 13, 2016 3:22:53 AM GMT+01:00, Jerry DeLisle wrote: >I plan to commit the attached patch and test case under simple and >obvious tomorrow. First, the patch adds superfluous vertical whitespace. Second, and I apologise for stating the obvious, I'd make that a whitelist instead, I.e onl

[patch,fortran] PR69043 Trying to include a directory causes an infinite loop

2016-03-12 Thread Jerry DeLisle
I plan to commit the attached patch and test case under simple and obvious tomorrow. Regression tested on x86-64-linux. Regards, Jerry 2016-03-13 Jerry DeLisle Jim MacArthur PR fortran/69043 * scanner.c (load_file): Check that included file is not a directory.