public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/21822] New: fastjar/jartool.c's usage of MAXPATHLEN
@ 2005-05-30 15:03 ams at gnu dot org
  2005-05-30 15:05 ` [Bug libgcj/21822] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: ams at gnu dot org @ 2005-05-30 15:03 UTC (permalink / raw)
  To: java-prs

The way MAXPATHLEN is used in jartool.c is wrong, instead of defining a bogus
value on platforms that do not have MAXPATHLEN defined (i.e. GNU) one should try
and use getcwd as follows:

  char *dir = getcwd (NULL, 0);

instead of passing a buffer and a size.

This will only work on systems that use the GNU C Library.

-- 
           Summary: fastjar/jartool.c's usage of MAXPATHLEN
           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=21822


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libgcj/21822] fastjar/jartool.c's usage of MAXPATHLEN
  2005-05-30 15:03 [Bug java/21822] New: fastjar/jartool.c's usage of MAXPATHLEN ams at gnu dot org
@ 2005-05-30 15:05 ` pinskia at gcc dot gnu dot org
  2005-05-30 15:10 ` [Bug fastjar/21822] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-30 15:05 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|java                        |libgcj


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fastjar/21822] fastjar/jartool.c's usage of MAXPATHLEN
  2005-05-30 15:03 [Bug java/21822] New: fastjar/jartool.c's usage of MAXPATHLEN ams at gnu dot org
  2005-05-30 15:05 ` [Bug libgcj/21822] " pinskia at gcc dot gnu dot org
@ 2005-05-30 15:10 ` pinskia at gcc dot gnu dot org
  2005-05-30 15:14 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-30 15:10 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-30 15:10 -------
You should report this to the up stream as GCC just merges with fastjar see the README in fastjar 
directory.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libgcj                      |fastjar


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fastjar/21822] fastjar/jartool.c's usage of MAXPATHLEN
  2005-05-30 15:03 [Bug java/21822] New: fastjar/jartool.c's usage of MAXPATHLEN ams at gnu dot org
  2005-05-30 15:05 ` [Bug libgcj/21822] " pinskia at gcc dot gnu dot org
  2005-05-30 15:10 ` [Bug fastjar/21822] " pinskia at gcc dot gnu dot org
@ 2005-05-30 15:14 ` pinskia at gcc dot gnu dot org
  2005-05-30 17:03 ` joseph at codesourcery dot com
  2005-06-19 14:01 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-30 15:14 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |21824
              nThis|                            |


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fastjar/21822] fastjar/jartool.c's usage of MAXPATHLEN
  2005-05-30 15:03 [Bug java/21822] New: fastjar/jartool.c's usage of MAXPATHLEN ams at gnu dot org
                   ` (2 preceding siblings ...)
  2005-05-30 15:14 ` pinskia at gcc dot gnu dot org
@ 2005-05-30 17:03 ` joseph at codesourcery dot com
  2005-06-19 14:01 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 8+ messages in thread
From: joseph at codesourcery dot com @ 2005-05-30 17:03 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From joseph at codesourcery dot com  2005-05-30 17:03 -------
Subject: Re:  fastjar/jartool.c's usage of MAXPATHLEN

On Mon, 30 May 2005, pinskia at gcc dot gnu dot org wrote:

> You should report this to the up stream as GCC just merges with fastjar see the README in fastjar 
> directory.

As a practical matter fastjar and libffi do not get maintained outside of 
GCC (whereas zlib does).



-- 


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fastjar/21822] fastjar/jartool.c's usage of MAXPATHLEN
  2005-05-30 15:03 [Bug java/21822] New: fastjar/jartool.c's usage of MAXPATHLEN ams at gnu dot org
                   ` (3 preceding siblings ...)
  2005-05-30 17:03 ` joseph at codesourcery dot com
@ 2005-06-19 14:01 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-19 14:01 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-19 14:01 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-19 14:01:11
               date|                            |


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fastjar/21822] fastjar/jartool.c's usage of MAXPATHLEN
       [not found] <bug-21822-10683@http.gcc.gnu.org/bugzilla/>
  2006-04-22 20:57 ` pinskia at gcc dot gnu dot org
@ 2007-02-12 23:38 ` robilad at kaffe dot org
  1 sibling, 0 replies; 8+ messages in thread
From: robilad at kaffe dot org @ 2007-02-12 23:38 UTC (permalink / raw)
  To: java-prs



------- Comment #6 from robilad at kaffe dot org  2007-02-12 23:38 -------
thanks for the patch, I've checked it in at fastjar project on savannah.


-- 


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fastjar/21822] fastjar/jartool.c's usage of MAXPATHLEN
       [not found] <bug-21822-10683@http.gcc.gnu.org/bugzilla/>
@ 2006-04-22 20:57 ` pinskia at gcc dot gnu dot org
  2007-02-12 23:38 ` robilad at kaffe dot org
  1 sibling, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-22 20:57 UTC (permalink / raw)
  To: java-prs



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-04-22 20:57 -------
FastJar has since been removed from GCC's sources 


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-02-12 23:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-30 15:03 [Bug java/21822] New: fastjar/jartool.c's usage of MAXPATHLEN ams at gnu dot org
2005-05-30 15:05 ` [Bug libgcj/21822] " pinskia at gcc dot gnu dot org
2005-05-30 15:10 ` [Bug fastjar/21822] " pinskia at gcc dot gnu dot org
2005-05-30 15:14 ` pinskia at gcc dot gnu dot org
2005-05-30 17:03 ` joseph at codesourcery dot com
2005-06-19 14:01 ` pinskia at gcc dot gnu dot org
     [not found] <bug-21822-10683@http.gcc.gnu.org/bugzilla/>
2006-04-22 20:57 ` pinskia at gcc dot gnu dot org
2007-02-12 23:38 ` robilad at kaffe 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).