summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail/lex.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace __const by const in all non-contributed source code.ed2011-12-131-1/+1
| | | | | | As C1X is close to being released, there is no need to wrap around a feature that is already part of C90. Most of these files already use `const' in different placed as well.
* Add __unused. Ansi prototypes.charnier2010-12-191-29/+14
|
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-111-4/+0
| | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson
* Use static storage-class specifier where appropriate.dds2007-11-081-4/+4
| | | | Found by: CScout
* Assign checkmode boolean earlier to handle the goto jump.mikeh2004-03-061-1/+1
| | | | Might fix PR bin/63769.
* Add the -e (mail presence test), -H (header summary mode), and -Fmikeh2004-02-291-5/+14
| | | | | | | | (message save as first recipient) options for standards conformance. Submitted by: Wartan Hachaturow <wart@tepkom.ru> (with some changes) PR: standards/61934
* Consistently use FBSDIDobrien2002-06-301-2/+2
|
* Add (unsigned char) cast to ctype macrosache2001-12-191-5/+5
| | | | | | | ftell->ftello, fseek->fseeko File 'newsize' type int->off_t Add visible (long) cast to fsize() when it called to small one message file and result is assigned to long.
* Sync with most of NetBSD's changes, including:mikeh2001-12-181-11/+55
| | | | | | | | | | | | | | | | | *) Sync with 4.4BSD-Lite2 *) Set usecs for utimes() *) Add 'inc' command and 'autoinc' option that check for new mail manually and automatically, respectively *) Use POSIX signal handling and tty semantics *) Handle long lines correctly when paging messages *) Add ability to explicitly search 'To:' line *) Various manpage cleanups *) Support overriding '~/.mailrc' with $MAILRC *) Support 'askbcc' and 'asksub' options *) Fix various bugs Reviewed by: ru (mail.1) Obtained from: NetBSD
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-131-2/+0
|
* Cleanup mail(1)'s varying styles by converting to using style(9).mikeh2001-05-271-75/+74
| | | | | | | | | Also take a stab at cleaning up BDECFLAGS and convert all uses of NOSTR, NIL, NONE, NOVAR, NOGRP, NOGE to NULL. Also kill 'register' to get diffs somewhat closer to OpenBSD/NetBSD. There are no functional changes however. Reviewed by: nra (visual inspection)
* Merge various changes from OpenBSD and NetBSD.mikeh2001-03-251-34/+25
| | | | | | | | | | | | | | | | o remove panic() in favor of err(3) and use err(3) functions consistently throughout o use stat(2)'s S_IS* macros rather than S_IF* o [r]index -> str[r]chr o convert some static buffers to dynamic ones o use real tempfiles rather than reopening the same templates o rename some functions that clash with libc o convert wait_status from union to int and use wait(2) status macros o fix multiple potential buffer overflows o fix a few comments o add $FreeBSD$ Reviewed by: nra, nectar (earlier version)
* *** empty log message ***kris2000-11-271-1/+1
|
* #include <errno.h> where needed. Kill extern int errno;.imp2000-04-141-1/+2
| | | | Minor warnings in tip corrected.
* Removed debugging cruft.bde1998-10-101-1/+0
| | | | Broken in: previous commit
* PR: bin/8250thepish1998-10-101-1/+2
| | | | protect against buffer overruns in mail temporary files.
* Many places in the code NULL is used in integer context, wherephk1997-09-181-2/+2
| | | | | | | | | plain 0 should be used. This happens to work because we #define NULL to 0, but is stylistically wrong and can cause problems for people trying to port bits of code to other environments. PR: 2752 Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
* '#' is not a comment if a non-space char followjoerg1995-08-151-0/+11
| | | | | | Closes PR # bin/657: mail(1): comments in ~/.ma... Submitted by: wosch@cs.tu-berlin.de (Wolfram Schneider)
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+665
OpenPOWER on IntegriCloud