[patch, fortran] Fix PR 55919

Thomas Koenig tkoenig@netcologne.de
Sun Jan 20 19:49:00 GMT 2013


Hello world,

the attached patch fixes a regression where -J dirpath/ would
issue a warning on Windows because of the trailing dir separator.

Regression-tested, but only on Linux.  I would appreciate if
somebody could also test it on Windows (and run the test case,
of course).

OK for trunk?

	Thomas

2013-01-20  Thomas Koenig  <tkoenig@gcc.gnu.org>

         PR fortran/55919
         * add_path_to_list:  Copy path to temporary and strip
         trailing directory separators before calling stat().

2013-01-20  Thomas Koenig  <tkoenig@gcc.gnu.org>

         PR fortran/55919
         * gfortran.dg/include_8.f90:  New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1.diff
Type: text/x-patch
Size: 855 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20130120/24f453b9/attachment.bin>


More information about the Fortran mailing list