|
2001-04-13
| ||
| 23:17 | • Ticket [217840ffff] OS/390 lacks sys/param.h status still Closed with 3 othe... artifact: 75ebeab317 user: dgp | |
|
2000-10-26
| ||
| 07:59 | • Closed ticket [217840ffff]. artifact: bb44a26365 user: welch | |
| 00:44 | • New ticket [217840ffff]. artifact: 5ec5dd5b1c user: nobody | |
OS/390 lacks sys/param.h
Closed / Invalid217840ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:44:44
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
welch Closed ticket [217840ffff].
[History diff]2000-10-26 07:59:46
dgp Ticket [217840ffff]: 3 changes
[History diff]2001-04-13 23:17:47
Log in (anonymous is fine) to add a comment.