Adding support for z/OS; test TestReadClose fails #197
Closed
fswarbrick
started this conversation in
General
Replies: 3 comments 4 replies
-
would you have a way I could try by any chance? Via an IBM service or a running VM? |
Beta Was this translation helpful? Give feedback.
2 replies
-
@creack, do you know how I might emulate the TestReadClose test using C? I'd like to see if it gets the same result, but I'm not sure how a child process can close a parent fd/file. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Matter is in the hands of the z/OS Go team. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
z/OS is a POSIX compliant operating system for IBM mainframes. I've been 99(?)% successful in adding z/OS support to this pty package. I am getting one error using "go test", as follows:
The associated C errno seems to be EAGAIN.
While I think I can see what it's trying to do, allow an asynchronous close to unblock (I think) a blocked read, I'm not sure what I am supposed to get as the correct result. Do I need to map the error I am receiving to os.ErrClosed? Or something else?
Thanks for any assistance.
Beta Was this translation helpful? Give feedback.
All reactions