Replaced references to /usr/tmp with references to /tmp.

This commit is contained in:
dtrg 2005-06-24 22:08:47 +00:00
parent 70ef6fe52e
commit 9bc8c07deb
8 changed files with 14 additions and 21 deletions

View file

@ -1084,7 +1084,7 @@ directory "first".
Em_path.h also specifies which directory should be used for Em_path.h also specifies which directory should be used for
temporary files. temporary files.
Most programs from the Kit do indeed use that directory Most programs from the Kit do indeed use that directory
although some remain stubborn and use /tmp or /usr/tmp. although some remain stubborn and use /tmp.
.LP .LP
The shape of the tree should not be altered lightly because The shape of the tree should not be altered lightly because
most Makefiles and the most Makefiles and the

View file

@ -32,9 +32,9 @@ int high = 999;
FILE *file1; FILE *file1;
FILE *file2; FILE *file2;
FILE *file3; FILE *file3;
char name1[] = "/usr/tmp/f1XXXXXX"; char name1[] = "/tmp/f1XXXXXX";
char name2[] = "/usr/tmp/f2XXXXXX"; char name2[] = "/tmp/f2XXXXXX";
char name3[] = "/usr/tmp/f3XXXXXX"; char name3[] = "/tmp/f3XXXXXX";
char *to3dig(); char *to3dig();

View file

@ -18,14 +18,7 @@ else
fi fi
export E_FLAG E_SFX export E_FLAG E_SFX
echo check write-ability of /tmp and /usr/tmp ... echo check write-ability of /tmp ...
if ( >/usr/tmp/aaax.$$ )
then
rm /usr/tmp/aaax.$$
else
echo /usr/tmp must exist and be writable.
exit 2
fi
if ( >/tmp/aaax.$$ ) if ( >/tmp/aaax.$$ )
then then
rm /tmp/aaax.$$ rm /tmp/aaax.$$
@ -33,7 +26,7 @@ else
echo /tmp must exist and be writable. echo /tmp must exist and be writable.
exit 2 exit 2
fi fi
echo "/tmp and /usr/tmp ok" echo "/tmp ok"
if [ -f macros ] if [ -f macros ]
then then

View file

@ -22,8 +22,8 @@ LLIB=${LLIB-"$EMLINT/llib"} # lint libraries directory
LINTLIB=${LINTLIB-$LLIB} LINTLIB=${LINTLIB-$LLIB}
CLIB=c.llb CLIB=c.llb
TMP=/usr/tmp/lint1.$$ TMP=/tmp/lint1.$$
NEW=/usr/tmp/lint2.$$ NEW=/tmp/lint2.$$
trap "rm -f $TMP $NEW; exit 1" 1 2 15 trap "rm -f $TMP $NEW; exit 1" 1 2 15
trap "rm -f $TMP $NEW; exit 0" 0 trap "rm -f $TMP $NEW; exit 0" 0

View file

@ -39,7 +39,7 @@ extern int _unlink();
extern long _lseek(); extern long _lseek();
static int tmpfil() { static int tmpfil() {
static char namebuf[] = "/usr/tmp/plf.xxxxx"; static char namebuf[] = "/tmp/plf.xxxxx";
int i; char *p,*q; int i; char *p,*q;
i = _getpid(); i = _getpid();

View file

@ -1,9 +1,9 @@
The following modifications to the file-system are required when The following modifications to the file-system are required when
installing ACK under UniSoft Unix: installing ACK under UniSoft Unix:
1) Create a writable directory /usr/tmp (if not present already) 1) Create a writable directory /tmp (if not present already)
mkdir /usr/tmp mkdir /tmp
chmod 777 /usr/tmp chmod 777 /tmp
2) Install the file "assert.h" in /usr/include (this file is not 2) Install the file "assert.h" in /usr/include (this file is not
included in the Unisoft distribution, although it is standard V7 Unix). included in the Unisoft distribution, although it is standard V7 Unix).
The file can be copied from the ACK-tree: The file can be copied from the ACK-tree:

View file

@ -30,7 +30,7 @@ option.
.IP -ml<num> .IP -ml<num>
Like -m<num>, but also for long multiplies. Like -m<num>, but also for long multiplies.
.SH "FILES" .SH "FILES"
/usr/tmp/emopt??????, is used when the -L flag is given only. /tmp/emopt??????, is used when the -L flag is given only.
.SH "SEE ALSO" .SH "SEE ALSO"
ack(1) ack(1)
.PD 0 .PD 0

View file

@ -25,7 +25,7 @@ bool repl_longmuls = 0; /* replacing longmuls as well? */
line_p instrs,pseudos; /* pointers to chains */ line_p instrs,pseudos; /* pointers to chains */
sym_p symhash[NSYMHASH]; /* array of pointers to chains */ sym_p symhash[NSYMHASH]; /* array of pointers to chains */
FILE *outfile; FILE *outfile;
char template[] = "/usr/tmp/emoptXXXXXX"; char template[] = "/tmp/emoptXXXXXX";
offset wordsize = 0; offset wordsize = 0;
offset pointersize = 0; offset pointersize = 0;
char *progname; char *progname;