[PATCH] D151567: [LLVM][Support] Report EISDIR when opening a directory on AIX
Hubert Tong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 29 10:12:17 PDT 2023
hubert.reinterpretcast added inline comments.
================
Comment at: llvm/lib/Support/CommandLine.cpp:1312
+ Twine("cannot not open file '") + FName +
+ "': Is a directory");
+ }
----------------
@azhan92, how was the string (`"': Is a directory"`) determined in terms of the text and capitalization? I ask because `strerror` on different platforms may return different text (for example, may include message catalogue numbers or use different capitalization).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151567/new/
https://reviews.llvm.org/D151567
More information about the llvm-commits
mailing list