diff3.2@242-243.gz
snippets · 12.2 KB · 2010-03-30
LPMud 3.2 driver diff from patch level 242 to 243 (Dec 1993).
Download « Back to the snippets list
diff -c driver/patchlevel.h:1.263 driver/patchlevel.h:1.264
*** driver/patchlevel.h:1.263 Mon Dec 6 21:50:19 1993
--- driver/patchlevel.h Mon Dec 6 21:50:19 1993
***************
*** 1,2 ****
! #define RELEASE_DATE "Tue Nov 30 04:11:00 MET 1993"
! #define PATCH_LEVEL "@242"
--- 1,2 ----
! #define RELEASE_DATE "Mon Dec 6 21:48:15 MET 1993"
! #define PATCH_LEVEL "@243"
diff -c driver/README.3.2:1.7 driver/README.3.2:1.8
*** driver/README.3.2:1.7 Mon Dec 6 21:50:18 1993
--- driver/README.3.2 Mon Dec 6 21:50:18 1993
***************
*** 13,19 ****
mirrors(updated manually):
ftp.lysator.liu.se:/pub/lpmud/drivers/Amylaar/...
! marble.bu.edu
There is a mailing list that informs about new versions when there are made
available. Try a mail to Majordomo@ibr.cs.tu-bs.de with ``help'' in the body
--- 13,19 ----
mirrors(updated manually):
ftp.lysator.liu.se:/pub/lpmud/drivers/Amylaar/...
! marble.bu.edu:/pub/lp
There is a mailing list that informs about new versions when there are made
available. Try a mail to Majordomo@ibr.cs.tu-bs.de with ``help'' in the body
diff -c driver/comm1.c:1.31 driver/comm1.c:1.32
*** driver/comm1.c:1.31 Mon Dec 6 21:50:18 1993
--- driver/comm1.c Mon Dec 6 21:50:18 1993
***************
*** 965,970 ****
--- 965,971 ----
if (interactive->closing)
fatal("Double call to remove_interactive()\n");
interactive->closing = 1;
+ current_object = ob;
if ( !(ob->flags & O_DESTRUCTED) ) {
push_object(ob);
malloc_privilege = MALLOC_MASTER;
***************
*** 1022,1027 ****
--- 1023,1029 ----
all_players[i] = 0;
free_object(ob, "remove_interactive");
command_giver = check_object(save);
+ current_object = 0;
return;
}
(void)fprintf(stderr, "Could not find and remove player %s\n", ob->name);
diff -c driver/lint.h:1.61 driver/lint.h:1.62
*** driver/lint.h:1.61 Mon Dec 6 21:50:19 1993
--- driver/lint.h Mon Dec 6 21:50:19 1993
***************
*** 192,198 ****
#ifndef HAVE_MEMMEM
char *memmem PROT((char *, size_t, char *, size_t));
#endif
! #if (!defined(HAVE_CRYPT) && !defined(HAVE__CRYPT))
char *crypt PROT((char *, char *));
#endif
--- 192,199 ----
#ifndef HAVE_MEMMEM
char *memmem PROT((char *, size_t, char *, size_t));
#endif
! #if ((!defined(HAVE_CRYPT) && !defined(HAVE__CRYPT))) || \
! defined(sgi)
char *crypt PROT((char *, char *));
#endif
diff -c driver/port.h:1.3 driver/port.h:1.4
*** driver/port.h:1.3 Mon Dec 6 21:50:20 1993
--- driver/port.h Mon Dec 6 21:50:20 1993
***************
*** 121,126 ****
--- 121,131 ----
#if defined(AMIGA)
#include "hosts/amiga/ixfile.h"
+ #define NO_IP_DEMON
+ #ifndef AMIGA_TCP
+ #undef CATCH_UDP_PORT
+ #undef UDP_SEND
+ #endif
#else
#define ixstat stat
#define ixopen ((int(*)PROT((char *, int)))open)
diff -c driver/smalloc.c:1.39 driver/smalloc.c:1.40
*** driver/smalloc.c:1.39 Mon Dec 6 21:50:20 1993
--- driver/smalloc.c Mon Dec 6 21:50:20 1993
***************
*** 1508,1518 ****
#if MALLOC_ALIGN > SINT
FREE_RETURN_TYPE afree(p)
! POINTER p;
{
! while (!*(u*)(p-=sizeof(u)));
! ((u*)p)[1-OVERHEAD] |= (M_REF|M_GC_FREE);
! sfree((char *)((u*)p+1));
FREE_RETURN
}
#endif /* MALLOC_ALIGN */
--- 1508,1519 ----
#if MALLOC_ALIGN > SINT
FREE_RETURN_TYPE afree(p)
! POINTER p; /* could be void *, thus needs casting */
{
! (u*)q = (u*)p;
! while (!*--q);
! q[1-OVERHEAD] |= (M_REF|M_GC_FREE);
! sfree((char *)(q+1));
FREE_RETURN
}
#endif /* MALLOC_ALIGN */
diff -c driver/hosts/amiga/CHANGELOG:1.16 driver/hosts/amiga/CHANGELOG:1.17
*** driver/hosts/amiga/CHANGELOG:1.16 Mon Dec 6 21:50:24 1993
--- driver/hosts/amiga/CHANGELOG Mon Dec 6 21:50:24 1993
***************
*** 43,50 ****
04-Oct-93 [lars]
Upgraded PlayMud to version 1.6.
! 09-Apr-93..18-Nov-93 [lars]
! Merged in patches for @31..231.
15-Nov-93 [lars]
Upgraded PlayMud to version 1.7.
--- 43,50 ----
04-Oct-93 [lars]
Upgraded PlayMud to version 1.6.
! 09-Apr-93..30-Nov-93 [lars]
! Merged in patches for @31..242.
15-Nov-93 [lars]
Upgraded PlayMud to version 1.7.
diff -c driver/hosts/amiga/FILES:1.4 driver/hosts/amiga/FILES:1.5
*** driver/hosts/amiga/FILES:1.4 Mon Dec 6 21:50:24 1993
--- driver/hosts/amiga/FILES Mon Dec 6 21:50:24 1993
***************
*** 1,24 ****
- NetIncl/
- README
- amiga.c
- ixfile.h
- patchfloat.h
- socket.c
- socket_sim.c
- socket_tcp.c
- telnet.h
- mudmsgs.h
- socket.h
- socket_sim.h
- socket_tcp.h
- nsignal.h
- signal.c
- signal_rr.c
- dstol.c
- astrip.c
- README.Amiga
- Makefile-Amiga
- config.h-Amiga
- CHANGELOG
- README.PlayMud
- PlayMud.c
--- 0 ----
diff -c driver/hosts/amiga/Makefile:1.14 driver/hosts/amiga/Makefile:1.15
*** driver/hosts/amiga/Makefile:1.14 Mon Dec 6 21:50:25 1993
--- driver/hosts/amiga/Makefile Mon Dec 6 21:50:25 1993
***************
*** 71,86 ****
# To compile the hosts/amiga/signal, your compiler must be able to
# generate C-Code with registerized parameters. If it needs a special
# option to do this, put it into ROPT.
.IF $(CCFAMILY) == DICE
# -gl tells DICE to use dynamic stack code (needed for its alloca)
# -mD tells DICE to use the large data model.
# DICE uses the OS' math libraries, so OS-1.3 versions can't use simple
# floats.
# AMIGA is defined automatically.
! CCOPTS = -gl -mD -D_NO_OWN_FLOATS # -DAMIGA
# Biggies: Large Code Model
--- 71,92 ----
# To compile the hosts/amiga/signal, your compiler must be able to
# generate C-Code with registerized parameters. If it needs a special
# option to do this, put it into ROPT.
+ #
+ # If your compiler needs additional sources, put them into XSRC, and
+ # the object files to generate into XOBJ.
+ # If your compiler doesn't have alloca(), add alloca.c/alloca.o to
+ # the additional sources.
.IF $(CCFAMILY) == DICE
# -gl tells DICE to use dynamic stack code (needed for its alloca)
# -mD tells DICE to use the large data model.
+ # -s tells DICE to include symbolic information into the executable.
# DICE uses the OS' math libraries, so OS-1.3 versions can't use simple
# floats.
# AMIGA is defined automatically.
! CCOPTS = -s -gl -mD -D_NO_OWN_FLOATS # -DAMIGA
# Biggies: Large Code Model
***************
*** 134,139 ****
--- 140,146 ----
NETLIB= -l net
.END
+
# ---------------- Now for the real, the Mud stuff ----------------------
# Chose one of these mallocs:
***************
*** 147,153 ****
# Gnu malloc, fastest but uses most memory.
# MALLOC=gmalloc
#
! # Use the standard malloc on your system:
# MALLOC=sysmalloc
# Set MUD_LIB to the directory which contains the mud data.
--- 154,160 ----
# Gnu malloc, fastest but uses most memory.
# MALLOC=gmalloc
#
! # Use the standard malloc on your system.
# MALLOC=sysmalloc
# Set MUD_LIB to the directory which contains the mud data.
***************
*** 159,171 ****
BINDIR = mudbin:
- #
- # Define what random number generator to use (DRAND48, RANDOM, RAND).
- # If no one is specified, a guaranteed bad one will be used.
- #
-
- RAND=RAND
-
# Profiling is mostly useless for us.
# PROFIL= -DOPCPROF -DVERBOSE_OPCPROF
# would enable the profiling of the virtual stackmachine.
--- 166,171 ----
***************
*** 183,233 ****
DEBUG=-DDEBUG -DTRACE_CODE
! MPATH=-DMUD_LIB="$(MUD_LIB)" -DBINDIR="$(BINDIR)"
!
! # If you don't have 'strchr', then add next flag to CFLAGS.
! # -Dstrchr=index -Dstrrchr=rindex
!
! CCOPTS+= -D$(WHATCC)
! LDFLAGS= $(CCOPTS)
! DEFINES= $(DEBUG) $(PROFIL) -D$(RAND) -DMALLOC_$(MALLOC) $(MPATH) $(NETDEF)
!
! CFLAGS+= $(CCOPTS) $(DEFINES)
!
! # Add extra object files and libraries here.
! #
! # Amiga/DICE:
- XOBJ= signal.o signal_rr.o socket.o amiga.o
LIBS= $(NETLIB) -lm
- # MFLAGS = "BINDIR=$(BINDIR)" "MUD_LIB=$(MUD_LIB)"
! YFLAGS += -d
! # Add str.c here if you don't have memcpy() or strtol()
SRC=lex.c main.c interpret.c simulate.c object.c backend.c array.c\
comm1.c ed.c regexp.c mapping.c wiz_list.c swap.c $(MALLOC).c\
call_out.c otable.c dumpstat.c stralloc.c hash.c indentp.c port.c\
access_check.c clilib.c parse_old.c parse.c prolang.y\
! simul_efun.c sprintf.c gcollect.c closure.c
!
!
! # Add str.o here if you don't have memcpy() or strtol().
! # Add alloca.o if you don't have alloca() on your machine.
! # (DICE has both, but alloca() in a very special version needing special
! # stackcode)
! # Add crypt.o here if you don't have a crypt() on your machine.
! # Alternatively add fcrypt.o in case your compiler can't grok crypt.
!
OBJ=lang.o lex.o main.o interpret.o simulate.o object.o backend.o array.o\
comm1.o ed.o regexp.o mapping.o wiz_list.o swap.o $(MALLOC).o\
call_out.o otable.o dumpstat.o stralloc.o hash.o indentp.o port.o\
access_check.o clilib.o parse_old.o parse.o simul_efun.o sprintf.o\
! crypt.o gcollect.o closure.o $(XOBJ)
driver: $(OBJ)
$(CC) $(LDFLAGS) $(OBJ) -o $@ $(LIBS)
--- 183,217 ----
DEBUG=-DDEBUG -DTRACE_CODE
! # Extra object files and libraries.
! XOBJ += signal.o signal_rr.o socket.o amiga.o ixfile.o
! XSRC += hosts/amiga/signal.c hosts/amiga/signal_rr.c\
! hosts/amiga/socket.c hosts/amiga/amiga.c hosts/amiga/ixfile.c
LIBS= $(NETLIB) -lm
! # ----------------------- The Rules -------------------------------------
+ MPATH=-DMUD_LIB="$(MUD_LIB)" -DBINDIR="$(BINDIR)"
! CCOPTS+= -D$(WHATCC)
! LDFLAGS= $(CCOPTS)
! DEFINES= $(DEBUG) $(PROFIL) -DMALLOC_$(MALLOC) $(MPATH) $(NETDEF)
! CFLAGS+= $(CCOPTS) $(DEFINES)
! YFLAGS += -d
SRC=lex.c main.c interpret.c simulate.c object.c backend.c array.c\
comm1.c ed.c regexp.c mapping.c wiz_list.c swap.c $(MALLOC).c\
call_out.c otable.c dumpstat.c stralloc.c hash.c indentp.c port.c\
access_check.c clilib.c parse_old.c parse.c prolang.y\
! simul_efun.c sprintf.c gcollect.c closure.c $(XSRC)
OBJ=lang.o lex.o main.o interpret.o simulate.o object.o backend.o array.o\
comm1.o ed.o regexp.o mapping.o wiz_list.o swap.o $(MALLOC).o\
call_out.o otable.o dumpstat.o stralloc.o hash.o indentp.o port.o\
access_check.o clilib.o parse_old.o parse.o simul_efun.o sprintf.o\
! gcollect.o closure.o $(XOBJ)
driver: $(OBJ)
$(CC) $(LDFLAGS) $(OBJ) -o $@ $(LIBS)
***************
*** 257,271 ****
TAGS: $(SRC)
etags $(SRC)
- # Under Unix, rules and receipes for hostdef.h go here.
- # AmigaOS can live without :-)
-
$(PREC) make_func.c: make_func.y
+$(YACC) $(YFLAGS) make_func.y
$(MV) $(YTAB).c make_func.c
! $(PREC) make_func: make_func.o hash.o
! $(CC) make_func.o hash.o -o make_func $(LIBS)
.PRECIOUS lang.y efun_defs.c instrs.h: func_spec make_func prolang.y config.h
-$(RMF) efun_defs.c
--- 241,252 ----
TAGS: $(SRC)
etags $(SRC)
$(PREC) make_func.c: make_func.y
+$(YACC) $(YFLAGS) make_func.y
$(MV) $(YTAB).c make_func.c
! $(PREC) make_func: make_func.o hash.o ixfile.o
! $(CC) make_func.o hash.o ixfile.o -o make_func $(LIBS)
.PRECIOUS lang.y efun_defs.c instrs.h: func_spec make_func prolang.y config.h
-$(RMF) efun_defs.c
***************
*** 383,391 ****
lex.o : lex.c lint.h config.h machine.h interpret.h lang.h exec.h lex.h \
instrs.h patchlevel.h stralloc.h efun_defs.c
! main.o : main.c lint.h config.h machine.h interpret.h object.h lex.h
$(PREC) make_func.o : make_func.c lint.h config.h machine.h
mapping.o : mapping.c config.h machine.h lint.h interpret.h lang.h instrs.h \
object.h wiz_list.h regexp.h stralloc.h smalloc.h
--- 364,374 ----
lex.o : lex.c lint.h config.h machine.h interpret.h lang.h exec.h lex.h \
instrs.h patchlevel.h stralloc.h efun_defs.c
! main.o : main.c lint.h config.h machine.h interpret.h object.h lex.h \
! patchlevel.h
$(PREC) make_func.o : make_func.c lint.h config.h machine.h
+ $(CC) $(CFLAGS) -DYACC="$(YACC)" -c make_func.c
mapping.o : mapping.c config.h machine.h lint.h interpret.h lang.h instrs.h \
object.h wiz_list.h regexp.h stralloc.h smalloc.h
***************
*** 414,425 ****
sprintf.o : sprintf.c config.h machine.h lint.h interpret.h lang.h instrs.h \
exec.h object.h sent.h
- str.o : str.c
-
stralloc.o : stralloc.c stralloc.h config.h machine.h lint.h \
hosts/amiga/patchfloat.h
-
swap.o : swap.c lint.h config.h machine.h interpret.h object.h exec.h
wiz_list.o : wiz_list.c config.h machine.h lint.h interpret.h object.h \
--- 397,405 ----
***************
*** 436,446 ****
# Rules for extra object files.
#
# crypt.o : BSD-implementation of crypt()
! # fcrypt.o : Crack-implementation of crypt()
# PlayMud : a simple client to access the running mud.
# netclean : removes all object files containing communication-specific code.
# osclean : removes all object files which contain OS-specific code.
# amiga.o : some amiga specific routines.
# signal.o : timers and interruption. It uses interrupt code and therefore
# needs fully registered args.
# socket.o : includes the appropriate socket-code.
--- 416,427 ----
# Rules for extra object files.
#
# crypt.o : BSD-implementation of crypt()
! # fcrypt.o : Crack-implementation of crypt() (just in case)
# PlayMud : a simple client to access the running mud.
# netclean : removes all object files containing communication-specific code.
# osclean : removes all object files which contain OS-specific code.
# amiga.o : some amiga specific routines.
+ # ixfile.o : Unix-filesystem disguise.
# signal.o : timers and interruption. It uses interrupt code and therefore
# needs fully registered args.
# socket.o : includes the appropriate socket-code.
***************
*** 472,477 ****
--- 453,461 ----
amiga.o : patchlevel.h config.h hosts/amiga/nsignal.h
amiga.o : hosts/amiga/amiga.c
+ $(CC) $(CFLAGS) -Ihosts/amiga -c $< -o $@
+
+ ixfile.o : hosts/amiga/ixfile.c
$(CC) $(CFLAGS) -Ihosts/amiga -c $< -o $@
signal.o : hosts/amiga/nsignal.h
diff -c driver/hosts/amiga/README:1.8 driver/hosts/amiga/README:1.9
*** driver/hosts/amiga/README:1.8 Mon Dec 6 21:50:25 1993
--- driver/hosts/amiga/README Mon Dec 6 21:50:25 1993
***************
*** 10,15 ****
--- 10,16 ----
amiga.c : some general routines for the Amiga.
ixfile.h : redefines the some file-functions to use automatic name conversion
from Unix to Amiga style.
+ ixfile.c : the functions needed to convert filenames form Unix to Amiga style.
nsignal.h: additional defines and prototypes for signal.c.
signal.c : Implementation of timer-functions (alarm()) and true
key-interrupt detection.
***************
*** 39,48 ****
CHANGELOG: A list of all the changes applied over the time.
Makefile : the Makefile to compile the whole driver.
config.h : the 'standard' config.h to compile the driver.
! machine.h: the 'standard' machine.h to compile the driver
NetIncl/ : Standard includes used with TCP.
All Makefile, machine.h and config.h are the Amiga-Replacements for the
! Unix Makefile, machine.h and config.h in the top directory.
--- 40,49 ----
CHANGELOG: A list of all the changes applied over the time.
Makefile : the Makefile to compile the whole driver.
config.h : the 'standard' config.h to compile the driver.
! machine.h: the 'standard' machine.h to compile the driver.
NetIncl/ : Standard includes used with TCP.
All Makefile, machine.h and config.h are the Amiga-Replacements for the
! corresponding Unix files in the top directory.
diff -c driver/hosts/amiga/README.Amiga:1.11 driver/hosts/amiga/README.Amiga:1.12
*** driver/hosts/amiga/README.Amiga:1.11 Mon Dec 6 21:50:26 1993
--- driver/hosts/amiga/README.Amiga Mon Dec 6 21:50:26 1993
***************
*** 22,28 ****
2 MB RAM at least
Harddisk, or at least two floppies
optionally a faster processor
! optionally AmiTCP-2.0
To compile the mud:
--- 22,28 ----
2 MB RAM at least
Harddisk, or at least two floppies
optionally a faster processor
! optionally AmiTCP 2
To compile the mud:
***************
*** 36,41 ****
--- 36,42 ----
----------------------
[ See also: 'Types of net communication' ]
+ [ See also the 'INSTALL' file ]
To run adr32, you need the driver, a program to play mud (depending on its
communication method) and a mudlib.
***************
*** 106,112 ****
True TCP:
! This is implemented using the AmiTCP package version 2.0.
The query of the name server by the parallel 'hname' process is not yet
implemented.
--- 107,113 ----
True TCP:
! This is implemented using the AmiTCP package version 2.
The query of the name server by the parallel 'hname' process is not yet
implemented.
***************
*** 144,151 ****
smallocs large chunks anyway).
Where hosts/amiga/config.h as just a suggestion, you must use the hosts/amiga-
! replacements for 'machine.h' and 'Makefile'. Copy them into into the main
! directory prior to compilation.
Check the Makefile for compiler specials:
CCFAMILY : the family of the compiler (known so far: DICE)
--- 145,152 ----
smallocs large chunks anyway).
Where hosts/amiga/config.h as just a suggestion, you must use the hosts/amiga-
! replacements for 'machine.h' and 'Makefile'. Copy them into into the
! main directory prior to compilation.
Check the Makefile for compiler specials:
CCFAMILY : the family of the compiler (known so far: DICE)
***************
*** 172,178 ****
--- 173,182 ----
compiler. Since DICE already implements many Unixisms on its own,
recompilation with other compilers might need some more patches in the
sources.
+ If you add the support for a new compiler, you also have to adapt
+ 'machine.h' and 'Makefile'.
+
Compiling with DICE 2.06/2.07 and DMake 3.6:
DICE automatically defines AMIGA and _DCC.
interpret.c and lang.c contain switch-statements with more than 32K code,
***************
*** 179,185 ****
but though the compiler uses the large code model, it compiles the
switches using short branches. This is hacked around by compiling the
source into assembler code, catching the error messages from an assembly
! attempt and patching the erroreous branches in the asm-source into jumps.
Currently this has to be iterated thrice for interpret.c and twice
for lang.c.
The assembler sources of interpret.c and lang.c needs to be stripped from
--- 183,189 ----
but though the compiler uses the large code model, it compiles the
switches using short branches. This is hacked around by compiling the
source into assembler code, catching the error messages from an assembly
! attempt and patching the errorenous branches in the asm-source into jumps.
Currently this has to be iterated thrice for interpret.c and twice
for lang.c.
The assembler sources of interpret.c and lang.c needs to be stripped from
***************
*** 218,227 ****
the checking for Ctrl-C - the code in amiga.c and signal.c has to overlay
the routines supplied by the standard libraries.
! The crypt() function was implemented using the fcrypt() from the 'Crack'
! package by Alec Muffet.
! On some machine/compiler combinations fcrypt() has its problems, so the
! equivalent crypt is also included and used by default.
The implementation of floats in the driver uses a special storage format
of 48 bits, which is then mapped onto the compiler's double format.
--- 222,230 ----
the checking for Ctrl-C - the code in amiga.c and signal.c has to overlay
the routines supplied by the standard libraries.
! The crypt() function was implemented using the free BSD-crypt().
! As alternative, fcrypt() from the 'Crack' package by Alec Muffet is also
! available, but may not run on some machine-compiler combinations.
The implementation of floats in the driver uses a special storage format
of 48 bits, which is then mapped onto the compiler's double format.
***************
*** 307,314 ****
fork() to spawn off a separate process doing the lookup. This means you won't
get the ip names for incoming connections, just their numbers.
! So far, the AmiTCP supports uses my own interface to the package. But chances
! are that it will go into the official package... :-)
True TCP using AS225
--- 310,317 ----
fork() to spawn off a separate process doing the lookup. This means you won't
get the ip names for incoming connections, just their numbers.
! For DICE, the AmiTCP support uses my own interface to the package. It is
! available on AmiNet.
True TCP using AS225
***************
*** 346,351 ****
--- 349,368 ----
This distribution contains only a subset of the original PlayMud distribution.
The complete PlayMud package is available via FTP, probably on the same servers
carrying ready-compiled gamedrivers.
+
+
+ Problems
+ --------
+
+ I am developing on a simple 68010 machine, so I have no way to run Enforcer.
+ There are Enforcerhits hidden in the driver; detailed reports are welcome.
+
+ I got word from 68040 users that they experience misbehaviours and crashes
+ of the driver on their machines. This seems to be an imcompatibility with some
+ features of the 68040; up to 68030 no problems were reported. Again, detailed
+ reports are welcome.
+
+ The code should be adapted for SAS/C as well.
Credits
diff -c driver/hosts/amiga/README.PlayMud:1.4 driver/hosts/amiga/README.PlayMud:1.5
*** driver/hosts/amiga/README.PlayMud:1.4 Mon Dec 6 21:50:26 1993
--- driver/hosts/amiga/README.PlayMud Mon Dec 6 21:50:26 1993
***************
*** 72,79 ****
The files searched are '<basename>.info', with <basename> being the command
used to invoke PlayMud. So if you rename your copy of PlayMud to 'MudClient',
you'll also have to rename the icon files to 'MudClient.info'.
- I provided an empty icon file with the archive as playground (it even
- doesn't have a nice picture in it :-)
The type of the handler to use is determined by the FRONTEND tooltype.
If not specified, or specified to DOS or STANDARD, the normal console handler
--- 72,77 ----
***************
*** 99,112 ****
Usage with AmiExpress
---------------------
It is possible to run PlayMud as XIM-type door under AmiExpress. To do
! this, put an approbiate icon into the BBS:Commands/BBSCmd directory (you
! can use the included PlayMud.BBSCmd.info for this) to make PlayMud known to
! AmiExpress.
When run as door, PlayMud takes no cli arguments (except for the node
number supplied by AmiExpress) - it must be configured by icons only (see
'General Operation' for the search path), especially the FRONTEND tooltype!
! It is advisable to set the verbosity to QUIET as well. You can use the
! included 'PlayMud.Door.info' for this purpose.
The interface to AmiExpress is a bit tricky, since AmiExpress does not
feature real asynchronous read/write operations. As replacement, PlayMud
--- 97,108 ----
Usage with AmiExpress
---------------------
It is possible to run PlayMud as XIM-type door under AmiExpress. To do
! this, put an approbiate icon into the BBS:Commands/BBSCmd directory to
! make PlayMud known to AmiExpress.
When run as door, PlayMud takes no cli arguments (except for the node
number supplied by AmiExpress) - it must be configured by icons only (see
'General Operation' for the search path), especially the FRONTEND tooltype!
! It is advisable to set the verbosity to QUIET as well.
The interface to AmiExpress is a bit tricky, since AmiExpress does not
feature real asynchronous read/write operations. As replacement, PlayMud
***************
*** 145,154 ****
necessary modifications if any.
John Fehr (umfehr06@ccu.UManitoba.CA) compiled it successfully with SAS/C 6.2,
! and also improved the of input with no local echo. To compile under SAS,
just do 'sc link ign=all opt PlayMud.c'.
! Bowen did the test runs under AmiExpress.
If you don`t have OS 2.0 (or ConMan for OS 1.3), I advise you to get it...
--- 141,151 ----
necessary modifications if any.
John Fehr (umfehr06@ccu.UManitoba.CA) compiled it successfully with SAS/C 6.2,
! and also improved the handling of input with no local echo. To compile under SAS,
just do 'sc link ign=all opt PlayMud.c'.
! Bowen (bowen@kazak.nmsu.edu) helped creating the AmiExpress frontend and did
! the test runs.
If you don`t have OS 2.0 (or ConMan for OS 1.3), I advise you to get it...
diff -c driver/hosts/amiga/amiga.c:1.8 driver/hosts/amiga/amiga.c:1.9
*** driver/hosts/amiga/amiga.c:1.8 Mon Dec 6 21:50:26 1993
--- driver/hosts/amiga/amiga.c Mon Dec 6 21:50:26 1993
***************
*** 9,14 ****
--- 9,16 ----
** 09-Apr-93 [lars] Overloaded break check of the compiler.
** 17-Jun-93 [lars] Put in support for AmiTCP.
** 20-Sep-93 [lars] Fixed small but fatal bug in chmod().
+ ** 23-Nov-93 [lars] Made version string more style conform.
+ ** 30-Nov-93 [lars] ixconvert() et al. exported into ixfile.c
*/
/*-----------------------------------------------------------------------*/
***************
*** 63,69 ****
#endif
static char ver[] =
! "\0$VER: Amylaar-LPMud " GAME_VERSION PATCH_LEVEL " (OS " OSVERSION NETVERSION ") ";
static APTR oldException = NULL;
static ULONG oldExceptSig = 0L;
--- 65,71 ----
#endif
static char ver[] =
! "\0$VER: Amylaar-LPMud " GAME_VERSION PATCH_LEVEL " (" __DATE__ ") OS " OSVERSION NETVERSION "";
static APTR oldException = NULL;
static ULONG oldExceptSig = 0L;
***************
*** 120,227 ****
return 0;
}
#endif
-
- /*-----------------------------------------------------------------------
- ** char *do_ixconvert (char *name)
- ** char *ixconvert (char *fname)
- ** char *ixconvert2 (char *fname)
- **
- ** do_ixconvert() takes a unix filename and amigaizes by changing it.
- **
- ** ixconvert() and ixconvert2() are the interface, each providing
- ** an own static buffer for the changed name, thus keeping the original
- ** intact.
- */
-
- #define BUFLEN 1024
-
- char *do_ixconvert (char *name) {
- char *s1;
- int flag;
-
- flag = 0;
- while (!flag) {
- /* Replace ':/' by ':' */
- if ((s1 = strstr (name, ":/")) != NULL) strcpy (s1+1, s1+2);
- /* Replace ':./' by ':' */
- else if ((s1 = strstr (name, ":./")) != NULL) strcpy (s1+1, s1+3);
- else flag = 1;
- }
- /* Replace ':../' by ':/' */
- if ((s1 = strstr (name, ":../")) != NULL) strcpy (s1+1, s1+3);
-
- /* Remove leading '/' */
- for (s1 = name; *s1 == '/'; s1++);
- if (s1 != name) strcpy (name, s1);
-
- /* Replace '../' by '/' */
- for (s1 = name; (s1 = strstr (s1, "../")) != NULL; strcpy (s1, s1+2));
-
- /* Replace './' by '' */
- for (s1 = name; (s1 = strstr (s1, "./")) != NULL; strcpy (s1, s1+2));
-
- /* Remove trailing '/.' */
- while ((flag=strlen(name)) >= 2 && !strcmp (s1 = name+flag-2, "/."))
- *s1 = '\0';
-
- /* Replace trailing '/..' by '/' */
- if (strlen(name) >= 3 && !strcmp (s1 = name+strlen(name)-3, "/.."))
- strcpy (s1, "/");
-
- /* Replace '..' name by '/' */
- if (!strcmp (name, "..")) strcpy (name, "/");
-
- /* Replace '.' name by '' */
- if (!strcmp (name, ".")) *name = '\0';
- return name;
- }
-
- char *ixconvert (char *fname) {
- static char name[BUFLEN];
-
- if (strlen(fname) < BUFLEN) strcpy (name, fname);
- else { strncpy (name, fname, BUFLEN-1); name[BUFLEN-1] = '\0'; }
- return do_ixconvert (name);
- }
-
- char *ixconvert2 (char *fname) {
- static char name[BUFLEN];
-
- if (strlen(fname) < BUFLEN) strcpy (name, fname);
- else { strncpy (name, fname, BUFLEN-1); name[BUFLEN-1] = '\0'; }
- return do_ixconvert (name);
- }
-
- /*-----------------------------------------------------------------------
- ** Set the access mode of a file.
- ** For Amiga-OS, only the owner access can be set.
- ** It is not guaranteed that the mode will be checked with any OS
- ** older than 2.0.
- */
-
- int chmod (char *file, long mode) {
- BPTR lock;
- struct FileInfoBlock *info;
- int rc;
-
- /* Unix mode 'rwx??????' => DOS mode 'rwxw' aka 'rwxd'.
- ** Well, this should be done using the FIB* constants from dos.h
- ** but they will hardly change and 'knowing' them keeps this a one-liner.
- ** Note that the Amiga-OS bits disallow the operation when set.
- */
- mode = ~((mode & 0700) >> 5 | (mode & 0200) >> 7) & 017;
- info = (struct FileInfoBlock *) malloc (sizeof (struct FileInfoBlock));
- if (info == NULL) return -1;
- rc = -1;
- if ((lock = Lock (file, SHARED_LOCK)) == NULL) goto chmod_exit;
- if (Examine (lock, info) == DOSFALSE) goto chmod_exit;
- UnLock (lock);
- if (SetProtection (file, (info->fib_Protection & (~017)) | mode) != DOSFALSE)
- rc = 0;
- chmod_exit:
- free (info);
- return rc;
- }
/*-----------------------------------------------------------------------
** DICE-specifics.
--- 122,127 ----
diff -c driver/hosts/amiga/config.h:1.12 driver/hosts/amiga/config.h:1.13
*** driver/hosts/amiga/config.h:1.12 Mon Dec 6 21:50:27 1993
--- driver/hosts/amiga/config.h Mon Dec 6 21:50:27 1993
***************
*** 175,182 ****
#define RESERVED_MASTER_SIZE 5000
#define RESERVED_SYSTEM_SIZE 5000
! /* Define the size of the shared string hash table. This number needn't be
! * a prime, probably between 1000 and 30000; if you set it to about 1/5
* of the number of distinct strings you have, you will get a hit ratio
* (number of comparisons to find a string) very close to 1, as found strings
* are automatically moved to the head of a hash chain. You will never
--- 175,182 ----
#define RESERVED_MASTER_SIZE 5000
#define RESERVED_SYSTEM_SIZE 5000
! /* Define the size of the shared string hash table. This number needn't
! * be prime, probably between 1000 and 30000; if you set it to about 1/5
* of the number of distinct strings you have, you will get a hit ratio
* (number of comparisons to find a string) very close to 1, as found strings
* are automatically moved to the head of a hash chain. You will never
***************
*** 260,272 ****
/* Profiling:
* Define COMM_STAT to gather statistics about the network-io.
* Define APPLY_CACHE_STAT to gather statistics about the hit/miss-rate
! * of the apply cache.
*/
#define COMM_STAT
#define APPLY_CACHE_STAT
/* When smalloc is used without SBRK_OK, MIN_MALLOCED will lower large block
! * fragmentation.
*/
#undef MIN_MALLOCED 0x0100000
--- 260,272 ----
/* Profiling:
* Define COMM_STAT to gather statistics about the network-io.
* Define APPLY_CACHE_STAT to gather statistics about the hit/miss-rate
! * of the apply cache.
*/
#define COMM_STAT
#define APPLY_CACHE_STAT
/* When smalloc is used without SBRK_OK, MIN_MALLOCED will lower large block
! * fragmentation.
*/
#undef MIN_MALLOCED 0x0100000
***************
*** 273,280 ****
#define MAX_MALLOCED 0x4000000
#define MAX_SMALL_MALLOCED 0x1000000
! #undef SMALLOC_TRACE /* do 'make clean' after changing this... */
! #undef SMALLOC_LPC_TRACE /* do 'make clean' after changing this... */
/* If using TRACE_CODE , how many instructions should be kept?
*/
--- 273,280 ----
#define MAX_MALLOCED 0x4000000
#define MAX_SMALL_MALLOCED 0x1000000
! #undef SMALLOC_TRACE /* do 'make clean' after changing this... */
! #undef SMALLOC_LPC_TRACE /* do 'make clean' after changing this... */
/* If using TRACE_CODE , how many instructions should be kept?
*/
***************
*** 307,312 ****
#define CLEAR_EVAL_COST (assigned_eval_cost = eval_cost = initial_eval_cost)
! #include "machine.h"
#endif /* CONFIG_H */
--- 307,312 ----
#define CLEAR_EVAL_COST (assigned_eval_cost = eval_cost = initial_eval_cost)
! #include "port.h"
#endif /* CONFIG_H */
diff -c driver/hosts/amiga/ixfile.h:1.2 driver/hosts/amiga/ixfile.h:1.3
*** driver/hosts/amiga/ixfile.h:1.2 Mon Dec 6 21:50:27 1993
--- driver/hosts/amiga/ixfile.h Mon Dec 6 21:50:27 1993
***************
*** 2,33 ****
**
** Defines some macros for filefunctions to allow automatic filename
** conversion from unix style to amiga style.
- ** You must include it after stdio.h or sys/dir.h!
*/
#ifndef IXFILE_H
#define IXFILE_H
extern char *ixconvert (char *);
extern char *ixconvert2 (char *);
! #define access(n) access(ixconvert(n))
! #define chdir(n) chdir(ixconvert(n))
! #define fopen(n,m) fopen(ixconvert(n),m)
! #define freopen(n,m,f) freopen(ixconvert(n),m,f)
#if defined(_DCC) && defined(DICE206)
! #define mkdir(n,i) mkdir(ixconvert(n))
#else
! #define mkdir(n,i) mkdir(ixconvert(n),i)
#endif
! #define ixopen(n,m) open(ixconvert(n),m)
! #define ixopen3(n,m,b) open(ixconvert(n),m,b)
! #define opendir(n) opendir(ixconvert(n))
! #define remove(n) remove(ixconvert(n))
! #define rename(n,m) rename(ixconvert(n),ixconvert2(m))
! #define rmdir(n) rmdir(ixconvert(n))
! #define ixstat(n,m) stat(ixconvert(n),m)
! #define lstat(n,m) stat(ixconvert(n),m)
! #define unlink(n) unlink(ixconvert(n))
#endif
--- 2,39 ----
**
** Defines some macros for filefunctions to allow automatic filename
** conversion from unix style to amiga style.
*/
#ifndef IXFILE_H
#define IXFILE_H
+ /* We redefine some functions, but we need the prototypes... */
+ #include <sys/dir.h>
+ #include <sys/stat.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <fcntl.h>
+
extern char *ixconvert (char *);
extern char *ixconvert2 (char *);
! #define access(n) access(ixconvert(n))
! #define chdir(n) chdir(ixconvert(n))
! #define fopen(n,m) fopen(ixconvert(n),m)
! #define freopen(n,m,f) freopen(ixconvert(n),m,f)
#if defined(_DCC) && defined(DICE206)
! #define mkdir(n,i) mkdir(ixconvert(n))
#else
! #define mkdir(n,i) mkdir(ixconvert(n),i)
#endif
! #define ixopen(n,m) open(ixconvert(n),m)
! #define ixopen3(n,m,b) open(ixconvert(n),m,b)
! #define opendir(n) opendir(ixconvert(n))
! #define remove(n) remove(ixconvert(n))
! #define rename(n,m) rename(ixconvert(n),ixconvert2(m))
! #define rmdir(n) rmdir(ixconvert(n))
! #define ixstat(n,m) stat(ixconvert(n),m)
! #define lstat(n,m) stat(ixconvert(n),m)
! #define unlink(n) unlink(ixconvert(n))
#endif
diff -c driver/hosts/amiga/machine.h:1.7 driver/hosts/amiga/machine.h:1.8
*** driver/hosts/amiga/machine.h:1.7 Mon Dec 6 21:50:27 1993
--- driver/hosts/amiga/machine.h Mon Dec 6 21:50:27 1993
***************
*** 1,99 ****
#ifndef MACHINE_H
#define MACHINE_H
! /*
! * How to extract an unsigned char from a char *.
! * If your compiler has the type 'unsigned char', then the cast-version
! * is best. If you do not know, use the simple version, and the game will
! * immediately terminate with a message if bad.
! #define EXTRACT_UCHAR(p) (*(p) < 0 ? *(p) + 0x100 : *(p))
! */
! #define EXTRACT_UCHAR(p) (*(unsigned char *)(p))
! /* An integer that has the same size as a pointer */
! typedef long p_int;
! typedef unsigned long p_uint;
! #define SIZEOF_P_INT (4) /* must be evaluable by the preprocessor */
!
! /* An integer that has half the size of a pointer */
! typedef short ph_int;
! typedef unsigned short ph_uint;
!
! /* An integer that has at least the size of a pointer */
! typedef long mp_int;
! typedef unsigned long mp_uint;
!
! /* An integer with 32 bits */
! typedef long int32;
! typedef unsigned long uint32;
!
! /*
! * Does the system have a getrusage call?
! * On solaris, don't define this unless you link with bsd libraries.
! */
! #define RUSAGE
! /* If so, is it restricted to user and system time? */
! #undef RUSAGE_RESTRICTED
! /*
! * Undef this if your system doesn't support Berkley type symlinks.
! */
! #undef SYMLINKS
! /*
! * Define what ioctl to use against tty's.
! */
! #if 0
! #define USE_TIOCGETP /* BSD */
! #else
! #define USE_TCGETA /* SYSV */
! #endif
!
! /*
! * Some LPmuds on sun4 and sparcstations have had problems with the
! * call of inet_ntoa() in comm1.c.
! * If the game crash in query_ip_number() when using inet_ntoa(),
! * then undefine the following symbol.
! * The query_ip_number() is called when doing the 'people' command
! * for example.
! */
! #define INET_NTOA_OK
! /*
! * Define SYSV if you are running system V with a lower release level than
! * Sys V.4. Unless it's defined in your stdio.h.
! */
! #undef SYSV
! /*
! * Define FCHMOD_MISSING only if your system doesn't have fchmod().
! */
! #define FCHMOD_MISSING
! /*
! * USE_FCNTL_FNDELAY
! *
! * Probably due to a gcc-bug the socket_ioctl doesn't work correctly if
! * the driver is compiled using gcc-2.3.2, at least on Sparcstations.
! * #define this if your GD crashes immediatly after the
! * Setting up ipc.-message with an operation-not-allowed-on-socket-error
*/
! #undef USE_FCNTL_FNDELAY
! /************************************************************************/
! /* END OF CONFIG -- DO NOT ALTER ANYTHING BELOW THIS LINE */
! /************************************************************************/
!
! #if defined(sparc)
! #define MALLOC_ALIGN 8
! #define MALLOC_ALIGN_8
! #endif
! #ifndef MALLOC_ALIGN
#define MALLOC_ALIGN 4
! #endif
/* The following is needed for smalloc without SBRK_OK to use memory
* efficiently. smalloc will malloc blocks that are a large power of
--- 1,87 ----
#ifndef MACHINE_H
#define MACHINE_H
! /* Define if using alloca.c. */
! /* #undef C_ALLOCA */
! /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
! This function is required for alloca.c support on those systems. */
! /* #undef CRAY_STACKSEG_END */
! /* Define if you have dirent.h. */
! /* #undef DIRENT */
! /* Define if you have alloca.h and it should be used (not Ultrix). */
! #define HAVE_ALLOCA_H 1
! /* Define as __inline if that's what the C compiler calls it. */
! /* #undef inline */
! /* Define if you don't have dirent.h, but have ndir.h. */
! /* #undef NDIR */
! /* Define to `int' if <sys/types.h> doesn't define. */
! /* #undef pid_t */
! /* Define as the return type of signal handlers (int or void). */
! #define RETSIGTYPE void
! /* Define to `unsigned' if <sys/types.h> doesn't define. */
! /* #undef size_t */
! /* If using the C implementation of alloca, define if you know the
! direction of stack growth for your system; otherwise it will be
! automatically deduced at run-time.
! STACK_DIRECTION > 0 => grows toward higher addresses
! STACK_DIRECTION < 0 => grows toward lower addresses
! STACK_DIRECTION = 0 => direction of growth unknown
*/
! /* #undef STACK_DIRECTION */
!
! /* Define if you have the ANSI C header files. */
! #define STDC_HEADERS 1
!
! /* Define if you don't have dirent.h, but have sys/dir.h. */
! #define SYSDIR 1
!
! /* Define if you don't have dirent.h, but have sys/ndir.h. */
! /* #undef SYSNDIR */
!
! /* Define if the closedir function returns void instead of int. */
! /* #undef VOID_CLOSEDIR */
! /* can the result of ntohl be passed to inet_ntoa() without casts ? */
! #undef NTOHL_MATCHES_INET_NTOA
!
! /* Is the library function inet_ntoa() compatible with the compiler ? */
! #define INET_NTOA_OK 1
!
! /* The following values must be evaluable by the preprocessor */
! #define SIZEOF_P_INT 4
! #define SIZEOF_INT 4
! #define SIZEOF_LONG 4
!
! #define RENAME_HANDLES_DIRECTORIES 1
!
! /* Does the system have a getrusage call? */
! #define HAVE_GETRUSAGE 1
! /* If so, is it restricted to user and system time? */
! /* #undef GETRUSAGE_RESTRICTED */
! /* Is it available as a subfunction of syscall() ? */
! /* #undef GETRUSAGE_VIA_SYSCALL */
!
! /* the atari strtol() used to consider characters '9' < c < 'A' to be numeric */
! /* #undef STRTOL_BROKEN */
!
#define MALLOC_ALIGN 4
!
! /* what kind of pointer is used by malloc() et al
! */
! #define POINTER void *
! #define FREE_RETURNS_VOID 1
!
! /* can we define our own malloc() safely? */
! /* #undef SBRK_OK */
/* The following is needed for smalloc without SBRK_OK to use memory
* efficiently. smalloc will malloc blocks that are a large power of
***************
*** 102,151 ****
*/
#define EXTERN_MALLOC_OVERHEAD 8
! #if defined(atarist)
! #ifndef NO_IP_DEMON
! #define NO_IP_DEMON
! #endif
! #endif
!
! #if defined(AMIGA)
! # define NO_IP_DEMON
! # ifndef AMIGA_TCP
! # undef CATCH_UDP_PORT
! # undef UDP_SEND
! # endif
! #endif
!
! #if defined(M_UNIX) || defined(linux)
! #ifndef POSIX
! #define POSIX
! #endif
! #endif
!
! #if defined( NeXT ) || ( defined(sun) && defined(__svr4__) )
! #ifndef INET_NTOA_OK
! #define INET_NTOA_OK
! #endif
! #endif
!
! #ifdef RUSAGE
! #if !defined(solaris)
! #define RUSAGE_TIME(t) ( (t).tv_sec * 1000 + (t).tv_usec / 1000 )
! #else
! #define RUSAGE_TIME(t) ( (t).tv_sec * 1000 + (t).tv_nsec / 1000000 )
! #endif
! #else /* !RUSAGE */
! #undef RUSAGE_RESTRICTED
! #define RUSAGE_RESTRICTED
! #ifdef POSIX
!
! #define RUSAGE_SELF 0
! struct rusage {
! long ru_utime, ru_stime;
! };
! #define RUSAGE_TIME(t) ( (t) * 1000 / sysconf(_SC_CLK_TCK) )
! #endif /* POSIX */
! #endif /* RUSAGE */
#endif /* MACHINE_H */
--- 90,181 ----
*/
#define EXTERN_MALLOC_OVERHEAD 8
! /* How to set a socket non-blocking */
! #define USE_IOCTL_FIONBIO 1
! /* #undef USE_FCNTL_O_NDELAY */
! /* #undef USE_FCNTL_FNDELAY */
!
! /* #undef inline */
!
! /* Define what random number generator to use.
! * If no one is specified, a guaranteed bad one will be used.
! * possible choices: RANDOM DRAND48 RAND
! */
! #define RAND RAND
!
! /* Define if you have _crypt. */
! /* #undef HAVE__CRYPT */
!
! /* Define if you have bzero. */
! #define HAVE_BZERO 1
!
! /* Define if you have crypt. */
! /* #undef HAVE_CRYPT */
!
! /* Define if you have fchmod. */
! /* #undef HAVE_FCHMOD */
!
! /* Define if you have getcwd. */
! #define HAVE_GETCWD 1
!
! /* Define if you have getrusage. */
! #define HAVE_GETRUSAGE 1
!
! /* Define if you have memcpy. */
! #define HAVE_MEMCPY 1
!
! /* Define if you have memmem. */
! /* #undef HAVE_MEMMEM */
!
! /* Define if you have memset. */
! #define HAVE_MEMSET 1
!
! /* Define if you have strchr. */
! #define HAVE_STRCHR 1
!
! /* Define if you have strcspn. */
! #define HAVE_STRCSPN 1
!
! /* Define if you have strrchr. */
! #define HAVE_STRRCHR 1
!
! /* Define if you have the <bstring.h> header file. */
! /* #undef HAVE_BSTRING_H */
!
! /* Define if you have the <libc.h> header file. */
! /* #undef HAVE_LIBC_H */
!
! /* Define if you have the <memory.h> header file. */
! /* #undef HAVE_MEMORY_H */
!
! /* Define if you have the <stdlib.h> header file. */
! #define HAVE_STDLIB_H 1
!
! /* Define if you have the <string.h> header file. */
! #define HAVE_STRING_H 1
!
! /* Define if you have the <sys/rusage.h> header file. */
! /* #undef HAVE_SYS_RUSAGE_H */
!
! /* Define if you have the <sys/time.h> header file. */
! #define HAVE_SYS_TIME_H 1
!
! /* Define if you have the <unistd.h> header file. */
! /* #undef HAVE_UNISTD_H */
!
! /* Define if you have the <values.h> header file. */
! /* #undef HAVE_VALUES_H */
!
! /* Define if you have the m library (-lm). */
! #define HAVE_LIBM 1
!
! /* Define if you have the nsl library (-lnsl). */
! /* #undef HAVE_LIBNSL */
!
! /* Define if you have the socket library (-lsocket). */
! /* #undef HAVE_LIBSOCKET */
! /* Define if you have the ucb library (-lucb). */
! /* #undef HAVE_LIBUCB */
#endif /* MACHINE_H */
diff -c driver/hosts/amiga/patchfloat.h:1.2 driver/hosts/amiga/patchfloat.h:1.3
*** driver/hosts/amiga/patchfloat.h:1.2 Mon Dec 6 21:50:28 1993
--- driver/hosts/amiga/patchfloat.h Mon Dec 6 21:50:28 1993
***************
*** 7,13 ****
# ifdef _DCC
# ifdef _SP_FLOAT
! typedef double float;
# endif
# else /* default */
typedef double float;
--- 7,13 ----
# ifdef _DCC
# ifdef _SP_FLOAT
! typedef double float;
# endif
# else /* default */
typedef double float;