Overview
| Artifact ID: | 05a3c5c89ec90fd0b2ae693b8d1a232b6e1f9cf6 |
|---|---|
| Ticket: | 217803ffffffffffffffffffffffffffffffffff
ENOTSUP == EOPNOTSUPP compile failure |
| User & Date: | nobody on 2000-10-26 00:43:55 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 1136 Bug Version: 8.0.4 SubmitDate: '1999-02-02' LastModified: '1999-03-02' Severity: MED Status: Closed Submitter: welch ChangedBy: pat OS: Linux OSVersion: Linux-2.2.0, glibc, on Intel Machine: Other FixedDate: '2000-10-25' ClosedDate: '1999-03-02' Name: John Ellson ObservedBehavior: /usr/include/bits/errno.h from egcs-2.91.60.1 from RedHat's rawhide glibc-devel-2.0.110-0.990121.rpm defines the same value for ENOTSUP and EOPNOTSUPP which causes generic/tclPosixStr.c to fail to compile. This may be an egcs problem, but the attached patch fixes it either way. Patch: *** tclPosixStr.c.orig Thu Jan 28 14:59:41 1999 --- tclPosixStr.c Thu Jan 28 15:01:56 1999 *************** *** 336,342 **** #ifdef ENXIO case ENXIO: return "ENXIO"; #endif ! #ifdef EOPNOTSUPP case EOPNOTSUPP: return "EOPNOTSUPP"; #endif #ifdef EPERM --- 336,342 ---- #ifdef ENXIO case ENXIO: return "ENXIO"; #endif ! #if defined(EOPNOTSUPP) && (!defined(ENOTSUP) || (ENOTSUP != EOPNOTSUPP)) case EOPNOTSUPP: return "EOPNOTSUPP"; #endif #ifdef EPERM *************** *** 783,789 **** #ifdef ENXIO case ENXIO: return "no such device or address"; #endif ! #ifdef EOPNOTSUPP case EOPNOTSUPP: return "operation not supported on socket"; #endif #ifdef EPERM --- 783,789 ---- #ifdef ENXIO case ENXIO: return "no such device or address"; #endif ! #if defined(EOPNOTSUPP) && (!defined(ENOTSUP) || (ENOTSUP != EOPNOTSUPP)) case EOPNOTSUPP: return "operation not supported on socket"; #endif #ifdef EPERM 03/02/1999 17:08 - pat - duplicate of bug 1137 - foundin changed to: "obsolete: 8.0.4"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "ENOTSUP == EOPNOTSUPP compile failure"
- type changed to: "Bug"