On 22 Jul 2003, [EMAIL PROTECTED] wrote:
> some gcc compiler, especially WindRivver System GNU compiler with CYGWIN, cannot
> work with the real unix path TMPDIR - but it really works with mixed case path.
> mixed case path on cygwin is like the following:
>
> unix path /tmp
> cygwin path /tmp or /cygdrive/c/tmp
> cygwin mixed path c:/tmp
>
> Cause of sanity check it's not possible to export a cygwin mixed case path.
Where does mixed case come into it?
What's wrong with using /cygdrive/c/tmp?
> Perhaps you can replace the sanity check in dcc_get_tmp_top() in file
> src/tempfile.c
> with the following - using opendir() call for existeny check:
>
>
> -------------------- snip snip ----------------------
> static const char *dcc_get_tmp_top(void)
> {
> const char *d;
> DIR *handle;
>
> d = getenv("TMPDIR");
> handle=opendir(d);
Is there any particular reason to use opendir() rather than stat()?
Best regards,
--
Martin
__
distcc mailing list http://distcc.samba.org/
To unsubscribe or change options:
http://lists.samba.org/cgi-bin/mailman/listinfo/distcc