home *** CD-ROM | disk | FTP | other *** search
- diff +context=2 +entire-new-file orig/common.h ./common.h
- *** orig/common.h Sun Dec 2 23:18:08 1990
- --- ./common.h Fri Mar 15 21:45:06 1991
- ***************
- *** 147,150 ****
- --- 147,154 ----
- EXT char *revision INIT(Nullch); /* prerequisite revision, if any */
-
- + #ifdef GNUDOS
- + #include <stdio.h>
- + #include <stdlib.h>
- + #else
- char *malloc();
- char *realloc();
- ***************
- *** 160,161 ****
- --- 164,166 ----
- #endif
- char *getenv();
- + #endif
- diff +context=2 +entire-new-file orig/config.h ./config.h
- *** orig/config.h Wed Aug 15 00:13:40 1990
- --- ./config.h Fri Mar 15 21:45:06 1991
- ***************
- *** 13,16 ****
- --- 13,18 ----
- #/*undef void int /* is void to be avoided? */
-
- + #define CHARSPRINTF
- +
- /* How many register declarations are paid attention to? */
-
- diff +context=2 +entire-new-file orig/makefile ./makefile
- *** orig/makefile
- --- ./makefile Sun Mar 24 13:35:18 1991
- ***************
- *** 0 ****
- --- 1,8 ----
- + O = inp.o patch.o pch.o util.o version.o
- +
- + .c.o:
- + gcc -O -DGNUDOS -c $<
- +
- + patch : $(O)
- + gcc -o patch $(O)
- +
- diff +context=2 +entire-new-file orig/pch.c ./pch.c
- *** orig/pch.c Sun Jan 20 20:12:14 1991
- --- ./pch.c Fri Mar 15 21:49:32 1991
- ***************
- *** 1226,1229 ****
- --- 1226,1233 ----
- do_ed_script()
- {
- + #ifdef GNUDOS
- + fprintf(stderr, "Fatal! attempt to do ed script on DOS!\n");
- + exit(1);
- + #else
- Reg1 char *t;
- Reg2 long beginning_of_this_line;
- ***************
- *** 1283,1285 ****
- --- 1287,1290 ----
- chmod(outname, filemode);
- set_signals(1);
- + #endif
- }
- diff +context=2 +entire-new-file orig/util.c ./util.c
- *** orig/util.c Wed Aug 15 00:13:38 1990
- --- ./util.c Fri Mar 15 21:48:00 1991
- ***************
- *** 15,18 ****
- --- 15,22 ----
- Reg3 int fromfd;
-
- + #ifdef GNUDOS
- + rename(from,to);
- + #else
- +
- /* to stdout? */
-
- ***************
- *** 92,95 ****
- --- 96,100 ----
- }
- Unlink(from);
- + #endif
- return 0;
- }
-