summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail
Commit message (Collapse)AuthorAgeFilesLines
* MFC r313659-r313673bapt2017-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r313659: Remove space at and of line Reported by: make manlint MFC after: 2 days r313660: Remove empty Li Reported by: make manlint MFC after: 2 days r313661: Escape Ss to avoid confusion by mdoc parser with the Ss macro Reported by: make manlint MFC after: 2 days r313662: Add missing -width after -Bl -tag Reported by: make manlint MFC after: 2 days r313663: Add missing section after .Xr reference r313664: Escape No to avoid confusion with the No macro r313665: Remove useless .Pp after the .Sh macro and remove empty line r313666: Remove empty space at EOL and escept Ed r313667: Remove spaces at EOL and sort correctly the SEE ALSO section r313668: Add missing section in manpage reference r313669: Properly use .An macro before Authors name r313670: Escape Sm to avoid confusion with Sm macro r313671: Use correct date format r313672: Remove useless Li macro r313673: Remove spaces at end of line Reported by: make manlint
* MFC r312663: When creating record file, use umask 077 instead of the default.delphij2017-02-061-1/+6
|
* MFC r312664: Always initialize 'c'.delphij2017-02-061-1/+1
|
* MFC r302911:pfg2016-07-252-2/+6
| | | | | | | mail(1): Avoid closing negative file descriptors. CID: 1008105, 1008106 Approved by: re (gjb)
* MFC r302542:delphij2016-07-251-2/+2
| | | | | | Use _PATH_DEVNULL instead of hardcoding. Approved by: re (kib)
* MFC r302511, r302771, r302845:pfg2016-07-172-4/+8
| | | | | | mail(1): check for out of memory conditions when calling calloc(3). Approved by: re (gjb)
* Always return either a dynamically allocated string or NULL fromtruckman2016-05-131-2/+2
| | | | | | | | | | expand(). Never return the name parameter, which could be a the buf[] buffer which is allocated on the stack by getdeadletter() and which would then be used after getdeadletter() has returned. Reported by: Coverity CID: 1199383 MFC after: 1 week
* mail: Don't truncate mtime of mailbox to microseconds.jilles2016-04-171-9/+9
|
* Fix naive use of ftell(3).pfg2016-02-161-1/+1
| | | | Secure coding practices, FIO19-C.
* Add META_MODE support.sjg2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge from head@274682sjg2014-11-191-1/+1
| |\
| * | Updated dependenciessjg2014-05-161-1/+0
| | |
| * | Updated dependenciessjg2014-05-101-0/+2
| | |
| * | Merge from headsjg2013-09-051-1/+1
| |\ \
| * \ \ sync from headsjg2013-04-121-2/+2
| |\ \ \
| * | | | Updated dependenciessjg2013-03-111-0/+1
| | | | |
| * | | | Updated dependenciessjg2013-02-161-2/+0
| | | | |
| | | | |
| | \ \ \
| *-. \ \ \ Sync from headsjg2012-11-041-1/+1
| |\ \ \ \ \
| * | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+19
| | |/ / / / | |/| | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | Add const to the copyright variablebapt2015-06-062-2/+2
| |_|_|_|/ |/| | | | | | | | | | | | | | Bump WARNS to level 2
* | | | | Always check the limits of array index variables before using them.pfg2014-08-211-1/+1
| |_|_|/ |/| | | | | | | | | | | | | | | Obtained from: DragonFlyBSD MFC after: 1 week
* | | | Remove unnecessary cast to pid_t.kevlo2013-07-041-1/+1
| |_|/ |/| |
* | | Fix undefined behaviour in usr.bin/mail/util.c.dim2013-02-151-2/+2
| |/ |/| | | | | | | Reported by: deeptech71@gmail.com MFC after: 3 days
* | Rework all non-contributed files that use `struct timezone'.ed2012-09-011-1/+1
|/ | | | | | | | | | | | | | This structure is not part of POSIX. According to POSIX, gettimeofday() has the following prototype: int gettimeofday(struct timeval *restrict tp, void *restrict tzp); Also, POSIX states that gettimeofday() shall return 0 (as long as tzp is not used). Remove dead error handling code. Also use NULL for a nul-pointer instead of integer 0. While there, change all pieces of code that only use tv_sec to use time(3), as this provides less overhead.
* Fix likely race condition if wait_child() is interrupted by sigchild()eadler2012-05-301-1/+3
| | | | | | | PR: bin/102834 Submitted by: Andreas Longwitz <longwitz@incore.de> Approved by: cperciva MFC after: 2 weeks
* fgets(3) returns a pointer, so compare against NULL, not integer 0.kevlo2012-01-131-1/+1
|
* Touch up some more small typos missed in the previous round.uqs2012-01-052-2/+2
| | | | Reported by: Ben Kaduk <minimarmot@gmail.com> et al.
* Spelling fixes for usr.bin/uqs2011-12-303-3/+3
|
* In usr.bin/mail/cmd1.c, use the correct printf length modifier for adim2011-12-172-2/+2
| | | | | | ptrdiff_t. In usr.bin/mail/main.c, cast a field width to int. MFC after: 1 week
* Replace __const by const in all non-contributed source code.ed2011-12-132-2/+2
| | | | | | 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.
* o Fix -u flag description: it takes a username as an argument.maxim2010-12-251-1/+1
| | | | | | PR: docs/153416 Submitted by: Eitan Adler MFC after: 1 week
* Add __unused. Ansi prototypes.charnier2010-12-1920-470/+204
|
* Add __unused. Ansi prototypes.charnier2010-12-191-33/+18
|
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-1129-116/+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
* Move most of the remaining USD/PSD/SMM papers into share/docuqs2010-12-0411-2936/+0
|
* mail(1) misses addresses when replying to alluqs2010-05-271-3/+4
| | | | | | | | | | | | | | | There's a parsing error for fields where addresses are not separated by space. This is often produced by MS Outlook, eg.: Cc: <foo@bar.com>,"Mr Foo" <foo@baz.com> The following line now splits into the right tokens: Cc: f@b.com,z@y.de, <a@a.de>,<c@c.de>, "foo" <foo>,"bar" <bar> PR: bin/131861 Submitted by: Pete French <petefrench at ticketswitch.com> Tested by: Pete French Reviewed by: mikeh MFC after: 2 weeks
* Change all our own code to use st_*tim instead of st_*timespec.ed2010-03-281-1/+1
| | | | Also remove some local patches to diff(1) which are now unneeded.
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-0/+2
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* Rename mail(1)'s aux.c to util.c.ed2009-01-162-2/+2
| | | | | | | | The name `aux' is reserved on Windows file systems. aux.c in the mail(1) directory contains some random utility functions. I'm renaming this file to util.c to make it possible to check out this directory on Windows. MFC after: 1 month
* Use static storage-class specifier where appropriate.dds2007-11-084-10/+10
| | | | Found by: CScout
* Make function's definition follow its declared visibility.dds2007-11-081-1/+1
| | | | Found by: CScout
* o Really commit typo fixes to HEAD.maxim2007-03-251-1/+1
| | | | | PR: docs/110809 Submitted by: naddy
* Document the TMPDIR environment variable.dds2006-01-051-1/+3
| | | | MFC after: 1 week
* Sync usage screen with manpage.yar2005-10-071-7/+6
| | | | MFC after: 5 days
* Document the -d flag to mail(1) better, which comes handy whenyar2005-10-071-6/+15
| | | | | | | | | you want to see, e.g., sendmail arguments mail(1) will use. -H is not an independent flag, it's a modifier. Also explicitly say that -H will cause mail(1) to exit as soon as it prints the headers. MFC after: 5 days
* Remove the dates from these files. They serve no purpose and result incperciva2005-08-171-1/+2
| | | | | | these files spuriously changing each time they are built. Also, add $FreeBSD$ tags, because cvs is unhappy otherwise.
* Bumped document date.ru2004-05-191-6/+8
| | | | Dealt with hard sentence breaks and whitespace at EOL.
* These aren't all binary options.mikeh2004-03-091-1/+1
|
* Assign checkmode boolean earlier to handle the goto jump.mikeh2004-03-061-1/+1
| | | | Might fix PR bin/63769.
OpenPOWER on IntegriCloud