Solaris-specific implementation for llvm::sys::fs::is_local_impl.
FStype pattern matching might be a bit unreliable, but at least it fixes the build failure.
Details
Diff Detail
Event Timeline
Illumos uses __sun, not __sun__. I know that __something__ is more POSIX friendly, but does it handle only commercial Solaris? What version?
gcc on Solaris 10/11 sparc/intel specifies both __sun and __sun__.
I can see __sun being used in llvm sources once, but none of __sun__.
I will switch to __sun.
Looks correct, in theory f_flag could be investigated, but there are no exported values to userspace.
The same solution is used in LibreOffice: https://github.com/LibreOffice/core/blob/35f3759e5ca44bc7bc8f275833e1be54494c5ff3/sal/osl/unx/file_volume.cxx#L177
I don't see a better way to handle it.
lib/Support/Unix/Path.inc | ||
---|---|---|
387 | This is true at least for Illumos. |
I'm new to all this process/machinery, what should be my next action?
How integration is done for the change that is "Reviewed"?
thanks,
Fedor.
This is true at least for Illumos.