| delorie.com/archives/browse.cgi | search |
| From: | pavenis AT lanet DOT lv |
| To: | DJ Delorie <dj AT delorie DOT com>, djgpp-workers AT delorie DOT com |
| Date: | Thu, 13 Jun 2002 20:00:21 +0300 |
| MIME-Version: | 1.0 |
| Subject: | Re: gcc-3.1: old problem with temporary files |
| Message-ID: | <3D08F9D5.4065.4B0BFF@localhost> |
| In-reply-to: | <200206131517.g5DFHMK17587@envy.delorie.com> |
| References: | <3D08D753 DOT 9898 DOT 186F2D1 AT localhost> (pavenis AT lanet DOT lv) |
| X-mailer: | Pegasus Mail for Windows (v4.01) |
| Reply-To: | djgpp-workers AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp-workers AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
On 13 Jun 2002 at 11:17, DJ Delorie wrote:
>
> > The included patch seems to fix it (perhaps it could also be usefull for
> > WIndows targets). I'm not sure however that it's required
> > to rerelease gcc-3.1 for DJGPP as 3.1.1 should be about after slightly more
> > than a month (according http://gcc.gnu.org/develop.html)
>
> Libiberty patches go to gcc-patches AT gcc DOT gnu DOT org. There's no reason
> why this change couldn't be independent of djgpp, but it needs to use
> DIR_SEPARATOR and DIR_SEPARATOR_2 instead of hardcoding '\' and '/'.
> And make sure [len-1] isn't before the start of tmpdir.
>
True. But I wanted to discuss it at first here. Anyway it seems that it's not
only problem. Anyway it seems to need debugging as there are still problems:
TMPDIR=E:/ works
TMPDIR=E:\ works
TMPDIR=E:/TMP/ works
TMPDIR=E:/TMP\ does not work (access in try() fails and as result TMP is
tried). Does not work both with currnt CVS version of DJGPP and
v2.03 update. In current CVS version _chmod(file_name,0) fails
(in src/libc/posix/unistd/access.c)
Andris
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |