SCCS-vsn: usr.bin/mail/glob.h 5.12
SCCS-vsn: usr.bin/mail/temp.c 5.8
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * @(#)glob.h 5.11 (Berkeley) %G%
+ * @(#)glob.h 5.12 (Berkeley) %G%
FILE *input; /* Current command input file */
char mailname[PATHSIZE]; /* Name of current file */
char prevfile[PATHSIZE]; /* Name of previous file */
FILE *input; /* Current command input file */
char mailname[PATHSIZE]; /* Name of current file */
char prevfile[PATHSIZE]; /* Name of previous file */
-int uid; /* The invoker's user id */
char mailrc[PATHSIZE]; /* Name of startup file */
char deadletter[PATHSIZE]; /* Name of #/dead.letter */
char homedir[PATHSIZE]; /* Path name of home directory */
char mailrc[PATHSIZE]; /* Name of startup file */
char deadletter[PATHSIZE]; /* Name of #/dead.letter */
char homedir[PATHSIZE]; /* Path name of home directory */
-static char sccsid[] = "@(#)temp.c 5.7 (Berkeley) %G%";
+static char sccsid[] = "@(#)temp.c 5.8 (Berkeley) %G%";
#endif /* not lint */
#include "rcv.h"
#endif /* not lint */
#include "rcv.h"
{
register char *cp;
char uname[PATHSIZE];
{
register char *cp;
char uname[PATHSIZE];
mktemp(strcpy(tempMail, "/tmp/RsXXXXXX"));
mktemp(strcpy(tempResid, "/tmp/RqXXXXXX"));
mktemp(strcpy(tempMail, "/tmp/RsXXXXXX"));
mktemp(strcpy(tempResid, "/tmp/RqXXXXXX"));
uid = getuid();
if (username(uid, uname) < 0) {
strcpy(myname, "ubluit");
uid = getuid();
if (username(uid, uname) < 0) {
strcpy(myname, "ubluit");