-/* $OpenBSD: main.c,v 1.27 2015/10/10 14:23:47 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.28 2016/07/27 20:53:47 tedu Exp $ */
/* $NetBSD: main.c,v 1.5 1996/03/19 03:21:38 jtc Exp $ */
/*
size_t len;
char *tmpdir;
- if ((tmpdir = getenv("TMPDIR")) == NULL || *tmpdir == '\0')
- tmpdir = _PATH_TMP;
+ tmpdir = _PATH_TMP;
len = strlen(tmpdir);
if (tmpdir[len - 1] == '/')
-.\" $OpenBSD: yacc.1,v 1.31 2015/09/09 21:23:31 schwarze Exp $
+.\" $OpenBSD: yacc.1,v 1.32 2016/07/27 20:53:47 tedu Exp $
.\"
.\" Copyright (c) 1989, 1990 The Regents of the University of California.
.\" All rights reserved.
.\"
.\" from: @(#)yacc.1 5.7 (Berkeley) 7/30/91
.\"
-.Dd $Mdocdate: September 9 2015 $
+.Dd $Mdocdate: July 27 2016 $
.Dt YACC 1
.Os
.Sh NAME
be written to the file
.Pa y.output .
.El
-.Sh ENVIRONMENT
-.Bl -tag -width TMPDIR
-.It Ev TMPDIR
-Name of directory where temporary files are to be created.
-.El
.Sh TABLES
The names of the tables generated by this version of
.Nm
though its presence is optional.
.Pp
The flags
-.Op Fl or ,
-as well as the environment variable
-.Ev TMPDIR ,
+.Op Fl or
are extensions to that specification.
.Sh HISTORY
.Nm