| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Suggest to use "whereis firefox" instead.
|
|
|
|
|
|
|
|
|
| |
- 'now' only contains current time readings
- delay is only used as parameter to nanosleep
- prev_sec contains the time_t of the previous loop iteration
Submitted by: bde
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous revision was flawed in numerous ways:
- the if condition would depend on garbage stack values
- grdc(6) would loop n times, not n seconds. This only makes
a difference if it takes more than 1 second to recalculate/redraw
the display.
- style(9) violations
The following change adds argument checking and tracks the elapsed time
between loops explicitly and will exit after roughly n seconds.
While here sort headers and remove bogus #ifndef
Submitted by: bde
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
- Keep timespec 'now' and 'delay' separate to avoid confusion
- Increase user-supplied n to run _at least_ n seconds, not max n
PR: bin/149130 (based on)
Submitted by: Andy Farkas
MFC after: 2 weeks
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
| |
PR: docs/148825
Submitted by: Anatoly Borodin
MFC after: 1 week
|
|
|
|
|
| |
PR: docs/148916
Submitted by: Rob Farmer <rfarmer@predatorlabs.net>
|
|
|
|
|
|
| |
PR: bin/51070
Submitted by: Matt Koivisto mkoivisto sandvine com
MFC after: 1 week
|
| |
|
|
|
|
| |
Found by: clang static analyzer
|
|
|
|
|
|
|
| |
Garbage collect unused sections, macros and arguments. Fix prologue and
remove empty lines.
Found by: mdocml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Spelling errors
- Typographical fixes
- Consistent attributions
- Use Jr. more consistently
- Capitalization of dictionary-like entries
- Sorting using tools/do_sort
- Remove duplicate fortunes
- Style according to the Notes file
- Reflect correct default fortune name in Notes
- Remove some no longer needed spelling hints
- Drop latin1 characters (sorry Mårten)
This is a partial sync against the DragonflyBSD sources, where a lot of
fixes from Free, Net and OpenBSD were merged previously. Only about 50%
of the changes originate from there, the rest was done by dougb and
yours truly.
Partial review by: wilko (earlier version), ed (dito)
In collaboration with: dougb
Approved by: ed (co-mentor)
|
|
|
|
|
|
| |
Found by: make manlint
Reviewed by: ru
Approved by: philip (mentor)
|
|
|
|
| |
Submitted by: ru@, gj@
|
| |
|
|
|
|
|
|
|
|
| |
Although not explicitly mentioned in style(9), it allows for easier
grepping of exit points. This reverts part of r203926.
Requested by: des
Approved by: philip (mentor)
|
|
|
|
| |
letter in /COPYRIGHT.
|
|
|
|
|
|
|
| |
This reduces the diff to other *BSD and makes it possible to actually
see the code differences.
Approved by: ed (Co-mentor)
|
|
|
|
|
|
| |
This also bumps factor, fortune, primes, and random to WARNS=6.
Approved by: ed (Co-mentor)
|
|
|
|
|
|
| |
Fixes taken mostly from DragonflyBSD.
Approved by: ed (Co-mentor)
|
|
|
|
| |
Approved by: ed (Co-mentor)
|