summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail/aux.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace various spelling with FALLTHROUGH which is lint()ablecharnier2002-08-251-1/+1
|
* Consistently use FBSDIDobrien2002-06-301-2/+2
|
* remove __Pimp2002-03-221-1/+1
|
* #include <sys/time.h> instead of depending on namespace pollution inbde2002-02-251-0/+2
| | | | | <sys/stat.h> for the declaration of struct timeval. Intentionally don't follow the local style of polluting the local headers.
* Add (unsigned char) cast to ctype macrosache2001-12-191-2/+2
| | | | | | | 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-3/+3
| | | | | | | | | | | | | | | | | *) 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
* Don't add space after comma unless there was already one (prevents amikeh2001-09-231-4/+4
| | | | | | | | rare overflow). Optimize loop slightly. Don't exit if realloc can't shrink a buffer (just continue and use the larger buffer). Obtained from: OpenBSD MFC after: 2 weeks
* Cleanup mail(1)'s varying styles by converting to using style(9).mikeh2001-05-271-93/+95
| | | | | | | | | 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-112/+33
| | | | | | | | | | | | | | | | 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)
* Use err(3).charnier1997-07-241-2/+2
|
* Eliminated NOFILE. Use the arbitrary (currently identical) limit of 64bde1996-09-281-2/+4
| | | | | | instead (for the input stack size). `mail' was one of the 3 programs in /usr/src that (mis)used NOFILE.
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+705
OpenPOWER on IntegriCloud