| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Always check the limits of array index variables before using them.
Obtained from: DragonFlyBSD
|
| |
|
|
|
|
|
| |
Reported by: deeptech71@gmail.com
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
PR: bin/102834
Submitted by: Andreas Longwitz <longwitz@incore.de>
Approved by: cperciva
MFC after: 2 weeks
|
| |
|
|
|
|
| |
Reported by: Ben Kaduk <minimarmot@gmail.com> et al.
|
| |
|
|
|
|
|
|
| |
ptrdiff_t. In usr.bin/mail/main.c, cast a field width to int.
MFC after: 1 week
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
PR: docs/153416
Submitted by: Eitan Adler
MFC after: 1 week
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Also remove some local patches to diff(1) which are now unneeded.
|
|
|
|
| |
Also add some missing $FreeBSD$ to keep svn happy.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Found by: CScout
|
|
|
|
| |
Found by: CScout
|
|
|
|
|
| |
PR: docs/110809
Submitted by: naddy
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
MFC after: 5 days
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
these files spuriously changing each time they are built.
Also, add $FreeBSD$ tags, because cvs is unhappy otherwise.
|
|
|
|
| |
Dealt with hard sentence breaks and whitespace at EOL.
|
| |
|
|
|
|
| |
Might fix PR bin/63769.
|
|
|
|
|
|
|
|
| |
(message save as first recipient) options for standards
conformance.
Submitted by: Wartan Hachaturow <wart@tepkom.ru> (with some changes)
PR: standards/61934
|
| |
|
|
|
|
|
|
|
| |
message if it is missing the return-path.
PR: bin/40314 (slightly different patch)
MFC after: 2 weeks
|
| |
|
|
|
|
| |
definition.
|
| |
|
| |
|
|
|
|
|
|
| |
for a long time now.
Approved by: bde
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
enabled, the string '/to:y' will match strings in the To, Cc, and Bcc
header fields. Whereas, '/To:y' will match only the To field. Edit the
manpage and a code comment to indicate the correct behavior.
|
|
|
|
|
|
|
|
|
|
| |
- removed "Option string values" section and divided up amongst mail
options and environment section
- expanded environment section
- rearranged mail options
- added default values to the mail options for clarification
Reviewed by: ru
|
| |
|
| |
|
|
|
|
|
| |
<sys/stat.h> for the declaration of struct timeval. Intentionally
don't follow the local style of polluting the local headers.
|
| |
|
|
|
|
| |
Reviewed by: ru
|
|
|
|
|
|
| |
but it is pretty close.
Not objected to by: -standards
|
| |
|