Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5ec5dd5b1c091911891418cd4fb4270c11b0773b
Ticket: 217840ffffffffffffffffffffffffffffffffff
OS/390 lacks sys/param.h
User & Date: nobody on 2000-10-26 00:44:44
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1725 Bug
    Version: 8.1b2
    SubmitDate: '1999-04-05'
    LastModified: '1999-04-05'
    Severity: MED
    Status: Closed
    Submitter: pat
    ChangedBy: pat
    OS: Other
    OSVersion: OS/390 4.0
    Machine: NA
    FixedDate: '2000-10-25'
    ClosedDate: '1999-04-05'
    
    
    Name:
    Christian Krone
    
    Extensions:
    Expect 5.28
    
    ReproducibleScript:
    Compile error on OS/390 in tclUnixPort.h,
        since there exists no sys/param.h
    
    ObservedBehavior:
    OS/390 lacks sys/param.h (and doesn't need it, by chance).
    
    DesiredBehavior:
    With the patch below applied Tcl will compile smoothly,
        even on a "normal" Unix system.
    
    Patch:
    *** configure.in.orgWed Mar 17 04:27:00 1999
    --- configure.inTue Mar 23 10:39:07 1999
    ***************
    *** 171,177 ****
      fi
      AC_CHECK_HEADER(sys/wait.h, , AC_DEFINE(NO_SYS_WAIT_H))
      AC_CHECK_HEADER(dlfcn.h, , AC_DEFINE(NO_DLFCN_H))
    ! AC_HAVE_HEADERS(unistd.h)
      
      #---------------------------------------------------------------------------
      #Determine which interface to use to talk to the serial port.
    --- 171,179 ----
      fi
      AC_CHECK_HEADER(sys/wait.h, , AC_DEFINE(NO_SYS_WAIT_H))
      AC_CHECK_HEADER(dlfcn.h, , AC_DEFINE(NO_DLFCN_H))
    ! 
    ! # OS/390 lacks sys/param.h (and doesn't need it, by chance).
    ! AC_HAVE_HEADERS(unistd.h sys/param.h)
      
      #---------------------------------------------------------------------------
      #Determine which interface to use to talk to the serial port.
    *** configure.orgWed Mar 17 04:26:59 1999
    --- configureTue Mar 23 10:40:56 1999
    ***************
    *** 1839,1845 ****
      
      fi
      
    ! for ac_hdr in unistd.h
      do
      ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
      echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    --- 1839,1847 ----
      
      fi
      
    ! 
    ! # OS/390 lacks sys/param.h (and doesn't need it, by chance).
    ! for ac_hdr in unistd.h sys/param.h
      do
      ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
      echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    *** tclUnixPort.h.orgThu Mar 11 06:15:08 1999
    --- tclUnixPort.hTue Mar 23 10:43:38 1999
    ***************
    *** 43,49 ****
      #endif
      #include <pwd.h>
      #include <signal.h>
    ! #include <sys/param.h>
      #include <sys/types.h>
      #ifdef USE_DIRENT2_H
      #   include "../compat/dirent2.h"
    --- 43,51 ----
      #endif
      #include <pwd.h>
      #include <signal.h>
    ! #ifdef HAVE_SYS_PARAM_H
    ! #   include <sys/param.h>
    ! #endif
      #include <sys/types.h>
      #ifdef USE_DIRENT2_H
      #   include "../compat/dirent2.h"
    
    PatchFiles:
    configure.in
        configure
        tclUnixPort.h
    
    
    
    04/05/1999 12:04 - pat -duplicate of 1602
    
  4. foundin changed to: "obsolete: 8.1b2"
  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: "OS/390 lacks sys/param.h"
  11. type changed to: "Bug"