mike
9b39ed7b94
Use POSIX macros for wait(2)-style status information instead of the
...
deprecated 4.2/4.3BSD wait union. Fix some nearby pid_t/int
confusion.
2002-06-03 23:13:11 +00:00
schweikh
aa868b9ee5
Backout recent typo "fix". I've been enlightened that it's an obsolete
...
and rare synonym for indomitable (from the French indomptable)
Requested by: "Jacques A. Vidrine" <nectar@FreeBSD.org>
2002-05-31 14:36:45 +00:00
schweikh
577d08fe7c
Typo: s/Indomptable/Indomitable/
...
MFC after: 3 weeks
2002-05-31 13:26:56 +00:00
wollman
45d5a82bf1
Add used include of <stdlib.h>, copying style bugs from adjacent lines.
2002-05-30 21:28:58 +00:00
wollman
1116ad074f
Fix preprocessor directive syntax (text after #endif).
2002-05-30 21:04:11 +00:00
alfred
a1f5896126
Make almost WARNS=5 compliant:
...
ANSI'fy function declarations.
Constify some globals and function paramters.
Remove unsused arguments.
Fix (rename) shadowed variables.
2002-05-28 21:41:02 +00:00
alfred
4b5c89df31
Comment out comments after #endif directives
2002-05-28 21:06:03 +00:00
alfred
1ee311b26d
Assume __STDC__, remove non-__STDC__ code.
...
Submitted by: keramida
2002-05-28 17:03:12 +00:00
bde
1af92dbd99
Fixed lossage of the prototype for usage() in previous commit.
...
Fixed higher WARNS levels while I was here (missing prototype for main(),
and missing const poisoning).
2002-05-28 12:20:15 +00:00
kris
6063437945
Quiet some format string warnings by marking prototypes with
...
__printflike()
MFC After: 1 week
2002-05-28 06:12:31 +00:00
des
bc5da2aaa3
Comment out extra tokens after #else and #endif.
2002-05-23 00:38:07 +00:00
peter
b7bed4f09b
Do not guess what a bool is, just use it.
2002-05-21 08:34:18 +00:00
dougb
00266d9f51
Correctly attribute a Douglas Adams quote, and remove a duplicate of
...
the same quote.
2002-05-15 04:35:27 +00:00
alfred
00909002b6
Fix warnings by commenting out text after #else/#endif.
2002-05-11 04:40:13 +00:00
obrien
570838e70a
It is not clear if "#endif FOO" is allowed by ANSI. Gcc 3.1 complains
...
loudly, so don't do it.
2002-05-08 20:39:10 +00:00
obrien
c9b486b0a3
It is not clear if "#endif FOO" is allowed by ANSI.
...
Gcc 3.1 complains loudly, so don't do it.
2002-05-08 20:37:48 +00:00
mph
2790da8d06
s/-300K/~300K/
...
This is an absolute (kelvin) temperature. I expect that in the original
source it was typeset as $\sim 300~{\rm K}$ or similar, meaning
"approximately 300 K". Changing it to a minus sign in the fortunes file
was clearly an error, as absolute temperatures are by definition positive.
2002-05-01 06:20:57 +00:00
dougb
fe94f05da8
More ispell fun
2002-04-30 10:13:42 +00:00
dougb
08a4243733
Fix a few more of my typos, a few others I noticed, and some ispell help.
2002-04-30 08:08:31 +00:00
sheldonh
984aaf7fe5
Correct typo (is -> us).
2002-04-30 07:36:44 +00:00
jmallett
50116a633c
Add something absurd I used one night as an example of CS overcomplication
...
of things most hackers take for granted.
2002-04-29 06:26:12 +00:00
jmallett
2c66f4a2cd
Add one more here.
...
Submitted by: Glen "Going to be a Daddy" Neff
2002-04-29 02:00:53 +00:00
jmallett
9f7f7d8d6e
Remove a Kurt Vonnegut quote that appears in fortunes.
2002-04-29 01:44:16 +00:00
jmallett
6a589dc6a3
Spell out the name of Hunter S. Thompson.
2002-04-29 01:38:43 +00:00
jmallett
491ba39875
Sort one, remove some dupes.
2002-04-29 01:22:50 +00:00
jmallett
dc73f6bb73
Add something I found amusing when overheard, and a paraphrasal of it.
2002-04-29 01:05:23 +00:00
dougb
862db1562f
Move the Rush Limbaugh fortunes to the offensive file, right after the
...
Anti-Reagan section. :) Apparently, people find opinions contrary to
their own to be offensive.
2002-04-29 00:41:55 +00:00
dougb
c424758ab6
Sort according to ../tools/do_sort
2002-04-29 00:33:30 +00:00
dougb
730253b82f
* Add a quote about the differences between human and machine
...
understanding from Ellen Ullman.
* Add Rush Limbaugh's 35 Undeniable Truths of Life. The ordering
of the entries is due to the ../tools/do_sort script.
2002-04-28 23:34:25 +00:00
dougb
8153c8ffd9
* Add $FreeBSD$ to limerick and zippy
...
* Delete trailing white space in all its forms. In addition to being
bad style in general, it also causes formatting, and other problems
for various third party items (like xscreensaver) which use fortunes
for their own purposes.
2002-04-28 21:59:07 +00:00
jmallett
48130aa318
Kill one version of a limerick here.
...
Approved by: The usual suspects on that IRC channel.
2002-04-28 21:16:32 +00:00
jmallett
7a14893b0a
Kill some duplicates.
...
Kill an incorrectly duplicated Einstein limerick (thanks phk!)
2002-04-28 21:03:26 +00:00
jmallett
84f4e02d50
Kill one exact duplicate of a Hunter S. Thompson quote. Put on peril-sensitive
...
sunglasses for great evil, too.
2002-04-27 06:14:32 +00:00
jmallett
2f889e2d8f
Death to duplicate fortunes.
2002-04-27 05:46:13 +00:00
ceri
27d773a57e
There is no host called new.bbc.co.uk - fix url.
...
Reviewed by: jkh
Approved by: jkh, murray
MFC after: 3 days
2002-04-26 10:58:06 +00:00
wollman
8c92a55949
Sort.
2002-04-25 19:31:43 +00:00
wollman
b56f16922f
Spell Fred Brooks's name right.
2002-04-25 19:27:40 +00:00
wollman
cbe4dc51aa
Resort and suppress dupes.
2002-04-25 19:12:30 +00:00
wollman
5677848cb8
Add a few more aphorisms.
2002-04-25 18:53:41 +00:00
wollman
60c9632723
Add some of uncontroversial fortunes from my files.
2002-04-25 03:20:27 +00:00
tg
a82580a668
Add some fortunes and re-order the Feynman problem solving algorithm.
...
Thanks to gsutter for the quotes.
Reviewed by: jkh
2002-04-24 12:15:00 +00:00
des
4d6b787d2d
Usage style sweep: spell "usage" with a small 'u'.
...
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
2002-04-22 13:44:47 +00:00
roam
5f4f4e1cd6
Fix a segfault if 'wear' is used without an argument or with
...
an argument that is not a valid word from the battlestar dictionary.
PR: 36992
Submitted by: Ceri Davies <ceri@FreeBSD.org>
Reviewed by: dd
Approved by: dd, silence on -audit
MFC after: 2 weeks
2002-04-15 17:27:34 +00:00
charnier
21bbb17290
End of comment was missing at FreeBSD Id line. Switch to FBSDID.
2002-04-12 20:16:15 +00:00
joe
8521ea258d
Add a few more tips, and tweak a couple.
...
PR: misc/34039
2002-04-01 08:53:21 +00:00
joe
690f668306
Augment the BLOCKSIZE tip. (Based on the PR with slight changes by myself).
...
PR: misc/34039
2002-04-01 08:43:58 +00:00
jhb
13471ccf6b
Add a new fortune seen in the sig of an e-mail.
...
Submitted by: ue (indirectly)
Approved by: eivind
2002-03-29 21:32:08 +00:00
imp
4398e87add
o remove __P
2002-03-24 01:09:35 +00:00
schweikh
c91815c777
Remove a duplicate with a typo.
...
MFC after: 3 days
2002-03-23 22:10:02 +00:00
dd
1dfa38ad29
Assorted mechanical fixes.
...
PR: 34790
Submitted by: Mike Makonnen <mike_makonnen@yahoo.com>
2002-03-09 04:38:25 +00:00
phk
5334779cd0
Add one.
...
Submitted by: jedgar
Reviewed by: The usual gang of idiots in that IRC channel.
2002-02-25 21:52:34 +00:00
bde
c78b77dbd0
#include <time.h> for the definition of time functions instead of
...
depending on namespace pollution 2 layers deep in <sys/stat.h>.
Sorted includes. Removed some unused includes.
2002-02-25 01:50:43 +00:00
billf
cb7151318e
BDECFLAGS
...
Reviewed by: md5(1)
2002-02-23 10:44:04 +00:00
billf
e5774765bd
KNF -> ANSI function declarations
...
Reviewed by: md5(1)
2002-02-23 10:35:25 +00:00
billf
1bc6f85fc6
KNF to ANSI function declaration, silence a warning
2002-02-23 10:21:19 +00:00
billf
a79402e12e
warning fixes, mostly type matching
2002-02-23 09:59:45 +00:00
billf
d9e0760810
convert from KNR to ANSI function declarations
...
Reviewed by: md5(1)
2002-02-23 09:53:27 +00:00
billf
5c90e6187f
staticize functions and variables
...
change function declarations to ANSI
change a variable that stores sizeof() values to size_t
use return to escape the end of main(), not exit(3)
2002-02-21 18:13:31 +00:00
billf
e0e0b5d382
use the typedef 'ubig' to declare pr_limit, not what ubig is typedef'd
...
to be.
PR: misc/35181
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
MFC after: 3 days
2002-02-21 17:33:56 +00:00
mike
bcee06d42c
o Move NTOHL() and associated macros into <sys/param.h>. These are
...
deprecated in favor of the POSIX-defined lowercase variants.
o Change all occurrences of NTOHL() and associated marcros in the
source tree to use the lowercase function variants.
o Add missing license bits to sparc64's <machine/endian.h>.
Approved by: jake
o Clean up <machine/endian.h> files.
o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>.
o Remove prototypes for non-existent bswapXX() functions.
o Include <machine/endian.h> in <arpa/inet.h> to define the
POSIX-required ntohl() family of functions.
o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>,
and <sys/param.h>.
o Prepend underscores to the ntohl() family to help deal with
complexities associated with having MD (asm and inline) versions, and
having to prevent exposure of these functions in other headers that
happen to make use of endian-specific defines.
o Create weak aliases to the canonical function name to help deal with
third-party software forgetting to include an appropriate header.
o Remove some now unneeded pollution from <sys/types.h>.
o Add missing <arpa/inet.h> includes in userland.
Tested on: alpha, i386
Reviewed by: bde, jake, tmm
2002-02-18 20:35:27 +00:00
imp
8ad412b83c
Fix last second botch of adding $FreeBSD$.
2002-02-18 05:40:54 +00:00
imp
24cd0a3c91
Remove __P
...
Remove __STDC__ (which means we now use stdarg rather than vararg)
Remove register
Remove main prototype
2002-02-18 05:15:19 +00:00
keramida
7e8c393af1
Add a tip about pkg_info and checking for multiple installed versions
...
of a package/port.
2002-02-11 03:45:29 +00:00
bde
c38eb4d60a
Don't declare our own common version of the library variable `ospeed'.
...
Include <termcap.h> to get its declaration. Our initialization of it
is still dubious, but it agrees with ncurses' documentation of it
(none) and with ncurses' recently fixed internals for it (old speeds
from <sys/ttydev.h>) and with the 4.4Lite documentation for it.
2002-02-02 09:50:45 +00:00
bde
96287e14a7
Don't declare the library variable `ospeed' without even getting its
...
type correct. Include <termcap.h> to get its declaration. Our
initialization of it is still dubious, but it agrees with ncurses'
documentation of it (none) and with ncurses' recently fixed internals
for it (old speeds from <sys/ttydev.h>) and with the 4.4Lite
documentation for it.
2002-02-02 09:37:20 +00:00
bde
beb5f651fb
Don't declare our own common version of the library variable `ospeed'
...
without even getting its type correct. Include <termcap.h> to get its
declaration. Our initialization of it is still dubious, but it agrees
with ncurses' documentation of it (none) and with ncurses' recently
fixed internals for it (old speeds from <sys/ttydev.h>) and with the
4.4Lite documentation for it.
2002-02-02 09:32:09 +00:00
tg
1393424475
Clean up G. B. Shaw quotes:
...
- fix missing punctuation,
- remove duplicates in fortunes2,
- don't abbreviate first names.
Remove duplication of Shaw's principle in fortunes2.
2002-01-07 13:47:22 +00:00
grog
71ead87ba6
Correct typo.
2002-01-01 00:50:30 +00:00
roam
7ee6de3f93
Fix a typo. While 'iff' might make sense in a mathematics-related text,
...
'if and only iff' does not.
PR: 33242
Submitted by: Eric Yu <ericyu@mail2000.com.tw>
2001-12-27 13:33:10 +00:00
wilko
9562ac6964
A case of ninfo (non-info)
...
Submitted by: Hans.VanSluis@compaq.com
MFC after: 1 month
2001-12-20 17:25:45 +00:00
ru
37468b69ca
Install files via FILES.
2001-12-17 15:23:57 +00:00
ru
bbef88e1a5
FILES support for bsd.prog.mk. See bsd.README for details.
...
Stolen from: NetBSD
2001-12-17 13:59:35 +00:00
mikeh
6533010035
Modify tip that no longer applies for ftp(1).
2001-12-17 08:16:14 +00:00
wilko
9595eb4702
Unix: Just Say No..
...
Obtained from: Jan.Hendriks@Compaq.com
MFC after: 3 days
2001-12-12 09:49:02 +00:00
keramida
dc92c1b9ca
Be more specific in an example of fortune's -e option.
...
PR: 32085
Submitted by: setantae@submonkey.net <setantae@submonkey.net>
2001-12-08 04:54:55 +00:00
jhb
da874ed4bd
Trim yet another duplicate fortune.
2001-12-05 22:40:44 +00:00
jhb
1e228cf900
Properly sort the last two fortunes alphabetically.
2001-12-05 22:39:00 +00:00
jhb
8c8cab7f3e
Add a short commentary on libdialog by jkh.
2001-12-05 22:13:53 +00:00
jhb
fc999454cd
Remove an incorrect duplicate Douglas Adam quote and properly format and
...
the correct duplicate. Both versions also attributed the quote to the
wrong book.
2001-12-05 22:09:39 +00:00
jhb
9e00b40a61
Fix a typo and add a missing period.
2001-12-05 21:36:14 +00:00
jhb
2711332bc9
Remove some duplicate fortunes.
2001-12-05 21:06:30 +00:00
phk
007002cd39
s/Kenned y/Kennedy/
...
Pointed out by: $a_lot_of_people
2001-11-27 17:10:54 +00:00
phk
17c42ff93d
This string of coincidences was too good to let pass.
...
Obtained from: BBC World Service on 9410kHz
2001-11-27 16:53:43 +00:00
peter
add9e3ca02
Fix some duplicate quotes and tidy up some Dr. Who quotes.
2001-11-27 12:02:03 +00:00
keramida
b076bf152b
Other committers do not mention their personal names and/or email
...
addresses when adding stuff, so it seems fair to stop ``getting all
the fame'' by having my name displayed on login sessions.
Approved by: nik
2001-11-19 20:17:19 +00:00
joe
31a4d675d1
Fix a typo:
...
Flinstone -> Flintstone.
Submitted by: grog (during the kernel debugging session at BSDConEurope)
2001-11-12 12:21:39 +00:00
dillon
d575f0c3d9
Add terminating % so the last fortune can be found.
...
Add a fortune.
2001-11-09 18:24:09 +00:00
phk
ebd7779fbc
Separate concatenated fortunes.
...
Remove unattributed duplicate of Frederick Brooks eternal words
about the danger of second systems.
2001-11-03 16:43:13 +00:00
phk
a7ef707379
Correct attribution and fix translation from Danish.
2001-11-03 16:38:06 +00:00
asmodai
f517ba785f
Correct attribution.
...
PR: 30500
Submitted by: Drew Derbyshire <ahd@kew.org>
2001-10-28 13:23:39 +00:00
roam
03f3f44473
Correct a typo: numtiple -> multiple.
...
PR: 31474
Submitted by: Eric Yu <ericyu@mail2000.com.tw>
MFC after: 1 week
2001-10-24 12:51:23 +00:00
dd
10bfc1f0b1
Slightly improve wording in the opening paragraph.
...
PR: 31202
Submitted by: Jasmin Blanchette <jasmin@troll.no>
2001-10-14 23:13:01 +00:00
kris
79db177a19
Add some important advice for young optical physicists.
2001-10-05 08:27:21 +00:00
kris
2d1796cd80
Add a brief comparative analysis of 3 popular religions.
...
Approved by: maintainer
2001-10-01 01:10:15 +00:00
jhb
afabe274f3
Borrow Peter's peril-sensitive sunglasses and add a short parody quoted in
...
the unnamed IRC channel.
2001-09-27 22:04:42 +00:00
murray
422ba83d3c
Tip Correction : s/seconds/minutes/
...
PR: docs/30844
Submitted by: Andrew <andrew@ugh.net.au>
2001-09-27 00:43:28 +00:00
ru
293d121c6b
- Only use sig_atomic_t objects in signal handlers.
...
- Use getopt() to parse command line.
- Add usage().
- WARNSify.
- Convert manpage to mdoc(7).
PR: bin/30641
Submitted by: Andrey Simonenko <simon@simon.org.ua>, ru
MFC after: 1 week
2001-09-25 13:45:46 +00:00
dd
462c9be352
list' should be an extern'd
char **', not a local `char *' which we
...
never set. Ideally, we'd get the extern from tutor.h, but that
defines a number of other variables that conflict with ours.
This fixes a segmentation fault when trying to return to the main menu.
PR: 30172
2001-09-03 14:19:46 +00:00
kris
f4fdee9267
Update a duplicate quotation.
...
PR: 30228
MFC after: 2 weeks
2001-09-01 08:01:06 +00:00
alex
1b28c0b357
Move /etc/defaults/make.conf to /usr/share/examples/etc/make.conf as
...
discussed on the arch@ mailinglist (after repo-copy).
sys.mk will .error if it finds /etc/defaults/make.conf but include
it anyways (this is the same behaviour as with the make.conf.local
removal).
/usr/share/examples/etc/make.conf has BDEFLAGS commented out now,
since it's only an example file.
Adjust all textes that talk about make.conf or defaults/make.conf to
match the new situation.
2001-08-30 22:44:51 +00:00