| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
use .Mt to mark up email addresses consistently (part1)
PR: 191174
Submitted by: Franco Fichtner <franco at lastsummer.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r299484 | cem | 2016-05-11 15:04:28 -0700 (Wed, 11 May 2016) | 13 lines
random(6): Fix double-close
In the case where a file lacks a trailing newline, there is some "evil" code to
reverse goto the tokenizing code ("make_token") for the final token in the
file. In this case, 'fd' is closed more than once. Use a negative sentinel
value to guard close(2), preventing the double close.
Ideally, this code would be restructured to avoid this ugly construction.
r301574 | truckman | 2016-06-07 19:14:05 -0700 (Tue, 07 Jun 2016) | 15 lines
Fix a (false positive?) Argument cannot be negative coverity defect.
Rather than guarding close(fd) with an fd >= 0 test and setting fd
to -1 when it is closed to avoid a potential double-close, just
move the close() call after the conditional "goto make_token". This
moves the close() call totally outside the loop to avoid the
possibility of calling it twice. This should also prevent a Coverity
warning about checking fd for validity after it was previously passed
to read().
Reported by: Coverity
CID: 1006123, 1355335
|
|
|
|
|
|
|
|
|
| |
Avoid buffer overflow when copying the input file name and appending .dat.
Check the return value from fread() to be sure that it was successful.
Reported by: Coverity
CID: 1006709, 1009452
|
|
|
|
|
|
|
| |
PM starts at 12:00, not 13:00.
PR: 194291, 200133
Submitted by: Nick Price
|
|
|
|
|
|
|
| |
Update the freebsd-tips example to use drill instead of dig since bind is no longer in base
Approved by: eadler (mentor, implicit)
Sponsored by: ScaleEngine Inc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r264400:
NO_MAN= has been deprecated in favor of MAN= for some time, go ahead
and finish the job. ncurses is now the only Makefile in the tree that
uses it since it wasn't a simple mechanical change, and will be
addressed in a future commit.
r265836:
Remove last two NO_MAN= in the tree. In both of these cases, MAN= is
what is needed.
|
|
|
|
|
|
|
|
| |
fortune(8): Search fortune files installed by ports/packages as well as
those supplied by the base system.
PR: 191800
Submitted by: Andy Kosela
|
|
|
|
|
|
|
|
| |
Fix equation and limerick to be correct. NetBSD fixed this 14 years ago
(src/games/fortune/datfiles/fortunes2 1.7).
PR: 188714
Submitted by: ksmakoto dd.iij4u.or.jp
|
|
|
|
| |
This is "make tinderbox" clean.
|
|
|
|
|
| |
Remove "Warning: file \"%s\" unreadable". It was introduced with revision
44599 and turned less than useful ever since fortunes-o.dat got removed.
|
|
|
|
| |
Fix r203922 for "fortune -o".
|
|
|
|
|
| |
Reviewed by: bapt
Approved by: re (hrs)
|
|
|
|
|
|
|
|
| |
ports tree in r313427.
PR: 177012
Submitted by: Kevin Zheng <kevinz5000@gmail.com>
Approved by: bcr (mentor)
|
|
|
|
|
|
|
|
|
|
|
| |
belong in this file is not a useful exercise or conducive to producing a
high quality advanced operating system.
While here, simplify the make rules to autocompute BLDS and FILES from a
single DB variable.
Approved by: core
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The words "old than" seem to be quoted as "older than" by some sources,
so use the more likely and grammatically correct text.
PR: docs/173868
Submitted by: Chris Petrik <c.petrik.sosa@gmail.com>
Approved by: cperciva
MFC after: 1 week
|
| |
|
|
|
|
|
|
| |
*not* a boolean).
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
| |
of a compile time option.
While here, don't differ based on the existence of LOCK_EX
which doesn't seem to have ever made a difference on FreeBSD.
Approved by: cperciva (from discussion)
MFC after: 3 days
|
|
|
|
|
| |
Approved by: cperciva (from discussion)
MFC after: 3 days
|
|
|
|
|
|
| |
Submitted by: many
Approved by: cperciva (implicit)
MFC after: 3 days
|
|
|
|
|
|
|
|
|
| |
warning.
PR: ports/172566
Submitted by: Erik Cederstrand <erik@cederstrand.dk>
Approved by: cperciva
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
| |
caesar isn't installed setuid.
For the archaeologists:
it seems this call originally came from NetBSD PR 5970 and 5945
PR: 172566
Submitted by: Erik Cederstrand <erik@cederstrand.dk>
Approved by: cperciva
MFC after: 3 days
|
|
|
|
| |
Approved by: cperciva
|
|
|
|
|
| |
Approved by: cperciva
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
Add a tip about clearing the screen.
Make things more consistent by removing quotes around 'make search'
Approved by: cperciva
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
|
| |
newbie-friendly.
Requested by: jhb, gcooper
Approved by: cperciva (implicit)
MFC after: 3 days
X-MFC-With: r235209
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
| |
Disussed with: gavin
No objection from: doc
Approved by: joel
MFC after: 3 days
|
|
|
|
|
|
| |
PR: bin/164570
Submitted by: Klaus Aehlig
MFC after: 1 week
|
|
|
|
|
|
| |
No changes in resulting object file. Moved user-visible symbols into
comment table, so you can see all chars, not just the ones matching your
(fallback) locale.
|
|
|
|
|
|
|
|
|
|
| |
The index() and rindex() functions were marked LEGACY in the 2001
revision of POSIX and were subsequently removed from the 2008 revision.
The strchr() and strrchr() functions are part of the C standard.
This makes the source code a lot more consistent, as most of these C
files also call into other str*() routines. In fact, about a dozen
already perform strchr() calls.
|
|
|
|
|
|
|
|
|
|
|
| |
Francois de La Rochefoucauld introduced in r228909 [1],[2]
2. Change c-cedilla introduced in the same commit to ASCII c since
non-UTF-8 terminals will choke on the non-ASCII text. [2],[3]
Pointed out by: bf [1]
Reviewed by: French-speakers on #bsdcode [2]
Requested by: uqs [3]
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fortunes, but occasionally remove them from the other 2 files when
they are not offensive, or not murphy'ish enough.
Where the version in fortunes had better attribution and/or formatting,
copy it over.
2. Fix a few typos
3. Use the full name of François De La Rochefoucauld, fix one of his
quotes, and remove the duplicate of it.
|
|
|
|
|
|
| |
a literal.
MFC after: 1 week
|
|
|
|
|
| |
This allows us to detect unused functions and variables and allows the
compiler to do a better job at optimisation.
|
|
|
|
|
|
|
|
| |
Our copy was a bastardization of the "older" (probably original?) and
shorter version of the poem; and the "newer" version that is better
known, and arguably more popular. Standardize on the latter.
Cf. http://www.bartleby.com/73/2099.html
|
| |
|
|
|
|
| |
copyright section and will not require UTF-8 for fortune(6).
|
|
|
|
|
|
|
| |
While here, drop words in the spelling files that are no longer used
anywhere.
Speling errors found via: codespell from Lucas De Marchi
|
| |
|
|
|
|
|
|
|
|
|
|
| |
infrastructure to use it. make distributeworld can now be used without
preparing its environment first and installs games into its distribution
using the regular make distribute logic instead of post-processing with
a script.
Also add two new targets, packageworld and packagekernel, that tar up the
results of distributeworld and distributekernel (also new), respectively.
|
|
|
|
|
| |
PR: bin/137702
MFC after: 3 days
|
|
|
|
| |
Coverity Prevent: CID 4862, 8771, 8772, 8773
|
|
|
|
|
|
| |
for the source code.
Discussed with: core
|
|
|
|
| |
They have no effect when coming in pairs, or before .Bl/.Bd
|
|
|
|
|
|
| |
Suggested by: wilko
Approved by: Thomas Ptacek
Security: New parents often feel very insecure.
|
|
|
|
|
|
| |
says about this game... This move also makes more sense...
MFC after: 1 week
|