Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
4.1.0
-
None
-
s390x
Description
The "if (fscanf(stdin, "%c\n", (char *)&view_file_type) != 1)" gets wrong input character if we don't do this change. The C and C++ standards allows the character type char to be signed or unsigned, depending on the platform and compiler. For s390x, the type of char is unsigned. This variation causes getting junk characters for s390x. The code change will make the type consistent across all platforms. Please find attached file for the code diff.
Attachments
Issue Links
- depends on
-
MB-24395 Support RHEL for IBM System z
- Closed