[gfortran] patch for unlink on open files

Steve Kargl sgk@troutmask.apl.washington.edu
Sun Aug 7 16:32:00 GMT 2005


On Sun, Aug 07, 2005 at 01:29:44PM +0200, FX Coudert wrote:
>    close_status status;
>    gfc_unit *u;
> +#if !HAVE_UNLINK_OPEN_FILE
> +  char path[PATH_MAX + 1];
> +#endif

I've submitted a patch to remove the use of PATH_MAX
from gfortran.  Apparently, there is at least one
target that does not define PATH_MAX.  Please, don't
use PATH_MAX.

http://gcc.gnu.org/ml/fortran/2005-08/msg00009.html

-- 
Steve



More information about the Fortran mailing list