summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail/cmd2.c
Commit message (Collapse)AuthorAgeFilesLines
* Consistently use FBSDIDobrien2002-06-301-2/+2
|
* Add (unsigned char) cast to ctype macrosache2001-12-191-3/+3
| | | | | | | 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.
* Cleanup mail(1)'s varying styles by converting to using style(9).mikeh2001-05-271-77/+77
| | | | | | | | | 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-9/+13
| | | | | | | | | | | | | | | | 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)
* vfork -> fork. The child calls abort(), which calls stdio.bde1998-10-101-1/+1
|
* Many places in the code NULL is used in integer context, wherephk1997-09-181-13/+13
| | | | | | | | | 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>
* Renamed undelete() to undelete_messages() to avoid conflict with newbde1997-04-141-1/+1
| | | | | | undelete() syscall. Submitted by: partly by roberto
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+530
OpenPOWER on IntegriCloud