home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega Top 1
/
os2_top1.zip
/
os2_top1
/
APPS
/
TEKST
/
GROFFEXE
/
PATCHES.OS2
< prev
next >
Wrap
Text File
|
1994-01-02
|
18KB
|
690 lines
Only in new: Makefile
Only in new: spooler/
Only in new/include: defs.h
Only in new/libgroff: execpath.c
Only in new/libgroff: version.cc
Only in new/troff: majorminor.cc
Only in new: devcp437/
Only in new: devcp850/
Only in new/devascii: B
Only in new/devascii: BI
Only in new/devascii: DESC
Only in new/devascii: I
Only in new/devascii: R
Only in new/devlatin1: B
Only in new/devlatin1: BI
Only in new/devlatin1: DESC
Only in new/devlatin1: I
Only in new/devlatin1: R
Only in new/devdvi: DESC
Only in new/devps: DESC
Only in new/devps: prologue
Only in new/devps: symbolsl.pfa
Only in new/devps: zapfdr.pfa
diff -cbr orig/addftinfo/Makefile.sub new/addftinfo/Makefile.sub
*** orig/addftinfo/Makefile.sub Tue Jul 21 16:20:04 1992
--- new/addftinfo/Makefile.sub Sun Jan 02 18:01:04 1994
***************
*** 1,4 ****
! PROG=addftinfo
MAN1=addftinfo.n
XLIBS=$(LIBGROFF)
OBJS=addftinfo.o guess.o
--- 1,4 ----
! PROG=addftinfo$X
MAN1=addftinfo.n
XLIBS=$(LIBGROFF)
OBJS=addftinfo.o guess.o
diff -cbr orig/eqn/Makefile.sub new/eqn/Makefile.sub
*** orig/eqn/Makefile.sub Mon Apr 19 09:47:10 1993
--- new/eqn/Makefile.sub Sun Jan 02 18:48:02 1994
***************
*** 1,4 ****
! PROG=eqn
MAN1=eqn.n
XLIBS=$(LIBGROFF)
OBJS=eqn.o main.o lex.o box.o limit.o list.o over.o text.o script.o \
--- 1,4 ----
! PROG=eqn$X
MAN1=eqn.n
XLIBS=$(LIBGROFF)
OBJS=eqn.o main.o lex.o box.o limit.o list.o over.o text.o script.o \
***************
*** 16,22 ****
neqn: neqn.sh
-rm -f neqn
! sed -e 's/@g@/$(g)/g' -e "$(SH_SCRIPT_SED_CMD)" $(srcdir)/neqn.sh >neqn
chmod +x neqn
install_data: neqn
--- 16,22 ----
neqn: neqn.sh
-rm -f neqn
! sed -e "s/@g@/$(g)/g" $(srcdir)/neqn.sh >neqn
chmod +x neqn
install_data: neqn
diff -cbr orig/grodvi/dvi.cc new/grodvi/dvi.cc
*** orig/grodvi/dvi.cc Sun Feb 21 12:16:14 1993
--- new/grodvi/dvi.cc Sun Jan 02 17:54:16 1994
***************
*** 848,853 ****
--- 848,856 ----
program_name = argv[0];
static char stderr_buf[BUFSIZ];
setbuf(stderr, stderr_buf);
+ #ifdef __EMX__
+ setmode(1, O_BINARY);
+ #endif
int c;
while ((c = getopt(argc, argv, "F:vw:d")) != EOF)
switch(c) {
diff -cbr orig/grodvi/Makefile.sub new/grodvi/Makefile.sub
*** orig/grodvi/Makefile.sub Mon Jul 20 13:51:36 1992
--- new/grodvi/Makefile.sub Sun Jan 02 18:00:40 1994
***************
*** 1,4 ****
! PROG=grodvi
MAN1=grodvi.n
XLIBS=$(LIBDRIVER) $(LIBGROFF)
MLIB=$(LIBM)
--- 1,4 ----
! PROG=grodvi$X
MAN1=grodvi.n
XLIBS=$(LIBDRIVER) $(LIBGROFF)
MLIB=$(LIBM)
diff -cbr orig/groff/Makefile.sub new/groff/Makefile.sub
*** orig/groff/Makefile.sub Fri Aug 07 15:08:04 1992
--- new/groff/Makefile.sub Sun Jan 02 17:58:46 1994
***************
*** 1,4 ****
! PROG=groff
MAN1=groff.n
XLIBS=$(LIBGROFF)
MLIB=$(LIBM)
--- 1,4 ----
! PROG=groff$X
MAN1=groff.n
XLIBS=$(LIBGROFF)
MLIB=$(LIBM)
diff -cbr orig/groff/pipeline.c new/groff/pipeline.c
*** orig/groff/pipeline.c Sat Aug 08 10:25:56 1992
--- new/groff/pipeline.c Sun Jan 02 17:55:54 1994
***************
*** 37,42 ****
--- 37,45 ----
#ifdef HAVE_VFORK_H
#include <vfork.h>
#endif
+ #ifdef __EMX__
+ #define vfork fork
+ #endif
#ifndef errno
extern int errno;
diff -cbr orig/grops/Makefile.sub new/grops/Makefile.sub
*** orig/grops/Makefile.sub Tue Jul 21 16:18:58 1992
--- new/grops/Makefile.sub Sun Jan 02 18:00:16 1994
***************
*** 1,4 ****
! PROG=grops
MAN1=grops.n
XLIBS=$(LIBDRIVER) $(LIBGROFF)
MLIB=$(LIBM)
--- 1,4 ----
! PROG=grops$X
MAN1=grops.n
XLIBS=$(LIBDRIVER) $(LIBGROFF)
MLIB=$(LIBM)
diff -cbr orig/grotty/Makefile.sub new/grotty/Makefile.sub
*** orig/grotty/Makefile.sub Mon Jul 20 13:51:38 1992
--- new/grotty/Makefile.sub Sun Jan 02 18:00:20 1994
***************
*** 1,4 ****
! PROG=grotty
MAN1=grotty.n
XLIBS=$(LIBDRIVER) $(LIBGROFF)
MLIB=$(LIBM)
--- 1,4 ----
! PROG=grotty$X
MAN1=grotty.n
XLIBS=$(LIBDRIVER) $(LIBGROFF)
MLIB=$(LIBM)
diff -cbr orig/include/driver.h new/include/driver.h
*** orig/include/driver.h Tue Aug 25 14:57:06 1992
--- new/include/driver.h Sun Jan 02 18:59:16 1994
***************
*** 19,24 ****
--- 19,26 ----
Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <stdio.h>
+ #include <io.h>
+ #include <fcntl.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
***************
*** 26,31 ****
--- 28,34 ----
#include <errno.h>
#include <assert.h>
#include <math.h>
+ #include <float.h>
#include "errarg.h"
#include "error.h"
#include "font.h"
diff -cbr orig/include/lib.h new/include/lib.h
*** orig/include/lib.h Mon Mar 29 17:09:10 1993
--- new/include/lib.h Sun Jan 02 19:22:28 1994
***************
*** 103,105 ****
--- 103,111 ----
#define ad_delete(size) delete []
#define a_delete delete []
#endif /* not ARRAY_DELETE_NEEDS_SIZE */
+
+ #if defined(__EMX__) || defined(__BORLANDC__)
+ #define PATHSEP ';'
+ #else
+ #define PATHSEP ':'
+ #endif
diff -cbr orig/indxbib/indxbib.cc new/indxbib/indxbib.cc
*** orig/indxbib/indxbib.cc Mon Jan 04 22:58:56 1993
--- new/indxbib/indxbib.cc Sun Jan 02 19:02:06 1994
***************
*** 19,24 ****
--- 19,25 ----
Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <stdio.h>
+ #include <io.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
diff -cbr orig/indxbib/Makefile.sub new/indxbib/Makefile.sub
*** orig/indxbib/Makefile.sub Mon Jan 04 22:57:32 1993
--- new/indxbib/Makefile.sub Sun Jan 02 18:00:56 1994
***************
*** 1,4 ****
! PROG=indxbib
MAN1=indxbib.n
XLIBS=$(LIBBIB) $(LIBGROFF)
MLIB=$(LIBM)
--- 1,4 ----
! PROG=indxbib$X
MAN1=indxbib.n
XLIBS=$(LIBBIB) $(LIBGROFF)
MLIB=$(LIBM)
diff -cbr orig/libbib/index.cc new/libbib/index.cc
*** orig/libbib/index.cc Tue Aug 25 16:04:06 1992
--- new/libbib/index.cc Sun Jan 02 17:20:52 1994
***************
*** 19,24 ****
--- 19,25 ----
Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <stdio.h>
+ #include <io.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
diff -cbr orig/libbib/linear.cc new/libbib/linear.cc
*** orig/libbib/linear.cc Tue Mar 30 13:49:04 1993
--- new/libbib/linear.cc Sun Jan 02 17:20:52 1994
***************
*** 19,24 ****
--- 19,25 ----
Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+ #include <io.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
diff -cbr orig/libbib/map.c new/libbib/map.c
*** orig/libbib/map.c Mon Aug 03 11:35:24 1992
--- new/libbib/map.c Sun Jan 02 17:21:44 1994
***************
*** 60,66 ****
int fd;
int nbytes;
{
! errno = ENODEV;
return 0;
}
--- 60,66 ----
int fd;
int nbytes;
{
! errno = EINVAL;
return 0;
}
diff -cbr orig/libbib/search.cc new/libbib/search.cc
*** orig/libbib/search.cc Tue Aug 25 16:03:40 1992
--- new/libbib/search.cc Sun Jan 02 17:20:52 1994
***************
*** 18,23 ****
--- 18,24 ----
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+ #include <io.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
diff -cbr orig/libgroff/font.cc new/libgroff/font.cc
*** orig/libgroff/font.cc Tue Nov 24 18:25:12 1992
--- new/libgroff/font.cc Sun Jan 02 17:17:24 1994
***************
*** 23,28 ****
--- 23,29 ----
#include <ctype.h>
#include <assert.h>
#include <math.h>
+ #include <float.h>
#include <stdlib.h>
#include "errarg.h"
#include "error.h"
diff -cbr orig/libgroff/new.cc new/libgroff/new.cc
*** orig/libgroff/new.cc Tue Oct 20 23:18:42 1992
--- new/libgroff/new.cc Sun Jan 02 17:38:06 1994
***************
*** 17,22 ****
--- 17,23 ----
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+ #include <io.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
***************
*** 54,65 ****
_exit(-1);
}
- #ifdef COOKIE_BUG
-
void operator delete(void *p)
{
if (p)
free((void *)((char *)p - 8));
}
- #endif /* COOKIE_BUG */
--- 55,67 ----
_exit(-1);
}
void operator delete(void *p)
{
if (p)
+ #ifdef COOKIE_BUG
free((void *)((char *)p - 8));
+ #else
+ free(p);
+ #endif /* COOKIE_BUG */
}
diff -cbr orig/libgroff/searchpath.cc new/libgroff/searchpath.cc
*** orig/libgroff/searchpath.cc Mon Aug 03 11:34:46 1992
--- new/libgroff/searchpath.cc Sun Jan 02 17:27:38 1994
***************
*** 32,38 ****
if (e && standard) {
dirs = new char[strlen(e) + strlen(standard) + 2];
strcpy(dirs, e);
! strcat(dirs, ":");
strcat(dirs, standard);
}
else
--- 32,39 ----
if (e && standard) {
dirs = new char[strlen(e) + strlen(standard) + 2];
strcpy(dirs, e);
! dirs[strlen(dirs) + 1] = 0;
! dirs[strlen(dirs)] = PATHSEP;
strcat(dirs, standard);
}
else
***************
*** 59,69 ****
char *p = dirs;
p += old_len - init_len;
if (init_len == 0)
! *p++ = ':';
memcpy(p, s, slen);
p += slen;
if (init_len > 0) {
! *p++ = ':';
memcpy(p, old + old_len - init_len, init_len);
p += init_len;
}
--- 60,70 ----
char *p = dirs;
p += old_len - init_len;
if (init_len == 0)
! *p++ = PATHSEP;
memcpy(p, s, slen);
p += slen;
if (init_len > 0) {
! *p++ = PATHSEP;
memcpy(p, old + old_len - init_len, init_len);
p += init_len;
}
***************
*** 88,94 ****
unsigned namelen = strlen(name);
char *p = dirs;
for (;;) {
! char *end = strchr(p, ':');
if (!end)
end = strchr(p, '\0');
int need_slash = end > p && end[-1] != '/';
--- 89,95 ----
unsigned namelen = strlen(name);
char *p = dirs;
for (;;) {
! char *end = strchr(p, PATHSEP);
if (!end)
end = strchr(p, '\0');
int need_slash = end > p && end[-1] != '/';
diff -cbr orig/libgroff/tmpfile.cc new/libgroff/tmpfile.cc
*** orig/libgroff/tmpfile.cc Tue Aug 25 16:03:30 1992
--- new/libgroff/tmpfile.cc Sun Jan 02 21:19:44 1994
***************
*** 43,48 ****
--- 43,50 ----
// Use this as the prefix for temporary filenames.
#define TMPFILE_PREFIX "groff"
+ #ifndef __EMX__
+
// Open a temporary file with fatal error on failure.
FILE *xtmpfile()
***************
*** 87,93 ****
return fp;
}
! #if 0
// If you're not running Unix, the following will do:
FILE *xtmpfile()
{
--- 89,96 ----
return fp;
}
! #else
!
// If you're not running Unix, the following will do:
FILE *xtmpfile()
{
***************
*** 96,99 ****
--- 99,103 ----
fatal("couldn't create temporary file");
return fp;
}
+
#endif
diff -cbr orig/lkbib/Makefile.sub new/lkbib/Makefile.sub
*** orig/lkbib/Makefile.sub Tue Jul 21 11:04:28 1992
--- new/lkbib/Makefile.sub Sun Jan 02 18:00:58 1994
***************
*** 1,4 ****
! PROG=lkbib
MAN1=lkbib.n
XLIBS=$(LIBBIB) $(LIBGROFF)
MLIB=$(LIBM)
--- 1,4 ----
! PROG=lkbib$X
MAN1=lkbib.n
XLIBS=$(LIBBIB) $(LIBGROFF)
MLIB=$(LIBM)
diff -cbr orig/lookbib/Makefile.sub new/lookbib/Makefile.sub
*** orig/lookbib/Makefile.sub Tue Jul 21 14:57:02 1992
--- new/lookbib/Makefile.sub Sun Jan 02 18:00:52 1994
***************
*** 1,4 ****
! PROG=lookbib
MAN1=lookbib.n
XLIBS=$(LIBBIB) $(LIBGROFF)
MLIB=$(LIBM)
--- 1,4 ----
! PROG=lookbib$X
MAN1=lookbib.n
XLIBS=$(LIBBIB) $(LIBGROFF)
MLIB=$(LIBM)
diff -cbr orig/Makefile.comm new/Makefile.comm
*** orig/Makefile.comm Sat Apr 03 16:58:22 1993
--- new/Makefile.comm Sun Jan 02 18:38:16 1994
***************
*** 99,125 ****
.man.n:
@echo Making $@ from $<
@-rm -f $@
! @sed -e "s;@FONTDIR@;$(fontdir);g" \
! -e "s;@FONTPATH@;$(fontpath);g" \
! -e "s;@MACRODIR@;$(tmacdir);g" \
! -e "s;@MACROPATH@;$(tmacpath);g" \
! -e "s;@DEVICE@;$(DEVICE);g" \
! -e "s;@DEFAULT_INDEX@;$(indexdir)/$(indexname);g" \
! -e "s;@DEFAULT_INDEX_NAME@;$(indexname);g" \
! -e "s;@INDEX_SUFFIX@;$(indexext);g" \
! -e "s;@COMMON_WORDS_FILE@;$(common_words_file);g" \
! -e "s;@MAN1EXT@;$(man1ext);g" \
! -e "s;@MAN5EXT@;$(man5ext);g" \
! -e "s;@MAN7EXT@;$(man7ext);g" \
! -e "s;@TMAC_S@;$(tmac_s);g" \
! -e "s;@TMAC_M@;$(tmac_m);g" \
! -e "s;@TMAC_MDIR@;$(tmacdir)/mm;g" \
! -e "s;@BROKEN_SPOOLER_FLAGS@;$(BROKEN_SPOOLER_FLAGS);g" \
! -e "s;@VERSION@;`cat $(srcdir)/../VERSION`;g" \
! -e "s;@MDATE@;`$(SHELL) $(srcdir)/../mdate.sh $<`;g" \
! -e "s;@g@;$(g);g" \
! -e "s;@G@;`echo $(g) | tr [a-z] [A-Z]`;g" \
! $< >$@
.PHONY: install_man
install_man:
--- 99,105 ----
.man.n:
@echo Making $@ from $<
@-rm -f $@
! @sed -e "s!@FONTDIR@!$(fontdir)!g" -e "s!@FONTPATH@!$(fontpath)!g" -e "s!@MACRODIR@!$(tmacdir)!g" -e "s!@MACROPATH@!$(tmacpath)!g" -e "s!@DEVICE@!$(DEVICE)!g" -e "s!@DEFAULT_INDEX@!$(indexdir)/$(indexname)!g" -e "s!@DEFAULT_INDEX_NAME@!$(indexname)!g" -e "s!@INDEX_SUFFIX@!$(indexext)!g" -e "s!@COMMON_WORDS_FILE@!$(common_words_file)!g" -e "s!@MAN1EXT@!$(man1ext)!g" -e "s!@MAN5EXT@!$(man5ext)!g" -e "s!@MAN7EXT@!$(man7ext)!g" -e "s!@TMAC_S@!$(tmac_s)!g" -e "s!@TMAC_M@!$(tmac_m)!g" -e "s!@TMAC_MDIR@!$(tmacdir)/mm!g" -e "s!@BROKEN_SPOOLER_FLAGS@!$(BROKEN_SPOOLER_FLAGS)!g" -e "s!@VERSION@!1.08!g" -e "s!@MDATE@!02 January 1994!g" -e "s!@g@!!g" -e "s!@G@!!g" $< >$@
.PHONY: install_man
install_man:
diff -cbr orig/Makefile.lib new/Makefile.lib
*** orig/Makefile.lib Sun Aug 16 19:37:38 1992
--- new/Makefile.lib Sun Jan 02 17:56:28 1994
***************
*** 5,11 ****
all: lib$(LIB).a
lib$(LIB).a: $(OBJS)
! $(AR) r $@ $?
$(RANLIB) $@
depend: depend_src
--- 5,12 ----
all: lib$(LIB).a
lib$(LIB).a: $(OBJS)
! -rm -f $@
! $(AR) r $@ $(OBJS)
$(RANLIB) $@
depend: depend_src
diff -cbr orig/mdate.sh new/mdate.sh
*** orig/mdate.sh Fri Sep 25 11:40:58 1992
--- new/mdate.sh Sun Jan 02 18:10:40 1994
***************
*** 7,15 ****
LANGUAGE=
! (date;
! if ls -L /dev/null 1>/dev/null 2>&1; then ls -L -l $1; else ls -l $1; fi
! ) | awk '
BEGIN {
full["Jan"] = "January"; number["Jan"] = 1;
full["Feb"] = "February"; number["Feb"] = 2;
--- 7,13 ----
LANGUAGE=
! (date; ls -l $1) | gawk '
BEGIN {
full["Jan"] = "January"; number["Jan"] = 1;
full["Feb"] = "February"; number["Feb"] = 2;
diff -cbr orig/pfbtops/Makefile.sub new/pfbtops/Makefile.sub
*** orig/pfbtops/Makefile.sub Sun Aug 02 10:48:44 1992
--- new/pfbtops/Makefile.sub Sun Jan 02 18:01:08 1994
***************
*** 1,4 ****
! PROG=pfbtops
MAN1=pfbtops.n
OBJS=pfbtops.o
CSRCS=pfbtops.c
--- 1,4 ----
! PROG=pfbtops$X
MAN1=pfbtops.n
OBJS=pfbtops.o
CSRCS=pfbtops.c
diff -cbr orig/pic/Makefile.sub new/pic/Makefile.sub
*** orig/pic/Makefile.sub Tue Jul 21 18:24:08 1992
--- new/pic/Makefile.sub Sun Jan 02 17:58:52 1994
***************
*** 1,4 ****
! PROG=pic
MAN1=pic.n
XLIBS=$(LIBGROFF)
MLIB=$(LIBM)
--- 1,4 ----
! PROG=pic$X
MAN1=pic.n
XLIBS=$(LIBGROFF)
MLIB=$(LIBM)
diff -cbr orig/psbb/Makefile.sub new/psbb/Makefile.sub
*** orig/psbb/Makefile.sub Tue Aug 18 18:34:44 1992
--- new/psbb/Makefile.sub Sun Jan 02 18:01:10 1994
***************
*** 1,4 ****
! PROG=psbb
MAN1=psbb.n
OBJS=psbb.o
CSRCS=psbb.c
--- 1,4 ----
! PROG=psbb$X
MAN1=psbb.n
OBJS=psbb.o
CSRCS=psbb.c
diff -cbr orig/refer/Makefile.sub new/refer/Makefile.sub
*** orig/refer/Makefile.sub Tue Jul 21 16:19:44 1992
--- new/refer/Makefile.sub Sun Jan 02 18:00:48 1994
***************
*** 1,4 ****
! PROG=refer
MAN1=refer.n
XLIBS=$(LIBBIB) $(LIBGROFF)
MLIB=$(LIBM)
--- 1,4 ----
! PROG=refer$X
MAN1=refer.n
XLIBS=$(LIBBIB) $(LIBGROFF)
MLIB=$(LIBM)
diff -cbr orig/soelim/Makefile.sub new/soelim/Makefile.sub
*** orig/soelim/Makefile.sub Tue Jul 21 14:56:02 1992
--- new/soelim/Makefile.sub Sun Jan 02 18:01:02 1994
***************
*** 1,4 ****
! PROG=soelim
MAN1=soelim.n
XLIBS=$(LIBGROFF)
OBJS=soelim.o
--- 1,4 ----
! PROG=soelim$X
MAN1=soelim.n
XLIBS=$(LIBGROFF)
OBJS=soelim.o
diff -cbr orig/tbl/Makefile.sub new/tbl/Makefile.sub
*** orig/tbl/Makefile.sub Tue Jul 21 16:17:42 1992
--- new/tbl/Makefile.sub Sun Jan 02 17:58:58 1994
***************
*** 1,4 ****
! PROG=tbl
MAN1=tbl.n
XLIBS=$(LIBGROFF)
OBJS=main.o table.o
--- 1,4 ----
! PROG=tbl$X
MAN1=tbl.n
XLIBS=$(LIBGROFF)
OBJS=main.o table.o
diff -cbr orig/tfmtodit/Makefile.sub new/tfmtodit/Makefile.sub
*** orig/tfmtodit/Makefile.sub Mon Jul 20 13:51:44 1992
--- new/tfmtodit/Makefile.sub Sun Jan 02 18:00:44 1994
***************
*** 1,4 ****
! PROG=tfmtodit
MAN1=tfmtodit.n
XLIBS=$(LIBGROFF)
MLIB=$(LIBM)
--- 1,4 ----
! PROG=tfmtodit$X
MAN1=tfmtodit.n
XLIBS=$(LIBGROFF)
MLIB=$(LIBM)
diff -cbr orig/tfmtodit/tfmtodit.cc new/tfmtodit/tfmtodit.cc
*** orig/tfmtodit/tfmtodit.cc Mon Aug 03 11:29:52 1992
--- new/tfmtodit/tfmtodit.cc Sun Jan 02 19:00:08 1994
***************
*** 50,55 ****
--- 50,56 ----
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
+ #include <float.h>
#include <string.h>
#include <errno.h>
#include "lib.h"
diff -cbr orig/troff/input.cc new/troff/input.cc
*** orig/troff/input.cc Fri Apr 16 22:38:26 1993
--- new/troff/input.cc Sun Jan 02 17:53:28 1994
***************
*** 38,44 ****
--- 38,48 ----
#include "posix.h"
#define USAGE_EXIT_CODE 1
+ #ifdef __EMX__
+ #define MACRO_PREFIX ""
+ #else
#define MACRO_PREFIX "tmac."
+ #endif
#define STARTUP_FILE "troffrc"
#define DEFAULT_INPUT_STACK_LIMIT 1000
diff -cbr orig/troff/Makefile.sub new/troff/Makefile.sub
*** orig/troff/Makefile.sub Wed Oct 28 13:47:58 1992
--- new/troff/Makefile.sub Sun Jan 02 17:58:34 1994
***************
*** 1,4 ****
! PROG=troff
MAN1=troff.n
XLIBS=$(LIBGROFF)
MLIB=$(LIBM)
--- 1,4 ----
! PROG=troff$X
MAN1=troff.n
XLIBS=$(LIBGROFF)
MLIB=$(LIBM)