Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 05a3c5c89ec90fd0b2ae693b8d1a232b6e1f9cf6
Ticket: 217803ffffffffffffffffffffffffffffffffff
ENOTSUP == EOPNOTSUPP compile failure
User & Date: nobody on 2000-10-26 00:43:55
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. 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
    
  4. foundin changed to: "obsolete: 8.0.4"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "ENOTSUP == EOPNOTSUPP compile failure"
  11. type changed to: "Bug"