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

Reply via email to