Deleted Added
full compact
main.c (228647) main.c (228992)
1/*
2 * Copyright (c) 1980, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 25 unchanged lines hidden (view full) ---

34#endif /* not lint */
35
36#ifndef lint
37#if 0
38static char sccsid[] = "@(#)main.c 8.2 (Berkeley) 4/20/95";
39#endif
40#endif /* not lint */
41#include <sys/cdefs.h>
1/*
2 * Copyright (c) 1980, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 25 unchanged lines hidden (view full) ---

34#endif /* not lint */
35
36#ifndef lint
37#if 0
38static char sccsid[] = "@(#)main.c 8.2 (Berkeley) 4/20/95";
39#endif
40#endif /* not lint */
41#include <sys/cdefs.h>
42__FBSDID("$FreeBSD: head/usr.bin/mail/main.c 228647 2011-12-17 16:30:42Z dim $");
42__FBSDID("$FreeBSD: head/usr.bin/mail/main.c 228992 2011-12-30 11:02:40Z uqs $");
43
44#include "rcv.h"
45#include <fcntl.h>
46#include "extern.h"
47
48/*
49 * Mail -- a mail program
50 *

--- 203 unchanged lines hidden (view full) ---

254 */
255 exit(senderr);
256 }
257
258 if(value("checkmode") != NULL) {
259 if (ef == NULL)
260 ef = "%";
261 if (setfile(ef) <= 0)
43
44#include "rcv.h"
45#include <fcntl.h>
46#include "extern.h"
47
48/*
49 * Mail -- a mail program
50 *

--- 203 unchanged lines hidden (view full) ---

254 */
255 exit(senderr);
256 }
257
258 if(value("checkmode") != NULL) {
259 if (ef == NULL)
260 ef = "%";
261 if (setfile(ef) <= 0)
262 /* Either an error has occured, or no mail */
262 /* Either an error has occurted, or no mail */
263 exit(1);
264 else
265 exit(0);
266 /* NOTREACHED */
267 }
268
269 /*
270 * Ok, we are reading mail.

--- 77 unchanged lines hidden ---
263 exit(1);
264 else
265 exit(0);
266 /* NOTREACHED */
267 }
268
269 /*
270 * Ok, we are reading mail.

--- 77 unchanged lines hidden ---