I suggest that include/local.h define ARCHIVE and UNARCHIVE earlier in the
file along with all the other paths.

Solaris 2.3 compile errors/warnings:

../../lib/asciitime.c: In function `asciitime':
../../lib/asciitime.c:41: warning: passing arg 1 of `localtime' from
incompatible pointer type
../../lib/asciitime.c: In function `Salctime':
../../lib/asciitime.c:66: warning: passing arg 1 of `ctime' from incompatible
pointer type

In file included from ../../lib/../include/nethead.h:29,
                 from ../../lib/hostname.c:25:
/usr/include/netdb.h:190: warning: `MAXHOSTNAMELEN' redefined
../../lib/hostname.c:22: warning: this is the location of the previous
definition

../../lib/username.c: In function `UserName':
../../lib/username.c:36: warning: passing arg 2 of `strncpy' makes pointer from
integer without a cast

../../lib/setenv.c: In function `setenv':
../../lib/setenv.c:50: warning: assignment makes pointer from integer without a
cast
../../lib/setenv.c: In function `initenv':
../../lib/setenv.c:140: warning: assignment makes pointer from integer without
a cast

../../satd/findclient.c: In function `findclient':
../../satd/findclient.c:89: warning: passing arg 4 of `setsockopt' from
incompatible pointer type
../../satd/findclient.c:99: warning: passing arg 4 of `setsockopt' from
incompatible pointer type

../../schedit/schedit.c: In function `main':
../../schedit/schedit.c:80: warning: comparison between pointer and integer
../../schedit/schedit.c:81: warning: comparison between pointer and integer
../../schedit/schedit.c:81: warning: comparison between pointer and integer

../../spp/parse.y: In function `yyparse':
../../spp/parse.y:167: warning: passing arg 1 of `strcmp' makes pointer from
integer without a cast

Makefile:
	INSTALL = ../../install.sh -c [add extra ../]

Make doc: only works in doc/
	$(ADDMAN) is not defined.  For solaris2.3, it needs to be a shell script,
	much as install.sh is.


lib/hostname.c:  getfulldomainname can fail in all attempts.  Put this attempt
at the end as a backstop:

  if (hinfo = hostinfo ("FullHostName"))
	return(hinfo);

	In order to do that, you need earlier in the file:
		#include "ps.h"
		String hostinfo ();

sal/sal.c:  CCompile calls 'cc' directly, even if the right compiler is gcc.

tabedit/tabedit.c:  I needed the following for a mips-dec-ultrix4.2 machine
	#ifundef LOG_ODELAY
	#       define LOG_ODELAY 0
	#endif
	#ifundef LOG_USER  
	#       define LOG_USER LOG_INFO
	#endif

archive/Makefile:  on mips-dec-ultrix4.2, need to be a bit more specific:
	$(INSTALL_PROGRAM) $(srcdir)/archive $(LSAT)/archive
	similarly for unarchive

archive/Makefile:
	it is necessary to give both archive and unarchive execute permission.
	It appears on Solaris that this did not happen (using install.sh)

for osf1:
	lib/stdio_id.c:
		#ifndef __osf__
		#   include <sys/sysmacros.h>
		#endif

	lib/Makefile:
		ARFLAGS = r

	libwhere:/Makefile: cc -g -c y.tab.c needs to have the include directories
	on it, too: -I../../btabread/../include -I../include -I.

Bug fix:
	lib/read.c:
		ReadString (s)
			 String *s;
		{
		  if (!_ReadString ()) { 
			strcpy(*s, "");
			return (0); 
		  } 
		  if (*s)           /* should always be true anyway */
			free (*s);
		  *s = (String) strdup (buf);
		  return (1);
		}

----------- sent above 5 Sep 94 to Harlan

lib/popen.c: was readonly

lib/hostname.c: remove define of MAXHOSTNAMELEN

lib/mtime.c:  need "global.h"
lib/pulllock.c:  "global.h"

BUG: lib/Makefile: strdup.o was missing from OBJ.  Caused malloc/free problems.
To find this problem, I needed to do a lot of work:

mnemosyne is a package for catching malloc/free calls and noticing problems.
I got it from Marcus J. Ranum: mjr@decuac.dec.com.  I can send it to you if you
don't already have it.

	I added in include/global.h:

		/* if we need to track memory problems */
		#ifdef MNEMOSYNE
		#	include "mnemosyne.h"
		#endif

	and in sal/sal.c, start of prolog():
		#ifdef MNEMOSYNE
			Cout1("#include \"%s\"\n",MNEMOSYNE); /* raphael */
		#endif

	The idea is that MNEMOSYNE can be ifdefed to
	"whateverdirectory/mnemosyne.h" if you need to track down memory problems.

	sal/*.[yOc]: make sure "global.h" is included.

	In order to make sure that all agree on important things, I put
	#include "ps.h" in lib/*.[cO].

	in lib/*.c:  since ps.h includes global.h, don't need to include both.

	removed 'typedef char Boolean' from db.h and ps.h, put in global.h.

----------- sent above 9 Sep 94 to Harlan

Sat/*/CVS: removed these directories

