home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sources.misc
- From: karl@NeoSoft.com (Karl Lehenbauer)
- Subject: v26i069: tcl - tool command language, version 6.1, Patch01
- Message-ID: <1991Nov26.033625.461@sparky.imd.sterling.com>
- X-Md4-Signature: a2e2743805791f8a98c1e568ff643df4
- Date: Tue, 26 Nov 1991 03:36:25 GMT
- Approved: kent@sparky.imd.sterling.com
-
- Submitted-by: karl@NeoSoft.com (Karl Lehenbauer)
- Posting-number: Volume 26, Issue 69
- Archive-name: tcl/patch01
- Environment: UNIX
- Patch-To: tcl: Volume 25, Issue 69-101
-
- Here is patch 1 to tcl.
-
- Tcl was accidentally released in a partially configured state. This patch
- places Tcl in a completely unconfigured state.
-
- This patch also creates a patchlevel.h file.
-
- To patch, cd to the tcl6.1 subdirectory, and run this posting through "patch".
-
- After patching, do a "csh ./config" to run the config program,
- then do a "make".
-
-
- *** ../../tcl6.1-release/tcl6.1/patchlevel.h Sat Nov 23 10:08:24 1991
- --- patchlevel.h Sat Nov 23 10:08:14 1991
- ***************
- *** 0 ****
- --- 1,1 ----
- + #define PATCHLEVEL 1
- *** ../../tcl6.1-release/tcl6.1/Makefile Sat Nov 23 09:52:01 1991
- --- Makefile Sat Nov 23 10:02:09 1991
- ***************
- *** 34,40 ****
- UNIX_OBJS = panic.o tclEnv.o tclGlob.o tclUnixAZ.o tclUnixStr.o \
- tclUnixUtil.o
-
- ! COMPAT_OBJS = strerror.o opendir.o strstr.o strtoul.o
-
- OBJS = ${GENERIC_OBJS} ${UNIX_OBJS} ${COMPAT_OBJS}
-
- --- 34,40 ----
- UNIX_OBJS = panic.o tclEnv.o tclGlob.o tclUnixAZ.o tclUnixStr.o \
- tclUnixUtil.o
-
- ! COMPAT_OBJS =
-
- OBJS = ${GENERIC_OBJS} ${UNIX_OBJS} ${COMPAT_OBJS}
-
- ***************
- *** 41,46 ****
- --- 41,47 ----
- libtcl.a: ${OBJS}
- rm -f libtcl.a
- ar cr libtcl.a ${OBJS}
- + ranlib libtcl.a
-
- tclTest: tclTest.o libtcl.a
- ${CC} ${CFLAGS} tclTest.o libtcl.a -o tclTest
- *** ../../tcl6.1-release/tcl6.1/config Sat Nov 23 09:52:34 1991
- --- config Sat Nov 23 10:02:41 1991
- ***************
- *** 29,35 ****
-
- # Archive file containing object code for standard C library:
-
- ! set libc="/lib/Llibc.a"
-
- # Makefile to modify:
-
- --- 29,35 ----
-
- # Archive file containing object code for standard C library:
-
- ! set libc="/lib/libc.a"
-
- # Makefile to modify:
-
- ***************
- *** 272,278 ****
- cp compat/testpid.c test.c
- make test >& /dev/null
- set chk1=$status
- ! if ( $chk1 != 0 ) then
- set pid_t=0
- echo "- The types pid_t and uid_t aren't defined in <sys/types.h>"
- echo ' so Tcl will use "int" instead.'
- --- 272,278 ----
- cp compat/testpid.c test.c
- make test >& /dev/null
- set chk1=$status
- ! if ( $status != 0 ) then
- set pid_t=0
- echo "- The types pid_t and uid_t aren't defined in <sys/types.h>"
- echo ' so Tcl will use "int" instead.'
- *** ../../tcl6.1-release/tcl6.1/tclUnix.h Sat Nov 23 09:52:30 1991
- --- tclUnix.h Sat Nov 23 10:02:36 1991
- ***************
- *** 54,65 ****
- * pid_t and uid_t. 0 means that it doesn't.
- */
-
- ! #define TCL_GETTOD 0
- ! #define TCL_GETWD 0
- #define TCL_SYS_ERRLIST 1
- #define TCL_SYS_TIME_H 1
- #define TCL_SYS_WAIT_H 1
- ! #define TCL_UNION_WAIT 0
- #define TCL_PID_T 1
-
- #include <errno.h>
- --- 54,65 ----
- * pid_t and uid_t. 0 means that it doesn't.
- */
-
- ! #define TCL_GETTOD 1
- ! #define TCL_GETWD 1
- #define TCL_SYS_ERRLIST 1
- #define TCL_SYS_TIME_H 1
- #define TCL_SYS_WAIT_H 1
- ! #define TCL_UNION_WAIT 1
- #define TCL_PID_T 1
-
- #include <errno.h>
- --
- -- sysop of Sugar Land Unix "Have Unix, will travel."
-
- exit 0 # Just in case...
- --
- Kent Landfield INTERNET: kent@sparky.IMD.Sterling.COM
- Sterling Software, IMD UUCP: uunet!sparky!kent
- Phone: (402) 291-8300 FAX: (402) 291-4362
- Please send comp.sources.misc-related mail to kent@uunet.uu.net.
-