*** empty log message ***
authorceriel <none@none>
Mon, 23 Feb 1987 14:22:16 +0000 (14:22 +0000)
committerceriel <none@none>
Mon, 23 Feb 1987 14:22:16 +0000 (14:22 +0000)
modules/src/em_code/Makefile
modules/src/em_code/em_code.3X
modules/src/em_code/make.fun

index 4aeca13..88fe5d1 100644 (file)
@@ -17,11 +17,11 @@ compare:    all
 em_code.3:     em_code.3X
                tbl < em_code.3X > em_code.3
 
-libeme.a:      make.sh e/em_private.h e/em.c
+libeme.a:      make.sh e/em_private.h e/em.c e/C_failed.c
                EMHOME=$(EMHOME); export EMHOME; sh make.sh e
                -sh -c 'ranlib libeme.a'
 
-libemk.a:      make.sh k/em_private.h k/em.c
+libemk.a:      make.sh k/em_private.h k/em.c k/C_failed.c
                EMHOME=$(EMHOME); export EMHOME; sh make.sh k
                -sh -c 'ranlib libemk.a'
 
index 37a5464..0e11895 100644 (file)
@@ -408,13 +408,15 @@ Informatica Rapport IR-81, Vrije Universiteit, Amsterdam, 1983.
 .SH DIAGNOSTICS
 .I C_open
 returns 1 if the open is successful and 0 if not.
-The other routines do not give any information about their completion.
+.PP
+When a write fails, the routine
+.I C_failed
+is called. The user can override its default definition by supplying his
+own. The default just gives an error message and quits.
 .SH BUGS
-.IP \(bu
-Feel free to report them to the author.
-.IP \(bu
 It is not possible to indicate that the argument of
 .B C_con_cst ()
 must be seen as an unsigned value.
-.SH AUTHOR
-Erik Baalbergen <erikb@vu44.UUCP>
+.PP
+.I C_failed
+is never called when generating readable EM code.
index 15363c5..3782255 100755 (executable)
@@ -41,6 +41,7 @@ rm -f *.o
 .
 $a
 cc -c -O -I$1 -I$EMHOME/modules/h -I$EMHOME/h $1/em.c
+cc -c -O -I$1 -I$EMHOME/modules/h -I$EMHOME/h $1/C_failed.c
 mv em.o em$1.o
 rm -f libem$1.a
 ar rc libem$1.a *.o