max@compaq.com (Max Heffler) (06/27/91)
Here are the changes I made to compile ISIS on a Compaq 386 running Interactive Systems Corp. (ISC) 386/is 3.2.2 (System V.3.2). These are patches to version 2.1, ISIS only, not meta or magic. 1) After you've extracted ISIS from the tar file, copy the bottom of this message and the next (the shar files) to <your_isis_home>/isisv2.1/<file1> and <your_isis_home>/isisv2.1/<file2>. 2) % sh <file1> 3) % sh <file2> 4) % patch_ISC 5) % make ISC (I've set the options to disable bypass, and to compile with debug. If you want different, edit FILES/ISC.MAKEFILE before this step; or kill the make after all files have been copied, and before compilation starts, cd to ISC and edit the makefile there. Max Heffler max@compaq.com (713) 378-8366 #!/bin/sh # This is a shell archive (produced by shar 3.49) # To extract the files from this archive, save it to a file, remove # everything above the "!/bin/sh" line above, and type "sh file_name". # # made 06/27/1991 14:19 UTC by max@isis # Source directory /home/max/isis/diffs # # existing files will NOT be overwritten unless -c is specified # # This shar contains: # length mode name # ------ ---------- ------------------------------------------ # 1439 -rwxr-xr-x patch_ISC # 786 -rw-r--r-- Makefile.patch # 2044 -rw-r--r-- clibmakefile.patch # 1182 -rw-r--r-- tk_lmgr.c.patch # 592 -rw-r--r-- pmkexec.c.patch # 850 -rw-r--r-- cl_inter.c.patch # 57 -rw-r--r-- cl_inter.h.patch # 92 -rw-r--r-- cl_isis.c.patch # 640 -rw-r--r-- cl_task.c.patch # 294 -rw-r--r-- cl_task.h.patch # 677 -rw-r--r-- isis.h.patch # 87 -rw-r--r-- pr_main.c.patch # 64 -rw-r--r-- tk_rmgr.c.patch # 1539 -rw-r--r-- tk_xaction.c.patch # 40 -rw-r--r-- grid.h.patch # 106 -rw-r--r-- pmkmain.c.patch # 234 -rw-r--r-- pmkmakefile.patch # 47 -rw-r--r-- input.c.patch # 1355 -rw-r--r-- msg.h.patch # 98 -rw-r--r-- pmklib.c.patch # 35 -rw-r--r-- pmksched6.c.patch # 47 -rw-r--r-- reader.c.patch # 45 -rw-r--r-- rules.c.patch # 45 -rw-r--r-- spread.c.patch # 40 -rw-r--r-- spread.h.patch # 320 -rw-r--r-- mlibmakefile.patch # 86 -rw-r--r-- msg_alloc.c.patch # 2157 -rw-r--r-- FILES/ISC.MAKEFILE # 519 -rw-r--r-- FILES/ISC.README # 1294 -rwxr-xr-x FILES/remake_ISClink # 413 -rw-r--r-- pr.h.patch # 143 -rw-r--r-- pr_client.c.patch # 553 -rw-r--r-- pr_inter.c.patch # 57 -rw-r--r-- pr_inter.h.patch # 691 -rw-r--r-- pr_task.c.patch # 89 -rw-r--r-- cmd.c.patch # 85 -rw-r--r-- isis.c.patch # 35 -rw-r--r-- rmgr.c.patch # 965 -rw-r--r-- protosmkfile.patch # # ============= patch_ISC ============== if test -f 'patch_ISC' -a X"$1" != X"-c"; then echo 'x - skipping patch_ISC (File already exists)' else echo 'x - extracting patch_ISC (Text)' sed 's/^X//' << 'SHAR_EOF' > 'patch_ISC' && # /bin/sh X cd clib X patch cl_inter.c < ../cl_inter.c.patch X patch cl_inter.h < ../cl_inter.h.patch X patch cl_isis.c < ../cl_isis.c.patch X patch cl_task.c < ../cl_task.c.patch X patch cl_task.h < ../cl_task.h.patch X patch isis.h < ../isis.h.patch X patch makefile < ../clibmakefile.patch X patch tk_lmgr.c < ../tk_lmgr.c.patch X patch tk_rmgr.c < ../tk_rmgr.c.patch X patch tk_xaction.c < ../tk_xaction.c.patch cd .. X cd demos X patch grid.h < ../grid.h.patch X patch spread.c < ../spread.c.patch X patch spread.h < ../spread.h.patch cd pmk X patch input.c < ../../input.c.patch X patch main.c < ../../pmkmain.c.patch X patch makefile < ../../pmkmakefile.patch X patch pmkexec.c < ../../pmkexec.c.patch X patch pmklib.c < ../../pmklib.c.patch X patch pmksched6.c < ../../pmksched6.c.patch X patch reader.c < ../../reader.c.patch X patch rules.c < ../../rules.c.patch cd ../.. X cd mlib X patch makefile < ../mlibmakefile.patch X patch msg.h < ../msg.h.patch X patch msg_alloc.c < ../msg_alloc.c.patch cd .. X cd protos X patch makefile < ../protosmkfile.patch X patch pr.h < ../pr.h.patch X patch pr_client.c < ../pr_client.c.patch X patch pr_inter.c < ../pr_inter.c.patch X patch pr_inter.h < ../pr_inter.h.patch X patch pr_main.c < ../pr_main.c.patch X patch pr_task.c < ../pr_task.c.patch cd .. X cd util X patch cmd.c < ../cmd.c.patch X patch isis.c < ../isis.c.patch X patch rmgr.c < ../rmgr.c.patch cd .. X patch Makefile < Makefile.patch SHAR_EOF chmod 0755 patch_ISC || echo 'restore of patch_ISC failed' Wc_c="`wc -c < 'patch_ISC'`" test 1439 -eq "$Wc_c" || echo 'patch_ISC: original size 1439, current size' "$Wc_c" fi # ============= Makefile.patch ============== if test -f 'Makefile.patch' -a X"$1" != X"-c"; then echo 'x - skipping Makefile.patch (File already exists)' else echo 'x - extracting Makefile.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'Makefile.patch' && 0a1 > SHELL = /bin/sh 2c3 < HPUX MACH MIPS NEXT SGI SUN3 SUN4 VAX CONVEX --- > HPUX ISC MACH MIPS NEXT SGI SUN3 SUN4 VAX CONVEX 6,7c7,8 < @echo "Normal usage: \"make MCHTYPE\"" < @echo "Valid types: " $(HOSTS) --- > @echo Normal usage - make MCHTYPE > @echo Valid types - $(HOSTS) 69a71,79 > ISC_DIR_MADE: > @echo Creating binary area... > @(cd BINARY-TEMPLATE; tar -cf - .) | (mkdir ISC; cd ISC; tar -xf -) > @cp FILES/ISC.README ISC/README > @cp FILES/ISC.MAKEFILE ISC/makefile > @cp FILES/remake_ISClink ISC > @ln clib/cl_sunlwp_fix.c clib/cl_sunlwp_fx.c > @cd ISC; csh remake_ISClink 2>/dev/null ; cd .. > @date > ISC_DIR_MADE 142a153,154 > ISC: ISC_DIR_MADE ISC_LAST_MAKE > cd ISC; make; make install; remake_ISClink; date > ISC_LAST_MAKE 167a180 > ISC_LAST_MAKE: SHAR_EOF chmod 0644 Makefile.patch || echo 'restore of Makefile.patch failed' Wc_c="`wc -c < 'Makefile.patch'`" test 786 -eq "$Wc_c" || echo 'Makefile.patch: original size 786, current size' "$Wc_c" fi # ============= clibmakefile.patch ============== if test -f 'clibmakefile.patch' -a X"$1" != X"-c"; then echo 'x - skipping clibmakefile.patch (File already exists)' else echo 'x - extracting clibmakefile.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'clibmakefile.patch' && 12c12 < cl_setjmp.o cl_token.o cl_sunlwp_fix.o history.o --- > cl_setjmp.o cl_token.o cl_sunlwp_fx.o history.o 28c28 < -if test $(MCHTYPE) != HPUX -a $(MCHTYPE) != AIX -a $(MCHTYPE) != AUX ; then ranlib libisis1.a; fi --- > -if test $(MCHTYPE) != HPUX -a $(MCHTYPE) != ISC -a $(MCHTYPE) != AIX -a $(MCHTYPE) != AUX ; then ranlib libisis1.a; fi 33c33 < -if test $(MCHTYPE) != HPUX -a $(MCHTYPE) != AIX -a $(MCHTYPE) != AUX ; then ranlib libisis2.a; fi --- > -if test $(MCHTYPE) != HPUX -a $(MCHTYPE) != ISC -a $(MCHTYPE) != AIX -a $(MCHTYPE) != AUX ; then ranlib libisis2.a; fi 39c39 < -if test $(MCHTYPE) != HPUX -a $(MCHTYPE) != AIX -a $(MCHTYPE) != AUX ; then ranlib libisism.a; fi --- > -if test $(MCHTYPE) != HPUX -a $(MCHTYPE) != ISC -a $(MCHTYPE) != AIX -a $(MCHTYPE) != AUX ; then ranlib libisism.a; fi 71,72c71,72 < -if test $(MCHTYPE) != GOULD -a $(MCHTYPE) != RT43 -a $(MCHTYPE) != MIPS -a $(MCHTYPE) != AIX -a $(MCHTYPE) != MACH -a $(MCHTYPE) != APOLLO -a $(MCHTYPE) != SGI -a $(MCHTYPE) != CONVEX ; then cc -c $(CPPFLAGS) cl_setjmp.s; fi < -if test $(MCHTYPE) = GOULD -o $(MCHTYPE) = RT43 -o $(MCHTYPE) = MIPS -o $(MCHTYPE) = AIX -o $(MCHTYPE) = MACH -o $(MCHTYPE) = APOLLO -o $(MCHTYPE) = SGI -o $(MCHTYPE) = CONVEX; then $(CC) -c $(CFLAGS) $(S)/cl_setjmp.c; fi --- > -if test $(MCHTYPE) != GOULD -a $(MCHTYPE) != RT43 -a $(MCHTYPE) != MIPS -a $(MCHTYPE) != AIX -a $(MCHTYPE) != ISC -a $(MCHTYPE) != MACH -a $(MCHTYPE) != APOLLO -a $(MCHTYPE) != SGI -a $(MCHTYPE) != CONVEX ; then cc -c $(CPPFLAGS) cl_setjmp.s; fi > -if test $(MCHTYPE) = GOULD -o $(MCHTYPE) = RT43 -o $(MCHTYPE) = MIPS -o $(MCHTYPE) = AIX -o $(MCHTYPE) = ISC -o $(MCHTYPE) = MACH -o $(MCHTYPE) = APOLLO -o $(MCHTYPE) = SGI -o $(MCHTYPE) = CONVEX; then $(CC) -c $(CFLAGS) $(S)/cl_setjmp.c; fi 76c76,77 < cl_sunlwp_fix.o: $(S)/cl_sunlwp_fix.c; cc -c $(CPPFLAGS) $(S)/cl_sunlwp_fix.c --- > #cl_sunlwp_fix.o: $(S)/cl_sunlwp_fix.c; cc -c $(CPPFLAGS) $(S)/cl_sunlwp_fix.c > cl_sunlwp_fx.o: $(S)/cl_sunlwp_fx.c; cc -c $(CPPFLAGS) $(S)/cl_sunlwp_fx.c SHAR_EOF chmod 0644 clibmakefile.patch || echo 'restore of clibmakefile.patch failed' Wc_c="`wc -c < 'clibmakefile.patch'`" test 2044 -eq "$Wc_c" || echo 'clibmakefile.patch: original size 2044, current size' "$Wc_c" fi # ============= tk_lmgr.c.patch ============== if test -f 'tk_lmgr.c.patch' -a X"$1" != X"-c"; then echo 'x - skipping tk_lmgr.c.patch (File already exists)' else echo 'x - extracting tk_lmgr.c.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'tk_lmgr.c.patch' && 856a857,861 > #ifdef ISC > int c, i; > FILE *t_fp; > char *t_name; > #endif 921a927,956 > #ifdef ISC > fflush(l_node->l_fp); > t_name = malloc(strlen(isis_dir) + sizeof(LOG_SUBDIR) + > sizeof(LOG_TTMPLT) + 3); > strcpy(t_name, isis_dir); > strcat(t_name, "/"); > strcat(t_name, LOG_SUBDIR); > strcat(t_name, "/"); > strcat(t_name, LOG_TTMPLT); > mktemp(t_name); > if ((t_fp = fopen(t_name, "w")) == NULL) { > panic("File truncation error (fopen) %d", errno); > return; > } > rewind(l_node->l_fp); > for (i = 0; i < (off_t)l_node->wri_off; ++i) { > if ((c = getc(l_node->l_fp)) == EOF) > panic("File truncation error (getc got EOF)"); > return; > putc(c, t_fp); > } > fclose(l_node->l_fp); > if (!rename(t_name, l_node->l_name)) { > panic("File truncation error (rename) %d", errno); > return; > } > if ((l_node->l_fp = fopen(l_node->l_name, "w")) == NULL) { > panic("File truncation error (fopen) %d", errno); > return; > } 922a958,959 > #else > fseek(l_node->l_fp, (long)l_node->wri_off, 0); 925a963 > #endif SHAR_EOF chmod 0644 tk_lmgr.c.patch || echo 'restore of tk_lmgr.c.patch failed' Wc_c="`wc -c < 'tk_lmgr.c.patch'`" test 1182 -eq "$Wc_c" || echo 'tk_lmgr.c.patch: original size 1182, current size' "$Wc_c" fi # ============= pmkexec.c.patch ============== if test -f 'pmkexec.c.patch' -a X"$1" != X"-c"; then echo 'x - skipping pmkexec.c.patch (File already exists)' else echo 'x - extracting pmkexec.c.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'pmkexec.c.patch' && 145a146 > #ifndef ISC 146a148 > #endif 151a154,156 > #ifdef ISC > #include <rpc/rpc.h> > #endif 972a978 > #ifndef ISC 973a980,982 > #else > chmod(std_out_name,0000777); > #endif 1168c1177 < # ifndef AIX --- > # if (!(AIX|ISC)) 1172a1182 > #ifndef ISC 1173a1184 > #endif 1175a1187 > #ifndef ISC 1176a1189,1191 > #else > if(((wait_pid=wait())>0) || > #endif 1181c1196 < # if (!(AIX|AIXRS)) --- > # if (!(AIX|AIXRS|ISC)) 1516a1532,1534 > #ifdef ISC > nusers=0; /* no ruserd for ISC */ > #else 1518a1537 > #endif 1663c1682 < #if defined(HPUX) --- > #if (HPUX|ISC) SHAR_EOF chmod 0644 pmkexec.c.patch || echo 'restore of pmkexec.c.patch failed' Wc_c="`wc -c < 'pmkexec.c.patch'`" test 592 -eq "$Wc_c" || echo 'pmkexec.c.patch: original size 592, current size' "$Wc_c" fi # ============= cl_inter.c.patch ============== if test -f 'cl_inter.c.patch' -a X"$1" != X"-c"; then echo 'x - skipping cl_inter.c.patch (File already exists)' else echo 'x - extracting cl_inter.c.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'cl_inter.c.patch' && 806a807,808 > # ifdef ISC > loop: 808a811,815 > else if (errno == EWOULDBLOCK || errno == EAGAIN) > { > intercl_socket = isis_reset_sock(intercl_socket); > goto loop; > } 810a818,823 > # else ISC > if(sendto(intercl_socket, staging_buf, len, 0, (struct sockaddr*)&ioqp->io_address, sizeof(saddr)) != -1) > errno = 0; > else > perror("intercl: sendto"); > # endif ISC 2056a2070,2078 > #else HPUX > # ifdef ISC > if ( rv == -1 && (errno == EWOULDBLOCK || errno == EAGAIN)) > { > sock = isis_reset_sock(sock); > goto retrysend; > } > else > # endif ISC 2084c2106 < #ifdef HPUX --- > #if (HPUX|ISC) 2126c2148 < #endif HPUX --- > #endif HPUX|ISC SHAR_EOF chmod 0644 cl_inter.c.patch || echo 'restore of cl_inter.c.patch failed' Wc_c="`wc -c < 'cl_inter.c.patch'`" test 850 -eq "$Wc_c" || echo 'cl_inter.c.patch: original size 850, current size' "$Wc_c" fi # ============= cl_inter.h.patch ============== if test -f 'cl_inter.h.patch' -a X"$1" != X"-c"; then echo 'x - skipping cl_inter.h.patch (File already exists)' else echo 'x - extracting cl_inter.h.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'cl_inter.h.patch' && 31a32,34 > #ifdef ISC > # include <net/errno.h> > #endif SHAR_EOF chmod 0644 cl_inter.h.patch || echo 'restore of cl_inter.h.patch failed' Wc_c="`wc -c < 'cl_inter.h.patch'`" test 57 -eq "$Wc_c" || echo 'cl_inter.h.patch: original size 57, current size' "$Wc_c" fi # ============= cl_isis.c.patch ============== if test -f 'cl_isis.c.patch' -a X"$1" != X"-c"; then echo 'x - skipping cl_isis.c.patch (File already exists)' else echo 'x - extracting cl_isis.c.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'cl_isis.c.patch' && 3466a3467,3472 > #ifdef ISC > wait3(n, flag, m) > { > return(wait()); > } > #endif ISC SHAR_EOF chmod 0644 cl_isis.c.patch || echo 'restore of cl_isis.c.patch failed' Wc_c="`wc -c < 'cl_isis.c.patch'`" test 92 -eq "$Wc_c" || echo 'cl_isis.c.patch: original size 92, current size' "$Wc_c" fi # ============= cl_task.c.patch ============== if test -f 'cl_task.c.patch' -a X"$1" != X"-c"; then echo 'x - skipping cl_task.c.patch (File already exists)' else echo 'x - extracting cl_task.c.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'cl_task.c.patch' && 52c52 < # if (AIX) --- > # if (AIX|ISC) 509a510,526 > isis_longjmp(env, 1); > } > } > # endif > # ifdef ISC > { > #include <signal.h> > jmp_buf env; > int *envp; > > if (isis_setjmp(env) == 0) { > stackp = &tp->task_stack[STACKLEN-(32 words)]; > stackp = (char*)((int)stackp & ~0x1f); > envp = (int *)env; > envp[JB_BP] = (int)stackp; > envp[JB_SP] = (int)stackp; > sigset(SIGCHLD, SIG_IGN); SHAR_EOF chmod 0644 cl_task.c.patch || echo 'restore of cl_task.c.patch failed' Wc_c="`wc -c < 'cl_task.c.patch'`" test 640 -eq "$Wc_c" || echo 'cl_task.c.patch: original size 640, current size' "$Wc_c" fi # ============= cl_task.h.patch ============== if test -f 'cl_task.h.patch' -a X"$1" != X"-c"; then echo 'x - skipping cl_task.h.patch (File already exists)' else echo 'x - extracting cl_task.h.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'cl_task.h.patch' && 98c98,102 < # define DEF_TASKLEN (6 kw) /* size of task struct */ --- > # ifdef ISC > # define DEF_TASKLEN (32 kw) /* size of task struct */ > # else > # define DEF_TASKLEN (6 kw) /* size of task struct */ > # endif SHAR_EOF chmod 0644 cl_task.h.patch || echo 'restore of cl_task.h.patch failed' Wc_c="`wc -c < 'cl_task.h.patch'`" test 294 -eq "$Wc_c" || echo 'cl_task.h.patch: original size 294, current size' "$Wc_c" fi # ============= isis.h.patch ============== if test -f 'isis.h.patch' -a X"$1" != X"-c"; then echo 'x - skipping isis.h.patch (File already exists)' else echo 'x - extracting isis.h.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'isis.h.patch' && 39a40,49 > #ifdef ISC > #include <net/errno.h> > typedef short pid_t; > #include <sys/limits.h> > #define MAXPATHLEN PATH_MAX > #include <sys/unistd.h> > #define L_SET SEEK_SET /* Absolute offset */ > #define L_XTND SEEK_END /* Relative to EOF */ > #define signal sigset /* reliable signals */ > #endif 141c151 < #ifdef SGI --- > #if SGI 150a161,165 > #ifdef ISC > # define JB_BP 3 > # define JB_SP 4 > #endif ISC > 173c188 < #if (AIX|AIXRS|HPUX|SUN|VAX|SGI|MIPS|AUX) --- > #if (AIX|AIXRS|HPUX|ISC|SUN|VAX|SGI|MIPS|AUX) 177c192 < #endif (AIX|AIXRS|HPUX|SUN|VAX|SGI|MIPS|AUX) --- > #endif (AIX|AIXRS|HPUX|ISC|SUN|VAX|SGI|MIPS|AUX) SHAR_EOF chmod 0644 isis.h.patch || echo 'restore of isis.h.patch failed' Wc_c="`wc -c < 'isis.h.patch'`" test 677 -eq "$Wc_c" || echo 'isis.h.patch: original size 677, current size' "$Wc_c" fi # ============= pr_main.c.patch ============== if test -f 'pr_main.c.patch' -a X"$1" != X"-c"; then echo 'x - skipping pr_main.c.patch (File already exists)' else echo 'x - extracting pr_main.c.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'pr_main.c.patch' && 845a846,848 > #ifdef ISC > if ((delta > 10000) || (delta < -10000)) > #endif ISC SHAR_EOF chmod 0644 pr_main.c.patch || echo 'restore of pr_main.c.patch failed' Wc_c="`wc -c < 'pr_main.c.patch'`" test 87 -eq "$Wc_c" || echo 'pr_main.c.patch: original size 87, current size' "$Wc_c" fi # ============= tk_rmgr.c.patch ============== if test -f 'tk_rmgr.c.patch' -a X"$1" != X"-c"; then echo 'x - skipping tk_rmgr.c.patch (File already exists)' else echo 'x - extracting tk_rmgr.c.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'tk_rmgr.c.patch' && 357a358,360 > #ifdef ISC > sync(); > #else 360a364 > #endif SHAR_EOF chmod 0644 tk_rmgr.c.patch || echo 'restore of tk_rmgr.c.patch failed' Wc_c="`wc -c < 'tk_rmgr.c.patch'`" test 64 -eq "$Wc_c" || echo 'tk_rmgr.c.patch: original size 64, current size' "$Wc_c" fi # ============= tk_xaction.c.patch ============== if test -f 'tk_xaction.c.patch' -a X"$1" != X"-c"; then echo 'x - skipping tk_xaction.c.patch (File already exists)' else echo 'x - extracting tk_xaction.c.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'tk_xaction.c.patch' && 89c89 < #if !(HPUX|AIXRS|SGI) --- > #if !(HPUX|AIXRS|ISC|SGI) 1064c1064,1065 < name = malloc(strlen(isis_dir) + sizeof(xlog_subdir) + strlen(part_name) + 3); --- > name = malloc(strlen(isis_dir) + sizeof(xlog_subdir) + > strlen(part_name) + 3); 1231a1233,1236 > #ifdef ISC > x_compact_log(part_name, log_file) > char *part_name; > #else 1232a1238 > #endif 1242a1249,1251 > #ifdef ISC > char *name; > #endif 1248a1258,1272 > #ifdef ISC > fclose(log_file); > name = malloc(strlen(isis_dir) + sizeof(xlog_subdir) + > strlen(part_name) + 3); > > strcpy (name, isis_dir); > strcat (name, "/"); > strcat (name, xlog_subdir); > strcat (name, "/"); > strcat (name, part_name); > if ((log_file = fopen(name, "w+")) == NULL) { > panic("File truncation error %d", errno); > return; > } > #else 1249a1274 > #endif 1305a1331,1333 > #ifdef ISC > x_compact_log(part_name, log_file); > #else 1306a1335 > #endif 1412a1442,1444 > #ifdef ISC > char *name; > #endif 1416a1449,1463 > #ifdef ISC > fclose(log_file); > name = malloc(strlen(isis_dir) + sizeof(xlog_subdir) + > strlen(part_name) + 3); > > strcpy (name, isis_dir); > strcat (name, "/"); > strcat (name, xlog_subdir); > strcat (name, "/"); > strcat (name, part_name); > if ((log_file = fopen(name, "w+")) == NULL) { > panic("File truncation error %d", errno); > return; > } > #else 1417a1465 > #endif SHAR_EOF chmod 0644 tk_xaction.c.patch || echo 'restore of tk_xaction.c.patch failed' Wc_c="`wc -c < 'tk_xaction.c.patch'`" test 1539 -eq "$Wc_c" || echo 'tk_xaction.c.patch: original size 1539, current size' "$Wc_c" fi # ============= grid.h.patch ============== if test -f 'grid.h.patch' -a X"$1" != X"-c"; then echo 'x - skipping grid.h.patch (File already exists)' else echo 'x - extracting grid.h.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'grid.h.patch' && 30c30 < #if (HPUX) --- > #if (HPUX|ISC) SHAR_EOF chmod 0644 grid.h.patch || echo 'restore of grid.h.patch failed' Wc_c="`wc -c < 'grid.h.patch'`" test 40 -eq "$Wc_c" || echo 'grid.h.patch: original size 40, current size' "$Wc_c" fi # ============= pmkmain.c.patch ============== if test -f 'pmkmain.c.patch' -a X"$1" != X"-c"; then echo 'x - skipping pmkmain.c.patch (File already exists)' else echo 'x - extracting pmkmain.c.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'pmkmain.c.patch' && 30a31,34 > #ifdef ISC > #include <sys/unistd.h> > #endif > 41c45 < #if defined(HPUX) --- > #if (HPUX|ISC) SHAR_EOF chmod 0644 pmkmain.c.patch || echo 'restore of pmkmain.c.patch failed' Wc_c="`wc -c < 'pmkmain.c.patch'`" test 106 -eq "$Wc_c" || echo 'pmkmain.c.patch: original size 106, current size' "$Wc_c" fi # ============= pmkmakefile.patch ============== if test -f 'pmkmakefile.patch' -a X"$1" != X"-c"; then echo 'x - skipping pmkmakefile.patch (File already exists)' else echo 'x - extracting pmkmakefile.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'pmkmakefile.patch' && 35c35 < cc -o pmake $(PUBOBJS) pmklst.o pmklib.o $(LIBS) --- > cc -o pmake $(PUBOBJS) pmklst.o pmklib.o $(LIBS) $(OPLIBS) 38c38 < cc -o pmkexec $(PMKOBJS) $(LIBS) -lrpcsvc --- > cc -o pmkexec $(PMKOBJS) $(LIBS) -lrpcsvc $(OPLIBS) SHAR_EOF chmod 0644 pmkmakefile.patch || echo 'restore of pmkmakefile.patch failed' Wc_c="`wc -c < 'pmkmakefile.patch'`" test 234 -eq "$Wc_c" || echo 'pmkmakefile.patch: original size 234, current size' "$Wc_c" fi # ============= input.c.patch ============== if test -f 'input.c.patch' -a X"$1" != X"-c"; then echo 'x - skipping input.c.patch (File already exists)' else echo 'x - extracting input.c.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'input.c.patch' && 11c11 < #if defined(HPUX) --- > #if (HPUX|ISC) SHAR_EOF chmod 0644 input.c.patch || echo 'restore of input.c.patch failed' Wc_c="`wc -c < 'input.c.patch'`" test 47 -eq "$Wc_c" || echo 'input.c.patch: original size 47, current size' "$Wc_c" fi # ============= msg.h.patch ============== if test -f 'msg.h.patch' -a X"$1" != X"-c"; then echo 'x - skipping msg.h.patch (File already exists)' else echo 'x - extracting msg.h.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'msg.h.patch' && 25,30c25,38 < # define MAXSIZE 7500 /* Piggybacking packet size limit */ < # define MSG_MUSTFRAG 7750 /* Fragment anything larger than this */ < # define MAXMSGLEN 8192 /* Largest ever sent/received */ < # define FRAGSIZE 7500 /* Fragment size */ < # define STAGEBUFSIZE 10240 /* Size of staging area */ < #else --- > # ifndef ISC > # define MAXSIZE 7500 /* Piggybacking packet size limit */ > # define MSG_MUSTFRAG 7750 /* Fragment anything larger than this */ > # define MAXMSGLEN 8192 /* Largest ever sent/received */ > # define FRAGSIZE 7500 /* Fragment size */ > # define STAGEBUFSIZE 10240 /* Size of staging area */ > # else ISC > # define MAXSIZE 3400 /* Piggybacking packet size limit */ > # define MSG_MUSTFRAG 3600 /* Fragment anything larger than this */ > # define MAXMSGLEN 4096 /* Largest ever sent/received */ > # define FRAGSIZE 3400 /* Fragment size */ > # define STAGEBUFSIZE 8192 /* Size of staging area */ > # endif ISC > #else AIX SHAR_EOF chmod 0644 msg.h.patch || echo 'restore of msg.h.patch failed' Wc_c="`wc -c < 'msg.h.patch'`" test 1355 -eq "$Wc_c" || echo 'msg.h.patch: original size 1355, current size' "$Wc_c" fi # ============= pmklib.c.patch ============== if test -f 'pmklib.c.patch' -a X"$1" != X"-c"; then echo 'x - skipping pmklib.c.patch (File already exists)' else echo 'x - extracting pmklib.c.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'pmklib.c.patch' && 332c332 < #if defined(HPUX) --- > #if (HPUX|ISC) 381c381 < #if defined(HPUX) --- > #if (HPUX|ISC) SHAR_EOF chmod 0644 pmklib.c.patch || echo 'restore of pmklib.c.patch failed' Wc_c="`wc -c < 'pmklib.c.patch'`" test 98 -eq "$Wc_c" || echo 'pmklib.c.patch: original size 98, current size' "$Wc_c" fi # ============= pmksched6.c.patch ============== if test -f 'pmksched6.c.patch' -a X"$1" != X"-c"; then echo 'x - skipping pmksched6.c.patch (File already exists)' else echo 'x - extracting pmksched6.c.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'pmksched6.c.patch' && 14a15 > #ifndef ISC 15a17 > #endif SHAR_EOF chmod 0644 pmksched6.c.patch || echo 'restore of pmksched6.c.patch failed' Wc_c="`wc -c < 'pmksched6.c.patch'`" test 35 -eq "$Wc_c" || echo 'pmksched6.c.patch: original size 35, current size' "$Wc_c" fi # ============= reader.c.patch ============== if test -f 'reader.c.patch' -a X"$1" != X"-c"; then echo 'x - skipping reader.c.patch (File already exists)' else echo 'x - extracting reader.c.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'reader.c.patch' && 11c11 < #if defined(HPUX) --- > #if (HPUX|ISC) SHAR_EOF chmod 0644 reader.c.patch || echo 'restore of reader.c.patch failed' Wc_c="`wc -c < 'reader.c.patch'`" test 47 -eq "$Wc_c" || echo 'reader.c.patch: original size 47, current size' "$Wc_c" fi # ============= rules.c.patch ============== if test -f 'rules.c.patch' -a X"$1" != X"-c"; then echo 'x - skipping rules.c.patch (File already exists)' else echo 'x - extracting rules.c.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'rules.c.patch' && 9c9 < #if defined(HPUX) --- > #if (HPUX|ISC) SHAR_EOF chmod 0644 rules.c.patch || echo 'restore of rules.c.patch failed' Wc_c="`wc -c < 'rules.c.patch'`" test 45 -eq "$Wc_c" || echo 'rules.c.patch: original size 45, current size' "$Wc_c" fi true || echo 'restore of spread.c.patch failed' echo End of part 1, continue with part 2 exit 0 -- Max Heffler, Senior Software Engineer internet: max@compaq.com Compaq Computer Corporation uucp: ..!uunet!max@compaq.com P.O. Box 692000 - M050701 phone: (713) 378-8366 Houston, Texas 77269-2000 fax: (713) 374-7305
max@compaq.com (Max Heffler) (06/27/91)
#!/bin/sh # This is part 02 of a multipart archive # ============= spread.c.patch ============== if test -f 'spread.c.patch' -a X"$1" != X"-c"; then echo 'x - skipping spread.c.patch (File already exists)' else echo 'x - extracting spread.c.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'spread.c.patch' && 1624d1623 < menu[5].left = menu[3].left; SHAR_EOF chmod 0644 spread.c.patch || echo 'restore of spread.c.patch failed' Wc_c="`wc -c < 'spread.c.patch'`" test 45 -eq "$Wc_c" || echo 'spread.c.patch: original size 45, current size' "$Wc_c" fi # ============= spread.h.patch ============== if test -f 'spread.h.patch' -a X"$1" != X"-c"; then echo 'x - skipping spread.h.patch (File already exists)' else echo 'x - extracting spread.h.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'spread.h.patch' && 46c46 < #if (HPUX) --- > #if (HPUX|ISC) SHAR_EOF chmod 0644 spread.h.patch || echo 'restore of spread.h.patch failed' Wc_c="`wc -c < 'spread.h.patch'`" test 40 -eq "$Wc_c" || echo 'spread.h.patch: original size 40, current size' "$Wc_c" fi # ============= mlibmakefile.patch ============== if test -f 'mlibmakefile.patch' -a X"$1" != X"-c"; then echo 'x - skipping mlibmakefile.patch (File already exists)' else echo 'x - extracting mlibmakefile.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'mlibmakefile.patch' && 13c13 < -$(S)/fix_mlib_for_gcc $(CC) --- > #-$(S)/fix_mlib_for_g $(CC) 15c15 < if test $(MCHTYPE) != HPUX -a $(MCHTYPE) != AIX -a $(MCHTYPE) != AUX; then ranlib libisism.a; fi; exit 0 --- > if test $(MCHTYPE) != HPUX -a $(MCHTYPE) != ISC -a $(MCHTYPE) != AIX -a $(MCHTYPE) != AUX; then ranlib libisism.a; fi; exit 0 SHAR_EOF chmod 0644 mlibmakefile.patch || echo 'restore of mlibmakefile.patch failed' Wc_c="`wc -c < 'mlibmakefile.patch'`" test 320 -eq "$Wc_c" || echo 'mlibmakefile.patch: original size 320, current size' "$Wc_c" fi # ============= msg_alloc.c.patch ============== if test -f 'msg_alloc.c.patch' -a X"$1" != X"-c"; then echo 'x - skipping msg_alloc.c.patch (File already exists)' else echo 'x - extracting msg_alloc.c.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'msg_alloc.c.patch' && 213c213 < #if !(HPUX|AIXRS|SGI|CONVEX) --- > #if !(HPUX|AIXRS|ISC|SGI|CONVEX) SHAR_EOF chmod 0644 msg_alloc.c.patch || echo 'restore of msg_alloc.c.patch failed' Wc_c="`wc -c < 'msg_alloc.c.patch'`" test 86 -eq "$Wc_c" || echo 'msg_alloc.c.patch: original size 86, current size' "$Wc_c" fi # ============= FILES/ISC.MAKEFILE ============== if test ! -d 'FILES'; then echo 'x - creating directory FILES' mkdir 'FILES' fi if test -f 'FILES/ISC.MAKEFILE' -a X"$1" != X"-c"; then echo 'x - skipping FILES/ISC.MAKEFILE (File already exists)' else echo 'x - extracting FILES/ISC.MAKEFILE (Text)' sed 's/^X//' << 'SHAR_EOF' > 'FILES/ISC.MAKEFILE' && # $RCSfile: makefile,v $ $Revision: 1.5 $ $Date: 90/04/25 13:15:25 $ SHELL = /bin/sh MCH = MCHTYPE=ISC X MCHDEP = $(MCH) MCHDEPCFLAGS="-DNO_ASM -U__STDC__" \ X OPLIBS="-linet -lcposix -lrpc" # Use the following line if you want to enable bypass communication mode. #MCHDEP = $(MCH) MCHDEPCFLAGS="-DBYPASS" OPLIBS= X # The following lines define useful sets of options for using either the # gcc compiler or the standard C compiler on your system. OPTIMSTD = CC=cc OPTIM="-O" DEBUGSTD = CC=cc OPTIM="-g" OPTIMGCC = CC=gcc OPTIM="-g -O" DEBUGGCC = CC=gcc OPTIM="-g" WARNGCC = CC=gcc OPTIM="-g -O -W" WALLGCC = CC=gcc OPTIM="-g -Wall -O" NOWARNGCC = CC=gcc OPTIM="-g -w -O" X all: readme mlib clib protos util demos X readme: X @cat README X protos: pr_action clib: cl_action mlib: ml_action util: ut_action demos: de_action X pr_action: X cd protos; make $(MCHDEP) $(DEBUGSTD) ; cd .. cl_action: X cd clib; make $(MCHDEP) $(DEBUGSTD) ; cd .. ml_action: X cd mlib; make $(MCHDEP) $(DEBUGSTD) ; cd .. ut_action: X cd util; make $(MCHDEP) $(DEBUGSTD) ; cd .. de_action: X cd demos; make $(MCHDEP) $(DEBUGSTD) ; cd .. X UTILPROGS = cmd isis lmgr news prstat rexec \ X rmgr rmgr_cmd spooler tabex xmgr DEMOPROGS = bank fortran_test grid lh_sp_test lisp_test \ X qa selftest silentjoins sun_grid teller testjoins \ X testtasks twenty wanClient wanServer spread X install: X (cd bin; /bin/rm -f protos $(UTILPROGS) $(DEMOPROGS) ) X - (cd demos/pmk; make install ) X ln protos/protos bin X (cd util; ln $(UTILPROGS) ../bin ) X - (cd demos; ln $(DEMOPROGS) ../bin ) X /bin/rm -f lib/libisis1.a lib/libisis2.a lib/libisism.a X ln clib/libisis1.a clib/libisis2.a mlib/libisism.a lib X clean: X /bin/rm -f protos/*.[os] clib/*.[os] mlib/*.o util/*.o demos/*.o X /bin/rm -f util/cmd[ly].[ch] X - (cd demos/pmk; make clean ) X realclean: clean X - (cd demos/pmk; make realclean ) X /bin/rm -f protos/protos X (cd util; /bin/rm -f $(UTILPROGS) ) X (cd demos; /bin/rm -f $(DEMOPROGS) ) X /bin/rm -f bin/* X /bin/rm -f clib/libisis1.a clib/libisis2.a mlib/libisism.a X /bin/rm -f lib/*.a X (cd run_demos; /bin/rm -f *.log core ) X (cd run_isis; /bin/rm -f *.log core ) X SHAR_EOF chmod 0644 FILES/ISC.MAKEFILE || echo 'restore of FILES/ISC.MAKEFILE failed' Wc_c="`wc -c < 'FILES/ISC.MAKEFILE'`" test 2157 -eq "$Wc_c" || echo 'FILES/ISC.MAKEFILE: original size 2157, current size' "$Wc_c" fi # ============= FILES/ISC.README ============== if test -f 'FILES/ISC.README' -a X"$1" != X"-c"; then echo 'x - skipping FILES/ISC.README (File already exists)' else echo 'x - extracting FILES/ISC.README (Text)' sed 's/^X//' << 'SHAR_EOF' > 'FILES/ISC.README' && This is a recent port of ISIS to the Interactive Systems system software release 386/ix 2.2 (System V R 3.2) or higher. Port by Max Heffler of Compaq Computer Corp. Not extensively tested yet. X Please report bugs or problems to isis-bugs@cs.cornell.edu X Consider this an experimental port... X Ken X NOTE: X Using the kernel defaults, a high rate of overflows was observed. Increasing NQUEUE, NSTREAM, and NBLK16, eliminated the problems, but might degrade performance. X There may be a minor problem in the pmake demo. X SHAR_EOF chmod 0644 FILES/ISC.README || echo 'restore of FILES/ISC.README failed' Wc_c="`wc -c < 'FILES/ISC.README'`" test 519 -eq "$Wc_c" || echo 'FILES/ISC.README: original size 519, current size' "$Wc_c" fi # ============= FILES/remake_ISClink ============== if test -f 'FILES/remake_ISClink' -a X"$1" != X"-c"; then echo 'x - skipping FILES/remake_ISClink (File already exists)' else echo 'x - extracting FILES/remake_ISClink (Text)' sed 's/^X//' << 'SHAR_EOF' > 'FILES/remake_ISClink' && #!/bin/csh echo "Starting to remake links for ISC" cd ../include /bin/rm -f * ln ../{mlib,clib,protos,util,demos}/*.h . cd ../ISC/mlib /bin/rm -f makefile ln ../../mlib/makefile . cd ../clib /bin/rm -f makefile ln ../../clib/makefile . cd ../protos /bin/rm -f makefile ln ../../protos/makefile . cd ../util /bin/rm -f makefile ln ../../util/makefile . cd ../demos /bin/rm -f makefile make_grid ln ../../demos/makefile ../../demos/make_grid . cd pmk /bin/rm -f makefile ln ../../../demos/pmk/makefile . cd .. X set demos = ( twenty qa testjoins silentjoins bank teller testtasks selftest \ X grid spread fortran_test ) set utils = ( isis rexec spooler news rmgr rmgr_cmd lmgr cmd tabex prstat xmgr ) cd ../run_isis X foreach f ( $demos $utils protos pmake pmkexec ) X /bin/rm -f $f X ln ../bin/$f . end foreach f ( aux1 aux2 globalspd questions.dat ) X /bin/rm -f $f X ln ../../demos/$f . end X cd ../run_demos foreach f ( $demos ) X /bin/rm -f $f X ln ../demos/$f . end /bin/rm -f pmake pmkexec ln ../demos/pmk/pmake ../demos/pmk/pmkexec . foreach f ( aux1 aux2 globalspd questions.dat ) X /bin/rm -f $f X ln ../../demos/$f . end X foreach f ( $utils ) X /bin/rm -f $f X ln ../util/$f . end /bin/rm -f protos ln ../protos/protos . cd .. X echo "Done remaking 'symbolic' links" SHAR_EOF chmod 0755 FILES/remake_ISClink || echo 'restore of FILES/remake_ISClink failed' Wc_c="`wc -c < 'FILES/remake_ISClink'`" test 1294 -eq "$Wc_c" || echo 'FILES/remake_ISClink: original size 1294, current size' "$Wc_c" fi # ============= pr.h.patch ============== if test -f 'pr.h.patch' -a X"$1" != X"-c"; then echo 'x - skipping pr.h.patch (File already exists)' else echo 'x - extracting pr.h.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'pr.h.patch' && 73c73 < #ifdef SGI --- > #if SGI 83a84,88 > #ifdef ISC > # define JB_BP 3 > # define JB_SP 4 > #endif > 168a174,183 > #endif > > #ifdef ISC > #include "sys/types.h" > #include <memory.h> > #define random() rand() > #define srandom(s) srand(s) > #define bcopy(a,b,c) memcpy(b,a,c) > #define bzero(a,b) memset(a,0,b) > #define signal sigset /* reliable signals */ SHAR_EOF chmod 0644 pr.h.patch || echo 'restore of pr.h.patch failed' Wc_c="`wc -c < 'pr.h.patch'`" test 413 -eq "$Wc_c" || echo 'pr.h.patch: original size 413, current size' "$Wc_c" fi # ============= pr_client.c.patch ============== if test -f 'pr_client.c.patch' -a X"$1" != X"-c"; then echo 'x - skipping pr_client.c.patch (File already exists)' else echo 'x - extracting pr_client.c.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'pr_client.c.patch' && 24a25,27 > #ifdef ISC > # include <sys/file.h> > #endif 235a239,242 > #ifdef ISC > if (nb == -1 && errno == EAGAIN) > #endif > return; SHAR_EOF chmod 0644 pr_client.c.patch || echo 'restore of pr_client.c.patch failed' Wc_c="`wc -c < 'pr_client.c.patch'`" test 143 -eq "$Wc_c" || echo 'pr_client.c.patch: original size 143, current size' "$Wc_c" fi # ============= pr_inter.c.patch ============== if test -f 'pr_inter.c.patch' -a X"$1" != X"-c"; then echo 'x - skipping pr_inter.c.patch (File already exists)' else echo 'x - extracting pr_inter.c.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'pr_inter.c.patch' && 22a23,25 > #ifdef ISC > #include <net/errno.h> > #endif 666a670,671 > # ifdef ISC > loop: 668a674,682 > else if (errno == EWOULDBLOCK || errno == EAGAIN) > { > net_socket = isis_reset_sock(net_socket); > goto loop; > } > # else ISC > if(sendto(net_socket, staging_buf, len, 0, (struct sockaddr*)&ioqp->io_address, sizeof(saddr)) != -1) > errno = 0; > # endif ISC 1466c1480 < #ifdef HPUX --- > #if (HPUX|ISC) 1508c1522 < #endif HPUX --- > #endif HPUX|ISC SHAR_EOF chmod 0644 pr_inter.c.patch || echo 'restore of pr_inter.c.patch failed' Wc_c="`wc -c < 'pr_inter.c.patch'`" test 553 -eq "$Wc_c" || echo 'pr_inter.c.patch: original size 553, current size' "$Wc_c" fi # ============= pr_inter.h.patch ============== if test -f 'pr_inter.h.patch' -a X"$1" != X"-c"; then echo 'x - skipping pr_inter.h.patch (File already exists)' else echo 'x - extracting pr_inter.h.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'pr_inter.h.patch' && 33a34,36 > #ifdef ISC > # include <net/errno.h> > #endif SHAR_EOF chmod 0644 pr_inter.h.patch || echo 'restore of pr_inter.h.patch failed' Wc_c="`wc -c < 'pr_inter.h.patch'`" test 57 -eq "$Wc_c" || echo 'pr_inter.h.patch: original size 57, current size' "$Wc_c" fi # ============= pr_task.c.patch ============== if test -f 'pr_task.c.patch' -a X"$1" != X"-c"; then echo 'x - skipping pr_task.c.patch (File already exists)' else echo 'x - extracting pr_task.c.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'pr_task.c.patch' && 35c35 < # if (AIX) --- > # if (AIX|ISC) 309a310,327 > isis_longjmp(env, 1); > panic("unexpected return from longjmp"); > } > } > # endif > # ifdef ISC > { > #include <signal.h> > jmp_buf env; > int *envp; > > if (isis_setjmp(env) == 0) { > stackp = &ctp->task_stack[STACKLEN-(32 words)]; > stackp = (char*)((int)stackp & ~0x1f); > envp = (int *)env; > envp[JB_SP] = (int)stackp; > envp[JB_BP] = (int)stackp; > sigset (SIGCHLD, SIG_IGN); SHAR_EOF chmod 0644 pr_task.c.patch || echo 'restore of pr_task.c.patch failed' Wc_c="`wc -c < 'pr_task.c.patch'`" test 691 -eq "$Wc_c" || echo 'pr_task.c.patch: original size 691, current size' "$Wc_c" fi # ============= cmd.c.patch ============== if test -f 'cmd.c.patch' -a X"$1" != X"-c"; then echo 'x - skipping cmd.c.patch (File already exists)' else echo 'x - extracting cmd.c.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'cmd.c.patch' && 29a30 > #include "isis.h" 44,46c45 < #include "isis.h" < < #if(HPUX) --- > #if(HPUX|ISC) SHAR_EOF chmod 0644 cmd.c.patch || echo 'restore of cmd.c.patch failed' Wc_c="`wc -c < 'cmd.c.patch'`" test 89 -eq "$Wc_c" || echo 'cmd.c.patch: original size 89, current size' "$Wc_c" fi # ============= isis.c.patch ============== if test -f 'isis.c.patch' -a X"$1" != X"-c"; then echo 'x - skipping isis.c.patch (File already exists)' else echo 'x - extracting isis.c.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'isis.c.patch' && 48a49,51 > #ifdef ISC > static struct timeval poll ={ 0, 0}; > #else 49a53 > #endif SHAR_EOF chmod 0644 isis.c.patch || echo 'restore of isis.c.patch failed' Wc_c="`wc -c < 'isis.c.patch'`" test 85 -eq "$Wc_c" || echo 'isis.c.patch: original size 85, current size' "$Wc_c" fi # ============= rmgr.c.patch ============== if test -f 'rmgr.c.patch' -a X"$1" != X"-c"; then echo 'x - skipping rmgr.c.patch (File already exists)' else echo 'x - extracting rmgr.c.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'rmgr.c.patch' && 35a36 > #ifndef ISC 36a38 > #endif SHAR_EOF chmod 0644 rmgr.c.patch || echo 'restore of rmgr.c.patch failed' Wc_c="`wc -c < 'rmgr.c.patch'`" test 35 -eq "$Wc_c" || echo 'rmgr.c.patch: original size 35, current size' "$Wc_c" fi # ============= protosmkfile.patch ============== if test -f 'protosmkfile.patch' -a X"$1" != X"-c"; then echo 'x - skipping protosmkfile.patch (File already exists)' else echo 'x - extracting protosmkfile.patch (Text)' sed 's/^X//' << 'SHAR_EOF' > 'protosmkfile.patch' && 61,62c61,62 < -if test $(MCHTYPE) != GOULD -a $(MCHTYPE) != RT43 -a $(MCHTYPE) != MIPS -a $(MCHTYPE) != AIX -a $(MCHTYPE) != MACH -a $(MCHTYPE) != APOLLO -a $(MCHTYPE) != SGI -a $(MCHTYPE) != CONVEX; then cc -c $(CFLAGS) pr_setjmp.s; fi < -if test $(MCHTYPE) = GOULD -o $(MCHTYPE) = RT43 -o $(MCHTYPE) = MIPS -o $(MCHTYPE) = AIX -o $(MCHTYPE) = MACH -o $(MCHTYPE) = APOLLO -o $(MCHTYPE) = SGI -o $(MCHTYPE) = CONVEX; then $(CC) -c $(CFLAGS) $(S)/pr_setjmp.c; fi --- > -if test $(MCHTYPE) != GOULD -a $(MCHTYPE) != RT43 -a $(MCHTYPE) != MIPS -a $(MCHTYPE) != AIX -a $(MCHTYPE) != ISC -a $(MCHTYPE) != MACH -a $(MCHTYPE) != APOLLO -a $(MCHTYPE) != SGI -a $(MCHTYPE) != CONVEX; then cc -c $(CFLAGS) pr_setjmp.s; fi > -if test $(MCHTYPE) = GOULD -o $(MCHTYPE) = RT43 -o $(MCHTYPE) = MIPS -o $(MCHTYPE) = AIX -o $(MCHTYPE) = ISC -o $(MCHTYPE) = MACH -o $(MCHTYPE) = APOLLO -o $(MCHTYPE) = SGI -o $(MCHTYPE) = CONVEX; then $(CC) -c $(CFLAGS) $(S)/pr_setjmp.c; fi SHAR_EOF chmod 0644 protosmkfile.patch || echo 'restore of protosmkfile.patch failed' Wc_c="`wc -c < 'protosmkfile.patch'`" test 965 -eq "$Wc_c" || echo 'protosmkfile.patch: original size 965, current size' "$Wc_c" fi exit 0 -- Max Heffler, Senior Software Engineer internet: max@compaq.com Compaq Computer Corporation uucp: ..!uunet!max@compaq.com P.O. Box 692000 - M050701 phone: (713) 378-8366 Houston, Texas 77269-2000 fax: (713) 374-7305