Bug 4573
| Summary: | RH5.2 ncurses based binaries core dump on RH6.0 | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | richard |
| Component: | ncurses | Assignee: | Preston Brown <pbrown> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.0 | CC: | jum, pbrown |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2000-02-05 20:12:21 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Cristian, is this expected behavior? I tracked down this problem recently. The ncurses-4.2 that came with RH5.2 defined bool as 'char' while RH6.0 and 6.1 ncurses-4.2 defined it as 'int'. So the incompatibility indeed exists. |
I have a RH5.2 system with ncurses-4.2 and a RH6.0 system with ncurses-4.2. If I compile the following on RH5.2 and then try and run it on RH6.0 it coredumps. -------------------------------------- #include <curses.h> int main (int argc, char **argv) { int c; initscr(); cbreak(); noecho(); nonl(); intrflush(stdscr, FALSE); keypad(stdscr, TRUE); c = mvinch(1,1); endwin(); return c; } -------------------------------------- richard.co.uk