public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/21821] New: MAXPATHLEN usage in [gcc]/libjava/gnu/java/nio/channels/natFileChannelImpl.cc
@ 2005-05-30 14:40 ams at gnu dot org
  2005-05-30 14:42 ` [Bug libgcj/21821] MAXPATHLEN usage in natFileChannelImpl.cc pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 14+ messages in thread
From: ams at gnu dot org @ 2005-05-30 14:40 UTC (permalink / raw)
  To: java-prs

Please do not use MAXPATHLEN, it is a arbitrary limit, and is not
defined on GNU.  Currently this makes libjava (gcc 4.0.0) unbuildable on GNU
since [gcc]/libjava/gnu/java/nio/channels/natFileChannelImpl.cc 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
                    [gcc]/libjava/gnu/java/nio/channels/natFileChannelImpl.c
                    c
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ams at gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
 GCC build triplet: i686-pc-gnu0.3
  GCC host triplet: i686-pc-gnu0.3
GCC target triplet: i686-pc-gnu0.3


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


^ permalink raw reply	[flat|nested] 14+ messages in thread
[parent not found: <bug-21821-10683@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2007-08-06  5:00 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-30 14:40 [Bug java/21821] New: MAXPATHLEN usage in [gcc]/libjava/gnu/java/nio/channels/natFileChannelImpl.cc ams at gnu dot org
2005-05-30 14:42 ` [Bug libgcj/21821] MAXPATHLEN usage in natFileChannelImpl.cc pinskia at gcc dot gnu dot org
2005-05-30 14:42 ` [Bug libgcj/21821] MAXPATHLEN usage in natFileChannelPosix.cc pinskia at gcc dot gnu dot org
2005-05-30 14:53 ` [Bug libgcj/21821] MAXPATHLEN usage in libjava ams at gnu dot org
2005-05-30 15:01 ` schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
2005-05-30 15:14 ` pinskia at gcc dot gnu dot org
2005-05-30 15:51 ` mckinlay at redhat dot com
2005-05-30 16:19 ` cvs-commit at gcc dot gnu dot org
2005-05-30 16:23 ` ams at gnu dot org
     [not found] <bug-21821-10683@http.gcc.gnu.org/bugzilla/>
2006-07-03 15:04 ` pinskia at gcc dot gnu dot org
2007-07-21 18:59 ` pinskia at gcc dot gnu dot org
2007-07-24 14:36 ` tromey at gcc dot gnu dot org
2007-08-04 22:03 ` samuel dot thibault at ens-lyon dot org
2007-08-06  5:00 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).