[llvm] [flang-rt] Fixes EXECUTE_COMMAND_LINE() status management and double buffering (PR #184285)

Eugene Epshteyn via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 2 19:28:57 PST 2026


================
@@ -34,12 +36,12 @@ namespace Fortran::runtime {
 // and the processor does not support asynchronous execution. Otherwise it is
 // assigned the value 0
 enum CMD_STAT {
-  ASYNC_NO_SUPPORT_ERR = -2, // system returns -1 with ENOENT
-  NO_SUPPORT_ERR = -1, // Linux setsid() returns -1
+  ASYNC_NO_SUPPORT_ERR = -2, // Linux setsid() returns -1
+  NO_SUPPORT_ERR = -1, // system returns -1 with ENOENT
----------------
eugeneepshteyn wrote:

I'm pretty sure the comments on these lines were accidentally put on the wrong line.

https://github.com/llvm/llvm-project/pull/184285


More information about the llvm-commits mailing list