Artifacts Associated With Ticket 217840
Ticket change [5ec5dd5b1c] (rid 115683) by nobody on 2000-10-26 00:44:44:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized 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 - foundin initialized to: "obsolete: 8.1b2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "OS/390 lacks sys/param.h"
- type initialized to: "Bug"
Ticket change [bb44a26365] (rid 129456) by welch on 2000-10-26 07:59:46:
- closedate changed to: "2000-10-26T00:59:46"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Invalid"
- status changed to: "Closed"
Ticket change [75ebeab317] (rid 105476) by dgp on 2001-04-13 23:17:47:
- closedate changed to: "2001-04-13T16:17:47"
- closer changed to: "dgp"
- subsystem changed to: "52. Portability Support"