ar, ranlib docs wrong under ultrix 4.0

Mike Olson mao at postgres.Berkeley.EDU
Thu Oct 18 06:57:58 AEST 1990


we just installed ultrix 4.0 on a few of our decstation 3100's here.
the documentation for ar claims that temporary files are located as
follows:
						  ...   If the l
	option is not used then the value of the environment symbol,
	TMPDIR, is used as the directory for temporary files.  If
	TMPDIR is not defined or if the directory it references is
	not writable then /tmp is used.

in fact TMPDIR is never examined; files are put in /tmp regardless of the
setting of environment variables.  documentation for ranlib claims that

				...   The ranlib command uses ar(1) to
	reconstruct the archive, so that sufficient temporary file space
	must be available in the file system which contains the current
	directory.

again, this is wrong; ar called via ranlib puts temporary files in /tmp.
this one is easy to fix -- just edit /usr/bin/ranlib (it's a shell script)
and change 'ar ts' to 'ar lts'.
					mike olson
					postgres research group
					uc berkeley
					mao at postgres.berkeley.edu



More information about the Comp.unix.ultrix mailing list