public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/23187] MAXPATHLEN usage in gcc/ada/adaint.c
  2005-08-01 21:30 [Bug ada/23187] New: MAXPATHLEN usage in gcc/ada/adaint.c schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
@ 2005-08-01 21:30 ` schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
  2005-08-01 21:57 ` schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de @ 2005-08-01 21:30 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ams at gnu dot org


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


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

* [Bug ada/23187] New: MAXPATHLEN usage in gcc/ada/adaint.c
@ 2005-08-01 21:30 schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
  2005-08-01 21:30 ` [Bug ada/23187] " schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de @ 2005-08-01 21:30 UTC (permalink / raw)
  To: gcc-bugs

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 gcc/ada/adaint.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 gcc/ada/adaint.c
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        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=23187


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

* [Bug ada/23187] MAXPATHLEN usage in gcc/ada/adaint.c
  2005-08-01 21:30 [Bug ada/23187] New: MAXPATHLEN usage in gcc/ada/adaint.c schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
  2005-08-01 21:30 ` [Bug ada/23187] " schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
@ 2005-08-01 21:57 ` schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
  2005-08-02  1:15 ` [Bug ada/23187] MAXPATHLEN usage in gcc/ada/*.c pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de @ 2005-08-01 21:57 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor


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


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

* [Bug ada/23187] MAXPATHLEN usage in gcc/ada/*.c
  2005-08-01 21:30 [Bug ada/23187] New: MAXPATHLEN usage in gcc/ada/adaint.c schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
  2005-08-01 21:30 ` [Bug ada/23187] " schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
  2005-08-01 21:57 ` schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
@ 2005-08-02  1:15 ` pinskia at gcc dot gnu dot org
  2005-08-29 13:13 ` cvs-commit at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-02  1:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-02 01:15 -------
Confirmed, it is more than adaint.c.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |build
   Last reconfirmed|0000-00-00 00:00:00         |2005-08-02 01:15:09
               date|                            |
            Summary|MAXPATHLEN usage in         |MAXPATHLEN usage in
                   |gcc/ada/adaint.c            |gcc/ada/*.c


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


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

* [Bug ada/23187] MAXPATHLEN usage in gcc/ada/*.c
  2005-08-01 21:30 [Bug ada/23187] New: MAXPATHLEN usage in gcc/ada/adaint.c schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
                   ` (2 preceding siblings ...)
  2005-08-02  1:15 ` [Bug ada/23187] MAXPATHLEN usage in gcc/ada/*.c pinskia at gcc dot gnu dot org
@ 2005-08-29 13:13 ` cvs-commit at gcc dot gnu dot org
  2005-08-29 13:15 ` charlet at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-29 13:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-08-29 13:07 -------
Subject: Bug 23187

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	charlet@gcc.gnu.org	2005-08-29 13:07:07

Modified files:
	gcc/ada        : adaint.c 

Log message:
	PR ada/23187
	(GNAT_MAXPATH_LEN): Use default value if MAXPATHLEN is undefined.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/adaint.c.diff?cvsroot=gcc&r1=1.51&r2=1.52



-- 


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


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

* [Bug ada/23187] MAXPATHLEN usage in gcc/ada/*.c
  2005-08-01 21:30 [Bug ada/23187] New: MAXPATHLEN usage in gcc/ada/adaint.c schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
                   ` (3 preceding siblings ...)
  2005-08-29 13:13 ` cvs-commit at gcc dot gnu dot org
@ 2005-08-29 13:15 ` charlet at gcc dot gnu dot org
  2005-08-31 14:58 ` ams at gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: charlet at gcc dot gnu dot org @ 2005-08-29 13:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From charlet at gcc dot gnu dot org  2005-08-29 13:14 -------
Should not cause compilation error any more.

Arno

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0


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


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

* [Bug ada/23187] MAXPATHLEN usage in gcc/ada/*.c
  2005-08-01 21:30 [Bug ada/23187] New: MAXPATHLEN usage in gcc/ada/adaint.c schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
                   ` (4 preceding siblings ...)
  2005-08-29 13:15 ` charlet at gcc dot gnu dot org
@ 2005-08-31 14:58 ` ams at gnu dot org
  2005-08-31 15:08 ` ams at gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: ams at gnu dot org @ 2005-08-31 14:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ams at gnu dot org  2005-08-31 14:56 -------
Subject: Re:  MAXPATHLEN usage in gcc/ada/*.c

This patch is a kludge, GNU does not have any limit what-so-ever on
the length of a filename.  And it is a horrible kludge, since it is
common to have filenames longer than 256 chars.


-- 


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


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

* [Bug ada/23187] MAXPATHLEN usage in gcc/ada/*.c
  2005-08-01 21:30 [Bug ada/23187] New: MAXPATHLEN usage in gcc/ada/adaint.c schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
                   ` (5 preceding siblings ...)
  2005-08-31 14:58 ` ams at gnu dot org
@ 2005-08-31 15:08 ` ams at gnu dot org
  2005-08-31 15:09 ` schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: ams at gnu dot org @ 2005-08-31 15:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ams at gnu dot org  2005-08-31 15:00 -------
Subject: Re:  MAXPATHLEN usage in gcc/ada/*.c

   ------- Additional Comments From charlet at gcc dot gnu dot org  2005-08-29 13:14 -------
   Should not cause compilation error any more.

The fix is wrong, GNU doesn't have any limit on the length of
filenames.  Defining a atribitary limit is not a fix.


-- 


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


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

* [Bug ada/23187] MAXPATHLEN usage in gcc/ada/*.c
  2005-08-01 21:30 [Bug ada/23187] New: MAXPATHLEN usage in gcc/ada/adaint.c schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
                   ` (6 preceding siblings ...)
  2005-08-31 15:08 ` ams at gnu dot org
@ 2005-08-31 15:09 ` schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
  2005-08-31 15:15 ` pinskia at gcc dot gnu dot org
  2005-09-01  7:23 ` charlet at adacore dot com
  9 siblings, 0 replies; 15+ messages in thread
From: schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de @ 2005-08-31 15:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de  2005-08-31 15:09 -------
Reopened bug awaiting a proper fix.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


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


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

* [Bug ada/23187] MAXPATHLEN usage in gcc/ada/*.c
  2005-08-01 21:30 [Bug ada/23187] New: MAXPATHLEN usage in gcc/ada/adaint.c schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
                   ` (7 preceding siblings ...)
  2005-08-31 15:09 ` schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
@ 2005-08-31 15:15 ` pinskia at gcc dot gnu dot org
  2005-09-01  7:23 ` charlet at adacore dot com
  9 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-31 15:15 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|minor                       |enhancement
   Target Milestone|4.1.0                       |---


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


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

* [Bug ada/23187] MAXPATHLEN usage in gcc/ada/*.c
  2005-08-01 21:30 [Bug ada/23187] New: MAXPATHLEN usage in gcc/ada/adaint.c schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
                   ` (8 preceding siblings ...)
  2005-08-31 15:15 ` pinskia at gcc dot gnu dot org
@ 2005-09-01  7:23 ` charlet at adacore dot com
  9 siblings, 0 replies; 15+ messages in thread
From: charlet at adacore dot com @ 2005-09-01  7:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From charlet at adacore dot com  2005-09-01 07:21 -------
Subject: Re:  MAXPATHLEN usage in gcc/ada/*.c

> Reopened bug awaiting a proper fix.

Feel free to submit one, since you have access to a GNU system.

Arno


-- 


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


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

* [Bug ada/23187] MAXPATHLEN usage in gcc/ada/*.c
       [not found] <bug-23187-10217@http.gcc.gnu.org/bugzilla/>
  2008-04-12 14:45 ` sam at gcc dot gnu dot org
  2008-11-17 20:14 ` sam at gcc dot gnu dot org
@ 2009-03-08  9:11 ` ebotcazou at gcc dot gnu dot org
  2 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2009-03-08  9:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from ebotcazou at gcc dot gnu dot org  2009-03-08 09:11 -------
No feedback 3 years.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug ada/23187] MAXPATHLEN usage in gcc/ada/*.c
       [not found] <bug-23187-10217@http.gcc.gnu.org/bugzilla/>
  2008-04-12 14:45 ` sam at gcc dot gnu dot org
@ 2008-11-17 20:14 ` sam at gcc dot gnu dot org
  2009-03-08  9:11 ` ebotcazou at gcc dot gnu dot org
  2 siblings, 0 replies; 15+ messages in thread
From: sam at gcc dot gnu dot org @ 2008-11-17 20:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from sam at gcc dot gnu dot org  2008-11-17 20:13 -------
Lowering priority, 3 years without feedback despite a new request 7 months ago.


-- 

sam at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P5


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


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

* [Bug ada/23187] MAXPATHLEN usage in gcc/ada/*.c
       [not found] <bug-23187-10217@http.gcc.gnu.org/bugzilla/>
@ 2008-04-12 14:45 ` sam at gcc dot gnu dot org
  2008-11-17 20:14 ` sam at gcc dot gnu dot org
  2009-03-08  9:11 ` ebotcazou at gcc dot gnu dot org
  2 siblings, 0 replies; 15+ messages in thread
From: sam at gcc dot gnu dot org @ 2008-04-12 14:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from sam at gcc dot gnu dot org  2008-04-12 14:44 -------
Alfred, any news?


-- 

sam at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sam at gcc dot gnu dot org
             Status|REOPENED                    |WAITING


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


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

* [Bug ada/23187] MAXPATHLEN usage in gcc/ada/*.c
       [not found] <20050801213029.23187.tschwinge@gnu.org>
@ 2005-10-01 16:46 ` ams at gnu dot org
  0 siblings, 0 replies; 15+ messages in thread
From: ams at gnu dot org @ 2005-10-01 16:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ams at gnu dot org  2005-10-01 16:46 -------
You also have access to a GNU system, GNU/Linux.  It is easily testable there. 
Could you revert the fix?  It is better that fails loudly than having a
arbitrary limit.

I'll see about submiting a proper patch.

-- 


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


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

end of thread, other threads:[~2009-03-08  9:11 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-01 21:30 [Bug ada/23187] New: MAXPATHLEN usage in gcc/ada/adaint.c schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
2005-08-01 21:30 ` [Bug ada/23187] " schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
2005-08-01 21:57 ` schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
2005-08-02  1:15 ` [Bug ada/23187] MAXPATHLEN usage in gcc/ada/*.c pinskia at gcc dot gnu dot org
2005-08-29 13:13 ` cvs-commit at gcc dot gnu dot org
2005-08-29 13:15 ` charlet at gcc dot gnu dot org
2005-08-31 14:58 ` ams at gnu dot org
2005-08-31 15:08 ` ams at gnu dot org
2005-08-31 15:09 ` schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
2005-08-31 15:15 ` pinskia at gcc dot gnu dot org
2005-09-01  7:23 ` charlet at adacore dot com
     [not found] <20050801213029.23187.tschwinge@gnu.org>
2005-10-01 16:46 ` ams at gnu dot org
     [not found] <bug-23187-10217@http.gcc.gnu.org/bugzilla/>
2008-04-12 14:45 ` sam at gcc dot gnu dot org
2008-11-17 20:14 ` sam at gcc dot gnu dot org
2009-03-08  9:11 ` ebotcazou 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).