From: dtrg Date: Fri, 24 Jun 2005 22:08:47 +0000 (+0000) Subject: Replaced references to /usr/tmp with references to /tmp. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=ae25763a4e403083326db0f9258931cea6f1c1b9;p=ack.git Replaced references to /usr/tmp with references to /tmp. --- diff --git a/doc/install.doc b/doc/install.doc index 04dd5814e..fd9dae84a 100644 --- a/doc/install.doc +++ b/doc/install.doc @@ -1084,7 +1084,7 @@ directory "first". Em_path.h also specifies which directory should be used for temporary files. 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 The shape of the tree should not be altered lightly because most Makefiles and the diff --git a/emtest/select.c b/emtest/select.c index fcf1c37dd..8d1f9c6a0 100644 --- a/emtest/select.c +++ b/emtest/select.c @@ -32,9 +32,9 @@ int high = 999; FILE *file1; FILE *file2; FILE *file3; -char name1[] = "/usr/tmp/f1XXXXXX"; -char name2[] = "/usr/tmp/f2XXXXXX"; -char name3[] = "/usr/tmp/f3XXXXXX"; +char name1[] = "/tmp/f1XXXXXX"; +char name2[] = "/tmp/f2XXXXXX"; +char name3[] = "/tmp/f3XXXXXX"; char *to3dig(); diff --git a/first/first b/first/first index 430034daa..0bd2d5c83 100755 --- a/first/first +++ b/first/first @@ -18,14 +18,7 @@ else fi export E_FLAG E_SFX -echo check write-ability of /tmp and /usr/tmp ... -if ( >/usr/tmp/aaax.$$ ) -then - rm /usr/tmp/aaax.$$ -else - echo /usr/tmp must exist and be writable. - exit 2 -fi +echo check write-ability of /tmp ... if ( >/tmp/aaax.$$ ) then rm /tmp/aaax.$$ @@ -33,7 +26,7 @@ else echo /tmp must exist and be writable. exit 2 fi -echo "/tmp and /usr/tmp ok" +echo "/tmp ok" if [ -f macros ] then diff --git a/lang/cem/lint/lpass2/lint b/lang/cem/lint/lpass2/lint index 719cd0ae7..556aabf42 100755 --- a/lang/cem/lint/lpass2/lint +++ b/lang/cem/lint/lpass2/lint @@ -22,8 +22,8 @@ LLIB=${LLIB-"$EMLINT/llib"} # lint libraries directory LINTLIB=${LINTLIB-$LLIB} CLIB=c.llb -TMP=/usr/tmp/lint1.$$ -NEW=/usr/tmp/lint2.$$ +TMP=/tmp/lint1.$$ +NEW=/tmp/lint2.$$ trap "rm -f $TMP $NEW; exit 1" 1 2 15 trap "rm -f $TMP $NEW; exit 0" 0 diff --git a/lang/pc/libpc/opn.c b/lang/pc/libpc/opn.c index 99e24c0c3..83b9ba49f 100644 --- a/lang/pc/libpc/opn.c +++ b/lang/pc/libpc/opn.c @@ -39,7 +39,7 @@ extern int _unlink(); extern long _lseek(); static int tmpfil() { - static char namebuf[] = "/usr/tmp/plf.xxxxx"; + static char namebuf[] = "/tmp/plf.xxxxx"; int i; char *p,*q; i = _getpid(); diff --git a/mach/m68k2/Unisoft_bug b/mach/m68k2/Unisoft_bug index bb217603f..628b4e23e 100644 --- a/mach/m68k2/Unisoft_bug +++ b/mach/m68k2/Unisoft_bug @@ -1,9 +1,9 @@ The following modifications to the file-system are required when installing ACK under UniSoft Unix: -1) Create a writable directory /usr/tmp (if not present already) - mkdir /usr/tmp - chmod 777 /usr/tmp +1) Create a writable directory /tmp (if not present already) + mkdir /tmp + chmod 777 /tmp 2) Install the file "assert.h" in /usr/include (this file is not included in the Unisoft distribution, although it is standard V7 Unix). The file can be copied from the ACK-tree: diff --git a/util/opt/em_opt.6 b/util/opt/em_opt.6 index cfea28809..bdb6587d9 100644 --- a/util/opt/em_opt.6 +++ b/util/opt/em_opt.6 @@ -30,7 +30,7 @@ option. .IP -ml Like -m, but also for long multiplies. .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" ack(1) .PD 0 diff --git a/util/opt/var.c b/util/opt/var.c index 6c45147aa..58c803f03 100644 --- a/util/opt/var.c +++ b/util/opt/var.c @@ -25,7 +25,7 @@ bool repl_longmuls = 0; /* replacing longmuls as well? */ line_p instrs,pseudos; /* pointers to chains */ sym_p symhash[NSYMHASH]; /* array of pointers to chains */ FILE *outfile; -char template[] = "/usr/tmp/emoptXXXXXX"; +char template[] = "/tmp/emoptXXXXXX"; offset wordsize = 0; offset pointersize = 0; char *progname;