mail.c (b97fa2ef508bb1cc99621edb8b6d03845b55b8bd) | mail.c (afb033d5c4f01a464f57fe8e68d741246d9df492) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Kenneth Almquist. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 19 unchanged lines hidden (view full) --- 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * | 1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Kenneth Almquist. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 19 unchanged lines hidden (view full) --- 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * |
36 * $Id$ | 36 * $Id: mail.c,v 1.6 1997/02/22 13:58:31 peter Exp $ |
37 */ 38 39#ifndef lint 40static char const sccsid[] = "@(#)mail.c 8.2 (Berkeley) 5/4/95"; 41#endif /* not lint */ 42 43/* 44 * Routines to check for mail. (Perhaps make part of main.c?) --- 22 unchanged lines hidden (view full) --- 67 * nozero, then the value of MAIL has changed, so we just update the 68 * values. 69 */ 70 71void 72chkmail(silent) 73 int silent; 74{ | 37 */ 38 39#ifndef lint 40static char const sccsid[] = "@(#)mail.c 8.2 (Berkeley) 5/4/95"; 41#endif /* not lint */ 42 43/* 44 * Routines to check for mail. (Perhaps make part of main.c?) --- 22 unchanged lines hidden (view full) --- 67 * nozero, then the value of MAIL has changed, so we just update the 68 * values. 69 */ 70 71void 72chkmail(silent) 73 int silent; 74{ |
75 register int i; | 75 int i; |
76 char *mpath; 77 char *p; | 76 char *mpath; 77 char *p; |
78 register char *q; | 78 char *q; |
79 struct stackmark smark; 80 struct stat statb; 81 82 if (silent) 83 nmboxes = 10; 84 if (nmboxes == 0) 85 return; 86 setstackmark(&smark); --- 32 unchanged lines hidden --- | 79 struct stackmark smark; 80 struct stat statb; 81 82 if (silent) 83 nmboxes = 10; 84 if (nmboxes == 0) 85 return; 86 setstackmark(&smark); --- 32 unchanged lines hidden --- |