Should we honour the Rocket environment variables in our ports? #66
Replies: 9 comments 19 replies
-
Here are the instances where some of these envars are used in open source: https://github.com/search?q=%22_ENCODE_FILE_NEW%22&type=code. My guess is that there's more uses in closed source. |
Beta Was this translation helpful? Give feedback.
-
I get 404 error for the bash link above. |
Beta Was this translation helpful? Give feedback.
-
Here's the snippet from their README:
|
Beta Was this translation helpful? Give feedback.
-
options i can think of:
|
Beta Was this translation helpful? Give feedback.
-
opened an issue for vim zopencommunity/vimport#13 opened an issue for bash: zopencommunity/bashport#56 |
Beta Was this translation helpful? Give feedback.
-
I was looking at the way vimport handles the tagging to solve zopencommunity/nanoport#5 |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to override the open call in zoslib so that it will first check if a filetag is present and if not fail the open of the file? |
Beta Was this translation helpful? Give feedback.
-
I'm currently came across this problem. Best, Mike |
Beta Was this translation helpful? Give feedback.
-
Circling back to this discussion, support for _ENCODE_FILE_NEW is now provided via zoslib. All C/C++ based libraries/tools are built with zoslib as a dependency. |
Beta Was this translation helpful? Give feedback.
-
For example:
and
More details surrounding the environment variables are here:
#66 (comment)
Potential solution:
We could add logic for handling these into the zoslib library - https://github.com/ibmruntimes/zoslib, which is currently linked into several ports including vim, bash, gzip, tar, and potentially more
Beta Was this translation helpful? Give feedback.
All reactions