/*
* Copyright (c) 1980 Regents of the University of California.
- * All rights reserved. The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that this notice is preserved and that due credit is given
+ * to the University of California at Berkeley. The name of the University
+ * may not be used to endorse or promote products derived from this
+ * software without specific prior written permission. This software
+ * is provided ``as is'' without express or implied warranty.
*/
-#ifndef lint
-static char *sccsid = "@(#)v7.local.c 5.2 (Berkeley) 6/21/85";
-#endif not lint
+#ifdef notdef
+static char sccsid[] = "@(#)v7.local.c 5.4 (Berkeley) 2/18/88";
+#endif /* notdef */
/*
* Mail -- a mail program
findmail()
{
- register char *cp;
- cp = copy("/usr/spool/mail/", mailname);
- copy(myname, cp);
+ strcpy(copy("/usr/spool/mail/", mailname), myname);
if (isdir(mailname)) {
stradd(mailname, '/');
strcat(mailname, myname);