home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
games
/
volume11
/
tinymud2
/
sysv_diffs
/
sysv.diffs
< prev
Wrap
Text File
|
1991-04-03
|
5KB
|
189 lines
*** joinspl.sh Mon Mar 4 14:42:29 1991
--- joinspl.sh Mon Jan 28 09:56:47 1991
***************
*** 10,15 ****
#
# build tinymud.ps from its three parts
#
! creating tinymud.ps
cat tinymud.ps.xa? >tinymud.ps
rm tinymud.ps.xa?
--- 10,15 ----
#
# build tinymud.ps from its three parts
#
! echo creating tinymud.ps
cat tinymud.ps.xa? >tinymud.ps
rm tinymud.ps.xa?
*** fifoiface.c Mon Mar 4 14:50:01 1991
--- fifoiface.c Mon Mar 4 14:50:45 1991
***************
*** 16,22 ****
#include <sys/types.h>
#include <sys/file.h>
#include <sys/stat.h>
! #include <sys/select.h>
#include <signal.h>
#include <sys/ioctl.h>
#include <fcntl.h>
--- 16,22 ----
#include <sys/types.h>
#include <sys/file.h>
#include <sys/stat.h>
! #include "fakeselect.h"
#include <signal.h>
#include <sys/ioctl.h>
#include <fcntl.h>
***************
*** 178,187 ****
fd_set r, w, x;
if (timeout) sec=timeout->tv_sec+(timeout->tv_usec+500)/1000;
! r= *rfds; w= *wfds; x= *xfds;
while(1) {
! *rfds=r; *wfds=w; *xfds=x;
for(maxfd=fd=0;fd<maxd;++fd) {
if(FD_ISSET(fd,rfds)) {
if (stat(fifonames[fd],&sbuf) != 0)
--- 178,187 ----
fd_set r, w, x;
if (timeout) sec=timeout->tv_sec+(timeout->tv_usec+500)/1000;
! r= *rfds; w= *wfds;
while(1) {
! *rfds=r; *wfds=w;
for(maxfd=fd=0;fd<maxd;++fd) {
if(FD_ISSET(fd,rfds)) {
if (stat(fifonames[fd],&sbuf) != 0)
*** rename.c Mon Mar 4 14:43:45 1991
--- rename.c Mon Feb 4 09:51:21 1991
***************
*** 8,14 ****
char buf[1024];
int n;
(void)unlink(new);
! if (link(old, new) == -1 && errno != EXDEV)
return(-1);
if((fd1=open(old,0)) == -1)
return(-1);
--- 8,18 ----
char buf[1024];
int n;
(void)unlink(new);
! if (link(old, new) == 0) {
! unlink(old);
! return 0;
! }
! else if (errno != EXDEV)
return(-1);
if((fd1=open(old,0)) == -1)
return(-1);
*** Makefile Mon Mar 4 14:44:17 1991
--- Makefile Wed Feb 6 09:54:21 1991
***************
*** 9,16 ****
# GCC:
CC=gcc
! OPTIM= -g -W -Wreturn-type -Wunused -Wcomment -Wwrite-strings
! OPTIM= -W -Wreturn-type -Wunused -Wcomment -Wwrite-strings
# Systems with 'cc' built from GCC (IBM RT, NeXT):
#CC=cc
--- 9,17 ----
# GCC:
CC=gcc
! #OPTIM= -g -W -Wreturn-type -Wunused -Wcomment -Wwrite-strings
! OPTIM= -O -W -Wreturn-type -Wunused -Wcomment -Wwrite-strings -s
! LIBS= -lc_s
# Systems with 'cc' built from GCC (IBM RT, NeXT):
#CC=cc
***************
*** 74,80 ****
DEFS= -DGOD_PRIV -DCOMPRESS -DQUIET_WHISPER -DGENDER -UHOST_NAME \
-DCONNECT_MESSAGES -DPLAYER_LIST -DDETACH -DROBOT_MODE \
! -DRECYCLE -DTINKER -DNOFAKES -UISLANDIA -DDEBUG
CFLAGS= $(OPTIM) $(DEFS)
--- 75,82 ----
DEFS= -DGOD_PRIV -DCOMPRESS -DQUIET_WHISPER -DGENDER -UHOST_NAME \
-DCONNECT_MESSAGES -DPLAYER_LIST -DDETACH -DROBOT_MODE \
! -DRECYCLE -DTINKER -DNOFAKES -UISLANDIA -DDEBUG -DDB_DOUBLING \
! -DDB_INITIAL_SIZE=1000
CFLAGS= $(OPTIM) $(DEFS)
***************
*** 119,125 ****
$(CC) $(CFLAGS) -o netmud.conc interface.o $(OFILES)
fifonetmud: $P fifoiface.o $(OFILES)
! $(CC) $(CFLAGS) -o $@ fifoiface.o $(OFILES)
match.h: copyright.h db.h
netmud: $P oldinterface.o $(OFILES)
-mv -f netmud netmud~
--- 121,127 ----
$(CC) $(CFLAGS) -o netmud.conc interface.o $(OFILES)
fifonetmud: $P fifoiface.o $(OFILES)
! $(CC) $(CFLAGS) -o $@ fifoiface.o $(OFILES) $(LIBS)
match.h: copyright.h db.h
netmud: $P oldinterface.o $(OFILES)
-mv -f netmud netmud~
***************
*** 131,153 ****
dump: $P dump.o unparse.o $(DBOFILES)
-rm -f dump
! $(CC) $(CFLAGS) -o dump dump.o unparse.o $(DBOFILES)
sanity-check: $P sanity-check.o utils.o $(DBOFILES)
-rm -f sanity-check
! $(CC) $(CFLAGS) -o sanity-check sanity-check.o utils.o $(DBOFILES)
extract: $P extract.o utils.o $(DBOFILES)
-rm -f extract
! $(CC) $(CFLAGS) -o extract extract.o utils.o $(DBOFILES)
paths: $P paths.o unparse.o $(DBOFILES)
-rm -f paths
! $(CC) $(CFLAGS) -o paths paths.o unparse.o $(DBOFILES)
decompress: $P decompress.o compress.o
-rm -f decompress
! $(CC) $(CFLAGS) -o decompress decompress.o compress.o
clean:
-rm -f *.o a.out core gmon.out $(OUTFILES)
--- 133,155 ----
dump: $P dump.o unparse.o $(DBOFILES)
-rm -f dump
! $(CC) $(CFLAGS) -o dump dump.o unparse.o $(DBOFILES) $(LIBS)
sanity-check: $P sanity-check.o utils.o $(DBOFILES)
-rm -f sanity-check
! $(CC) $(CFLAGS) -o sanity-check sanity-check.o utils.o $(DBOFILES) $(LIBS)
extract: $P extract.o utils.o $(DBOFILES)
-rm -f extract
! $(CC) $(CFLAGS) -o extract extract.o utils.o $(DBOFILES) $(LIBS)
paths: $P paths.o unparse.o $(DBOFILES)
-rm -f paths
! $(CC) $(CFLAGS) -o paths paths.o unparse.o $(DBOFILES) $(LIBS)
decompress: $P decompress.o compress.o
-rm -f decompress
! $(CC) $(CFLAGS) -o decompress decompress.o compress.o $(LIBS)
clean:
-rm -f *.o a.out core gmon.out $(OUTFILES)