1) faces 1.5.1 works fine here (at least all things not needing perl)
2) For people w/o memset, in include a patch to add the BZERO flag,
which tells make 'n' cc to use bzero instead of memset (look at end)
3) For Convex 8.1:
Define BZERO in the Makefile
change strchr in file rec.c to index (Rich: I think this should be
handled by NOINDEX)
% echo '#include <ctype.h>' >> faces.h
% make x11 CC=pcc
Ignatios
*** Makefile.dist.orig Mon Apr 22 12:41:41 1991
--- Makefile.dist Mon Apr 22 12:54:41 1991
***************
*** 41,46 ****
--- 41,53 ----
#BACKNAME = /usr/local/sample-background
#BACKGROUND = -DBACKGROUND=\"$(BACKNAME)\"
#------------------------------------------------------------------------
+ # Some systems have no memset, but bzero. Uncomment the following
+ # definition for these systems.
+ # TO ALL FACES PROGRAM DEVELOPERS: this one will break if you use
+ # memset to set to anything nonzero.
+ #
+ #BZERO = -DBZERO
+ #------------------------------------------------------------------------
# Uncomment the following two lines to use the Domain Name Service to
# attempt to convert unqualified hostnames, or hostnames with partial
# domains to fully qualified domain names.
***************
*** 247,253 ****
# Compilation flags and standard macro definitions.
#
CDEFS = $(AUDIO_SUPPORT) $(AUDIO_CMD) \
! $(BACKGROUND) $(DNSLOOKUP) $(DONTSHOWNO) $(DONTSHOWTIME) \
$(DONTSHOWUSER) $(CFACEDIR) $(FMONTYPE) $(INVERT) \
$(NAMEUNKNOWN) $(NEWSINCDIR) $(NISLOOKUP) $(NODOMAINS) \
$(NOINDEX) $(NOSELECT) $(NOUTIME) $(PERIOD) $(PLP) $(RAND) \
--- 254,261 ----
# Compilation flags and standard macro definitions.
#
CDEFS = $(AUDIO_SUPPORT) $(AUDIO_CMD) \
! $(BACKGROUND) $(BZERO) \
! $(DNSLOOKUP) $(DONTSHOWNO) $(DONTSHOWTIME) \
$(DONTSHOWUSER) $(CFACEDIR) $(FMONTYPE) $(INVERT) \
$(NAMEUNKNOWN) $(NEWSINCDIR) $(NISLOOKUP) $(NODOMAINS) \
$(NOINDEX) $(NOSELECT) $(NOUTIME) $(PERIOD) $(PLP) $(RAND) \
*** address.y.orig Mon Apr 22 12:34:14 1991
--- address.y Mon Apr 22 12:40:06 1991
***************
*** 492,499 ****
cp = p;
return(ATOM);
}
!
extern char *memset();
/*
** Create and initialize a new address.
--- 492,502 ----
cp = p;
return(ATOM);
}
! #ifndef BZERO
extern char *memset();
+ #else
+ extern bzero();
+ #endif
/*
** Create and initialize a new address.
***************
*** 505,511 ****
--- 508,518 ----
if ((ap = (Addr *)Amalloc((MALLOCT)sizeof *ap)) == NULL)
nomem();
+ #ifndef BZERO
memset((char *)ap, '\0', sizeof *ap);
+ #else
+ bzero((char *)ap,sizeof *ap);
+ #endif
return(ap);
}
***************
*** 540,546 ****
--- 547,557 ----
if ((dp = (Dom *)Amalloc((MALLOCT)sizeof *dp)) == NULL)
nomem();
+ #ifndef BZERO
memset((char *)dp, '\0', sizeof *dp);
+ #else
+ bzero((char *)dp,sizeof *dp);
+ #endif
dp->top = dp->sub;
return(dp);
}
*** mon.c.orig Mon Apr 22 12:34:04 1991
--- mon.c Mon Apr 22 12:36:19 1991
***************
*** 361,367 ****
--- 361,372 ----
}
if (!buf.st_size) add_face(DISP_ICON, NOMAIL, "") ;
+ #ifndef BZERO
memset((char *) &ubuf, 0, sizeof(ubuf)) ; /* Some systems have extra fields */
+ #else
+ bzero((char *) &ubuf, sizeof(ubuf));
+ #endif
+
ubuf.actime = buf.st_atime ; /* Save for possible reset. */
ubuf.modtime = buf.st_mtime ;