Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rework all non-contributed files that use `struct timezone'. | ed | 2012-09-01 | 1 | -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() | eadler | 2012-05-30 | 1 | -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. | kevlo | 2012-01-13 | 1 | -1/+1 |
| | |||||
* | Touch up some more small typos missed in the previous round. | uqs | 2012-01-05 | 2 | -2/+2 |
| | | | | Reported by: Ben Kaduk <minimarmot@gmail.com> et al. | ||||
* | Spelling fixes for usr.bin/ | uqs | 2011-12-30 | 3 | -3/+3 |
| | |||||
* | In usr.bin/mail/cmd1.c, use the correct printf length modifier for a | dim | 2011-12-17 | 2 | -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. | ed | 2011-12-13 | 2 | -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. | maxim | 2010-12-25 | 1 | -1/+1 |
| | | | | | | PR: docs/153416 Submitted by: Eitan Adler MFC after: 1 week | ||||
* | Add __unused. Ansi prototypes. | charnier | 2010-12-19 | 20 | -470/+204 |
| | |||||
* | Add __unused. Ansi prototypes. | charnier | 2010-12-19 | 1 | -33/+18 |
| | |||||
* | Remove the advertising clause from UCB copyrighted files in usr.bin. This | joel | 2010-12-11 | 29 | -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/doc | uqs | 2010-12-04 | 11 | -2936/+0 |
| | |||||
* | mail(1) misses addresses when replying to all | uqs | 2010-05-27 | 1 | -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. | ed | 2010-03-28 | 1 | -1/+1 |
| | | | | Also remove some local patches to diff(1) which are now unneeded. | ||||
* | Build usr.bin/ with WARNS=6 by default. | ed | 2010-01-02 | 1 | -0/+2 |
| | | | | Also add some missing $FreeBSD$ to keep svn happy. | ||||
* | Rename mail(1)'s aux.c to util.c. | ed | 2009-01-16 | 2 | -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. | dds | 2007-11-08 | 4 | -10/+10 |
| | | | | Found by: CScout | ||||
* | Make function's definition follow its declared visibility. | dds | 2007-11-08 | 1 | -1/+1 |
| | | | | Found by: CScout | ||||
* | o Really commit typo fixes to HEAD. | maxim | 2007-03-25 | 1 | -1/+1 |
| | | | | | PR: docs/110809 Submitted by: naddy | ||||
* | Document the TMPDIR environment variable. | dds | 2006-01-05 | 1 | -1/+3 |
| | | | | MFC after: 1 week | ||||
* | Sync usage screen with manpage. | yar | 2005-10-07 | 1 | -7/+6 |
| | | | | MFC after: 5 days | ||||
* | Document the -d flag to mail(1) better, which comes handy when | yar | 2005-10-07 | 1 | -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 in | cperciva | 2005-08-17 | 1 | -1/+2 |
| | | | | | | these files spuriously changing each time they are built. Also, add $FreeBSD$ tags, because cvs is unhappy otherwise. | ||||
* | Bumped document date. | ru | 2004-05-19 | 1 | -6/+8 |
| | | | | Dealt with hard sentence breaks and whitespace at EOL. | ||||
* | These aren't all binary options. | mikeh | 2004-03-09 | 1 | -1/+1 |
| | |||||
* | Assign checkmode boolean earlier to handle the goto jump. | mikeh | 2004-03-06 | 1 | -1/+1 |
| | | | | Might fix PR bin/63769. | ||||
* | Add the -e (mail presence test), -H (header summary mode), and -F | mikeh | 2004-02-29 | 6 | -14/+183 |
| | | | | | | | | (message save as first recipient) options for standards conformance. Submitted by: Wartan Hachaturow <wart@tepkom.ru> (with some changes) PR: standards/61934 | ||||
* | Remove 2 more unused doc Makefiles. | trhodes | 2003-02-04 | 1 | -11/+0 |
| | |||||
* | The return-path is optional in a headline, therefore don't skip a | mikeh | 2003-01-09 | 1 | -5/+12 |
| | | | | | | | message if it is missing the return-path. PR: bin/40314 (slightly different patch) MFC after: 2 weeks | ||||
* | Correct a few more definitions, capitalize header fields consistently. | mikeh | 2003-01-09 | 1 | -5/+5 |
| | |||||
* | Clarify ~. escape definition, remove duplicate entry, and shorten a | mikeh | 2003-01-09 | 1 | -4/+3 |
| | | | | definition. | ||||
* | Document the ~. and ~? command escapes. | mikeh | 2003-01-09 | 1 | -0/+4 |
| | |||||
* | Replace various spelling with FALLTHROUGH which is lint()able | charnier | 2002-08-25 | 1 | -1/+1 |
| | |||||
* | Drop support for COPY, -c has been the default mode of install(1) | ru | 2002-07-29 | 1 | -1/+1 |
| | | | | | | for a long time now. Approved by: bde | ||||
* | s/${INSTALL} -c/${INSTALL} ${COPY}/ | ru | 2002-07-18 | 1 | -1/+1 |
| | |||||
* | Consistently use FBSDID | obrien | 2002-06-30 | 23 | -46/+46 |
| | |||||
* | Add support for the 'flipr' option per IEEE 1003.1-2001. | mikeh | 2002-06-25 | 2 | -2/+10 |
| | |||||
* | Use strcasestr() instead of reimplementing it. | mikeh | 2002-06-25 | 1 | -45/+18 |
| | |||||
* | Make the 'searchheaders' option behave how it was supposed to. If | mikeh | 2002-06-25 | 3 | -11/+16 |
| | | | | | | 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. | ||||
* | Rearrange a little, specifically: | mikeh | 2002-06-25 | 1 | -86/+131 |
| | | | | | | | | | | - 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 | ||||
* | Use `The .Nm utility' | charnier | 2002-04-20 | 1 | -9/+14 |
| | |||||
* | remove __P | imp | 2002-03-22 | 3 | -219/+216 |
| | |||||
* | #include <sys/time.h> instead of depending on namespace pollution in | bde | 2002-02-25 | 1 | -0/+2 |
| | | | | | <sys/stat.h> for the declaration of struct timeval. Intentionally don't follow the local style of polluting the local headers. | ||||
* | Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. | markm | 2002-02-08 | 1 | -1/+0 |
| | |||||
* | Show arguments of command line options | charnier | 2002-01-22 | 1 | -11/+21 |
| | | | | Reviewed by: ru | ||||
* | Link mail(1) to mailx per POSIX. Mail(1) isn't 100% POSIX compliant, | mikeh | 2002-01-19 | 2 | -4/+7 |
| | | | | | | but it is pretty close. Not objected to by: -standards | ||||
* | mdoc(7) police: oops, forgot about those interim XXX'es. | ru | 2002-01-10 | 1 | -8/+4 |
| | |||||
* | mdoc(7) police: tidy up. | ru | 2002-01-10 | 1 | -212/+237 |
| | |||||
* | Fix comment. | mikeh | 2001-12-23 | 1 | -1/+1 |
| | |||||
* | Add support for ~_, ~x, ~i, ~a, ~A, ~<, and ~r! tilde-escapes. Improve | mikeh | 2001-12-22 | 3 | -27/+138 |
| | | | | | | tilde-escapes documentation. Mostly obtained from: NetBSD |