| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
| |
you by Thomas L. Friedman.
(http://www.nytimes.com/2008/10/08/opinion/08friedman.html?ref=opinion)
|
|
|
|
| |
http://voices.washingtonpost.com/postpartisan/2008/10/the_town_hall_debate_in_praise.html
|
|
|
|
|
|
|
|
| |
1) Split too long source lines
2) Portable code should not assume that null pointer == all-bits-0,
so back out prev. calloc() change.
Submitted by: bde
|
|
|
|
|
|
| |
1) Rename RANDOM_MAX to RANDOM_MAX_PLUS1 to not confuse with random()'s max
2) Use calloc() instead of zeroing fields explicitly
3) "too many lines" -> "too many delimiters" for err()
|
|
|
|
|
|
|
|
|
|
| |
Test case:
random -f some_small_file 10000
(in most cases must be no output)
2) Prevent number of lines > RANDOM_MAX (overflow or nothing may be
choosed) with EFBIG err()
3) After line is found, terminate list loop for -U case too,
since nothing to do in the rest of the loop left.
|
|
|
|
|
|
|
|
|
|
| |
used in randomize_fd.c.
Although the max value is the same currently, RAND_MAX is for rand(),
not for random().
So move RANDOM_MAX const to the common file now, make it UL and
use in randomize_fd.c too.
(in any case its old value was 1 less then must be, as noted in
the prev. commit)
|
|
|
|
|
|
| |
value with ((double)RAND_MAX + 1)
2) For exit code increase valid denominator upper range from 255 to 256
since returned value is [0 .. denom - 1]
|
| |
|
| |
|
| |
|
|
|
|
| |
Obtained from: OpenBSD
|
|
|
|
|
|
| |
http://www.schneier.com/blog/archives/2008/08/schneier_misquo.html
(and reorder one I appearantly didn't get in the right place last time.)
|
|
|
|
|
|
|
|
| |
o Correct Alan's surname.
PR: bin/125812
Submitted by: Derek Taylor [1], gavin [2]
MFC after: 1 week
|
| |
|
|
|
|
| |
kindly provided by four different correspondents since my last commit.
|
| |
|
| |
|
|
|
|
|
|
|
| |
+The computer assumes that all behavior is in pursuit of an ultimate
+goal. Whenever a motorist changes his or her mind and veers off
+course, the GPS lady issues that snippy announcement: "Recalculating!"
+ -- Joel Achenbach (www.slate.com, 20 jun 2008)
|
|
|
|
|
|
|
|
| |
Updated Lyndon Nerenberg's radio callsign and E-mail address.
PR: bin/7868
Submitted by: Lyndon Nerenberg <lyndon@orthanc.ca>
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
has been removed ages ago.
PR: docs/124166
Submitted by: keramida
Prodded by: novel,keramida
|
|
|
|
|
|
|
|
| |
+"Can you be more stupid than aggravating the judge AND your lawyer?
+No? Oh yes you can: You can aggravate the whole kernel community."
+ -- Alexander Lyamin (about Hans Reisers murder trial)
Found at: http://www.news.com/8301-10784_3-9925607-7.html?tag=nefd.top
|
| |
|
|
|
|
|
| |
to open software development (as well as to the other
kinds of human activity.)
|
|
|
|
|
|
|
|
| |
The quote predated rev. 1.232, which rev. 1.259 was to correct;
therefore it was protected by the "Don't remove fortunes" rule.
Noticed by: ceri
Pointy hat to: yar
|
|
|
|
|
|
|
|
| |
Remove militant and moralized quotes of Chinggis Khan.
Add one more quote of Chinggis Khan.
Reviewed by: yar
Approved by: keramida(mentor)
|
| |
|
|
|
|
| |
by Kernighan and Plauger.
|
|
|
|
|
| |
of "The Elements of Programming Style". Also spell the name
of the book properly.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
I'm intentionally not sorting this file since it won't be added to.
(Although, if it were sorted the duplicate would have been easier to see.)
:)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
a few very slightly diffrent versions of tcsh prompts, so
restore the 2 that were lost, and consolidate them all in
a way that will prevent them from being lost again.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with fortunes and fortunes2 2 years and 2 days ago. The fortunes2-o
file was brought in with the original import of the 4.4 Lite games
directory, but has always consisted in large part of fortunes
duplicated from other files.
The combined size of the two files is still only 631K, or less
than 1/3rd of the size of the fortunes file.
Combining them has the added benefit of making the fortunes from
fortunes2-o visibile to fortune(6)'s -m option.
This change should probably not be MFC'ed beyond RELENG_7.
|
|
|
|
| |
This greatly aids in detecting duplicates, among other things.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of many duplicates, formatting/whitespace fixes, spelling fixes,
and a host of others. Note: No fortunes were intentionally removed
(other than duplicates) as part of this cleanup. In removing dupes
I tried to be generous in not removing similarly worded fortunes
that had even slightly different punch lines.
Duplicates were resolved as follows (in this order):
* + limerick -> limerick
* + fortunes-o.real -> fortunes-o.real
* + fortunes2-o -> fortunes2-o
* + zippy -> zippy
murphy + fortunes -> fortunes
In correcting spelling I've tried to leave colloquial variations
(especially British'isms) intact, as well as to not "correct"
errors that are part of the joke.
In fortunes and fortunes2-o I combined a couple of fortunes that
were adjacent to each other that seemed like they should have
originally been combined, and split a couple that seemed like they
should have originally been split.
Miscellaneous:
1. Fixed underlining
2. Capitalized proper names
3. Removed quotation marks from "freestanding" quotes for consistency
4. Added quotation marks to QOTD fortunes that needed them
5. Corrected or added many attributions
6. Removed apostrophes from trailing 's' that are plural, not possessive
7. Updated the path to fortune stuff included in some of the jokes
8. Updated several fortunes to their original version, and added attribution
9. Split up compound words that ispell tripped over
|
|
|
|
| |
and update the ones that already existed.
|
| |
|
|
|
|
| |
always wanted to put on mine.
|
| |
|
|
|
|
|
|
|
|
|
| |
- When none of the directories in FORTUNE_PATH exist, abort instead
of using the default FORTDIR.
- Little stylify changes.
- Add documentation about the FORTUNE_PATH variable.
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
in one fortune of only 32 words. Based on that single ratio, there
are 50453 more typos in the rest of the fortunes file....
Noticed by: Nate Lawson <nate@root.org>
MFC after: 1 week
|