[Bug fortran/23065] MAXPATHLEN usage in fortran/{scanner,module}.c

2005-08-19 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.0.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23065

[Bug fortran/23065] MAXPATHLEN usage in fortran/{scanner,module}.c

2005-08-19 Thread tobi at gcc dot gnu dot org
--- Additional Comments From tobi at gcc dot gnu dot org 2005-08-19 15:51 --- Fixed. -- What|Removed |Added CC||tobi at gcc dot g

[Bug fortran/23065] MAXPATHLEN usage in fortran/{scanner,module}.c

2005-08-19 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-19 15:50 --- Subject: Bug 23065 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-08-19 15:50:43 Modified files: gcc/fortran: Change

[Bug fortran/23065] MAXPATHLEN usage in fortran/{scanner,module}.c

2005-08-19 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-19 09:05 --- Subject: Bug 23065 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-19 09:05:03 Modified files: gcc/fortran: ChangeLog gfortran.h module.c scanner

[Bug fortran/23065] MAXPATHLEN usage in fortran/{scanner,module}.c

2005-08-14 Thread Tobias dot Schlueter at physik dot uni-muenchen dot de
--- Additional Comments From Tobias dot Schlueter at physik dot uni-muenchen dot de 2005-08-14 22:02 --- Subject: Re: MAXPATHLEN usage in fortran/{scanner,module}.c Steve Kargl wrote: > The attached patches uses alloca to remove the use of PATH_MAX > from gfortran. It also fixes one o

[Bug fortran/23065] MAXPATHLEN usage in fortran/{scanner,module}.c

2005-08-01 Thread pinskia at physics dot uc dot edu
--- Additional Comments From pinskia at physics dot uc dot edu 2005-08-01 18:34 --- Subject: Re: MAXPATHLEN usage in fortran/{scanner,module}.c On Aug 1, 2005, at 2:26 PM, Steve Kargl wrote: > On Mon, Aug 01, 2005 at 04:46:17PM -, pinskia at gcc dot gnu dot > org wrote: >> >> We

[Bug fortran/23065] MAXPATHLEN usage in fortran/{scanner,module}.c

2005-08-01 Thread ams at gnu dot org
--- Additional Comments From ams at gnu dot org 2005-08-01 18:24 --- Subject: Re: MAXPATHLEN usage in fortran/{scanner,module}.c >So, does GNU define _POSIX_PATH_MAX? > > No. Then GNU isn't POSIX compliant. Sorry, I meant yes. We do define _POSIX_PATH_MAX. My brain

[Bug fortran/23065] MAXPATHLEN usage in fortran/{scanner,module}.c

2005-08-01 Thread sgk at troutmask dot apl dot washington dot edu
--- Additional Comments From sgk at troutmask dot apl dot washington dot edu 2005-08-01 18:13 --- Subject: Re: MAXPATHLEN usage in fortran/{scanner,module}.c On Mon, Aug 01, 2005 at 05:48:10PM -, ams at gnu dot org wrote: > > Subject: Re: MAXPATHLEN usage in fortran/{scanner,modu

[Bug fortran/23065] MAXPATHLEN usage in fortran/{scanner,module}.c

2005-08-01 Thread ams at gnu dot org
--- Additional Comments From ams at gnu dot org 2005-08-01 17:48 --- Subject: Re: MAXPATHLEN usage in fortran/{scanner,module}.c So, does GNU define _POSIX_PATH_MAX? No. Does GNU support pathconf()? Yes. I read the other thread where it is suggested that a non-portable G

[Bug fortran/23065] MAXPATHLEN usage in fortran/{scanner,module}.c

2005-08-01 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-01 16:46 --- Well in both the cases in the fortran front-end, really an alloca should be used instead of MAXPATHLEN. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23065

[Bug fortran/23065] MAXPATHLEN usage in fortran/{scanner,module}.c

2005-08-01 Thread kargl at gcc dot gnu dot org
--- Additional Comments From kargl at gcc dot gnu dot org 2005-08-01 16:43 --- Posix says: Pathname Variable Values The values in the following list may be constants within an implementation or may vary from one pathname to another. For example, file systems or directories may

[Bug fortran/23065] MAXPATHLEN usage in fortran/{scanner,module}.c

2005-08-01 Thread schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
--- Additional Comments From schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de 2005-08-01 11:07 --- (In reply to comment #3) > So, GNU does not follow IEEE Std 1003.1, 2004? We do follow IEEE Std 1003.1, 2004 here, the standard does not mandate that PATH_MAX _must_ be defi

[Bug fortran/23065] MAXPATHLEN usage in fortran/{scanner,module}.c

2005-07-25 Thread kargl at gcc dot gnu dot org
--- Additional Comments From kargl at gcc dot gnu dot org 2005-07-25 21:41 --- So, GNU does not follow IEEE Std 1003.1, 2004? gfortran.h contains #include #ifndef PATH_MAX /* This is defined in a IEEE Std 1003.1, 2004 */ # include # define PATH_MAX MAXPATHLEN #endif -

[Bug fortran/23065] MAXPATHLEN usage in fortran/{scanner,module}.c

2005-07-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-25 20:43 --- Never mind, it is indirect with PATH_MAX. In fact this is a bad use of MAXPATHLEN because we could get a buffer overflow. -- What|Removed |Added