There are spurious leading "_" characters on the #ifdef test. I'll fix this
with the other issues you raised shortly.

Rick

On Mon, Feb 18, 2019 at 3:53 PM Erich Steinböck <erich.steinbo...@gmail.com>
wrote:

> Our Mac build slave finds _PC_CASE_SENSITIVE
>
> ~~~
> -- Looking for _PC_CASE_SENSITIVE
> -- Looking for _PC_CASE_SENSITIVE - found
> ~~~
>
> but still correctly builds SysFileSystem which seems impossible due to a
> typo `if (res \= -1)` that should prevent compilation. (The bug repeats a
> few lines further down).
>
> The built Rexx executable incorrectly returns true for
> .File~isCaseSensitive (the file system is not case sensitive).
>
> SysFileSystem:
>
> ~~~
> bool SysFileSystem::isCaseSensitive()
> {
> #ifndef _HAVE_PC_CASE_SENSITIVE
>     return true;
> #else
>     long res = pathconf("/", _PC_CASE_SENSITIVE);
>     if (res \= -1)
>     {
>         return res == 1;
>     }
> ~~~
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to