/usr/adm/tracct -> _PATH_TRACCT (/var/account/tracct)
authorCynthia A. E. Livingston <cael@ucbvax.Berkeley.EDU>
Sat, 2 Mar 1991 07:38:05 +0000 (23:38 -0800)
committerCynthia A. E. Livingston <cael@ucbvax.Berkeley.EDU>
Sat, 2 Mar 1991 07:38:05 +0000 (23:38 -0800)
SCCS-vsn: old/roff/common_source/n1.c 4.11
SCCS-vsn: old/roff/common_source/pathnames.h 5.3

usr/src/old/roff/common_source/n1.c
usr/src/old/roff/common_source/pathnames.h

index 9145d0a..2c4b6d3 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)n1.c       4.10 %G%";
+static char sccsid[] = "@(#)n1.c       4.11 %G%";
 #endif lint
 
 #include "tdef.h"
 #endif lint
 
 #include "tdef.h"
@@ -334,7 +334,7 @@ kcatch(){
 }
 #ifndef NROFF
 acctg() {
 }
 #ifndef NROFF
 acctg() {
-       static char *acct_file = "/usr/adm/tracct";
+       static char *acct_file = _PATH_TRACCT;
        acctf = open(acct_file,1);
        setuid(getuid());
 }
        acctf = open(acct_file,1);
        setuid(getuid());
 }
index 3c9066e..44e7bfe 100644 (file)
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- *     @(#)pathnames.h 5.2 (Berkeley) %G%
+ *     @(#)pathnames.h 5.3 (Berkeley) %G%
  */
 
 #define        _PATH_TMAC              "/usr/share/tmac/tmac."
 #define        _PATH_LOCAL_TMAC        "/usr/local/lib/tmac/tmac."
 #define        _PATH_TERM              "/usr/libdata/term/tab"
  */
 
 #define        _PATH_TMAC              "/usr/share/tmac/tmac."
 #define        _PATH_LOCAL_TMAC        "/usr/local/lib/tmac/tmac."
 #define        _PATH_TERM              "/usr/libdata/term/tab"
+#define        _PATH_TRACCT            "/var/account/tracct"