public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/21823] New: MAXPATHLEN usage in [gcc]/fixincludes @ 2005-05-30 15:10 ams at gnu dot org 2005-05-30 15:10 ` [Bug other/21823] " pinskia at gcc dot gnu dot org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: ams at gnu dot org @ 2005-05-30 15:10 UTC (permalink / raw) To: gcc-bugs The way MAXPATHLEN is used in fixincludes (server.c and fixincl.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: MAXPATHLEN usage in [gcc]/fixincludes Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ams at gnu dot org CC: gcc-bugs 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=21823 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug other/21823] MAXPATHLEN usage in [gcc]/fixincludes 2005-05-30 15:10 [Bug c/21823] New: MAXPATHLEN usage in [gcc]/fixincludes ams at gnu dot org @ 2005-05-30 15:10 ` pinskia at gcc dot gnu dot org 2005-05-30 15:17 ` pinskia at gcc dot gnu dot org 2005-06-19 14:01 ` pinskia at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-05-30 15:10 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Component|c |other http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21823 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug other/21823] MAXPATHLEN usage in [gcc]/fixincludes 2005-05-30 15:10 [Bug c/21823] New: MAXPATHLEN usage in [gcc]/fixincludes ams at gnu dot org 2005-05-30 15:10 ` [Bug other/21823] " pinskia at gcc dot gnu dot org @ 2005-05-30 15:17 ` pinskia at gcc dot gnu dot org 2005-06-19 14:01 ` pinskia at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-05-30 15:17 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |21824 nThis| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21823 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug other/21823] MAXPATHLEN usage in [gcc]/fixincludes 2005-05-30 15:10 [Bug c/21823] New: MAXPATHLEN usage in [gcc]/fixincludes ams at gnu dot org 2005-05-30 15:10 ` [Bug other/21823] " pinskia at gcc dot gnu dot org 2005-05-30 15:17 ` pinskia at gcc dot gnu dot org @ 2005-06-19 14:01 ` pinskia at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-06-19 14:01 UTC (permalink / raw) To: gcc-bugs ------- 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:30 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21823 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-06-19 14:01 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-05-30 15:10 [Bug c/21823] New: MAXPATHLEN usage in [gcc]/fixincludes ams at gnu dot org 2005-05-30 15:10 ` [Bug other/21823] " pinskia at gcc dot gnu dot org 2005-05-30 15:17 ` pinskia at gcc dot gnu dot org 2005-06-19 14:01 ` 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).