This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/23065] New: MAXPATHLEN usage in fortran/module.c


Please do not use MAXPATHLEN, it is a arbitrary limit, and is not
defined on GNU.  Currently this makes building gcc-4.0 fail on GNU since 
fortran/module.c assumes that MAXPATHLEN is defined.  Please do not use these 
kind of limits in GNU programs.

Not having MAXPATHLEN is perfectly compliant with POSIX, same goes for
MAXHOSTNAMELEN, PATH_MAX etc.

-- 
           Summary: MAXPATHLEN usage in fortran/module.c
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project
                    dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-pc-gnu
  GCC host triplet: i386-pc-gnu
GCC target triplet: i386-pc-gnu
OtherBugsDependingO 21824
             nThis:


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23065


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]