Commit Graph

73 Commits

Author SHA1 Message Date
dholland 920b84d8b3 fix signedness issue 2014-03-23 00:07:15 +00:00
dholland 04ed523694 ANSIfy function definitions 2009-08-27 00:31:12 +00:00
dholland cf97b0fdcd Use standard C: 'unsigned', not 'u_int' 2009-08-27 00:24:11 +00:00
dholland 5305281b0c sprinkle static 2009-08-12 08:21:41 +00:00
joerg c173c17186 Fix markup 2009-03-11 13:05:46 +00:00
lukem 2fe2731d3f Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-20 00:52:39 +00:00
perry 8b0f9554ff convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
hubertf 61daec5724 Replve duplicate #includes
From Slava Semushin <slava.semushin@gmail.com>, via private mail
2007-01-17 00:30:23 +00:00
rpaulo 4b939f034f Fix two lines which were broken by previous commit. Noticed by Thomas
Klausner.
2005-10-12 15:33:41 +00:00
rpaulo 099795b92c misc/31566: Jaap Boender: update African and Asian capitals to the
current situation.
2005-10-12 15:14:27 +00:00
perry 995abc5571 Sulfur|Sulphur -> Sul[f|ph]ur 2005-08-14 21:19:35 +00:00
perry 2b5ff6359d Sulfur -> Sulfur | Sulphur 2005-08-14 21:17:37 +00:00
perry 5b7baeda3b er, forgot the C{a}esium change in the last 2005-08-14 20:31:34 +00:00
perry 0874287eda 1) Update atomic weights.
The weights here are taken from
     http://www.iupac.org/publications/pac/2003/7508/7508x1107.html
   and have been rounded to four significant figures in all cases.
   In the case of elements that have no isotopes stable enough for
   reasonable measurement, numbers have been updated from Zumdahl,
   "Chemistry", Fifth edition and are presented (as before) in parentheses.
2) Cesium is now C{a}esium
3) A number of new elements have been added at the end of the periodic
   table.
2005-08-14 20:28:25 +00:00
perry a2a84a1ed5 Aluminum -> Alumin{i}um
Aluminium is really the official name, but doing it this way allows
entry of either answer.
2005-08-14 19:34:50 +00:00
perry 4156b28f30 Sulphur -> Sulfur
Although the traditional spelling in commonwealth countries is
"Sulphur", the official IUPAC name of the element is "Sulfur", and
even the Royal Society of Chemistry now spells it "Sulfur".
2005-08-14 17:45:17 +00:00
jwise 3b4f381581 Sort list, and add Nunavut, which has been a Canadian province since 1999. 2005-05-02 15:48:58 +00:00
jwise 245f508216 Cyprus is part of Europe, not Asia. Turkey is currently listed in both
Europe and Asia, I'm leaving it that way.
2005-05-02 15:39:27 +00:00
jwise 9ea9920e14 The current President of the United States is George Walker Bush, not George
Walker Bush, Jr. (his father was George Herbert Walker Bush).
2005-05-02 15:29:59 +00:00
jsm cb5fd8342e Remove uses of __P. 2004-01-27 20:30:28 +00:00
agc e5aeb4ea46 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
2003-08-07 09:36:50 +00:00
jsm c1e0ba8801 Yugoslavia has changed its name to Serbia and Montenegro. 2003-03-29 17:54:44 +00:00
jsm cd2ce25e12 The Hague is not the capital of the Netherlands. Reported by Hugo van
Galen <hugo@Dot.net> (in the Netherlands) and Florian Boehl
<flo@namensraumverschmutzung.net>.
2003-03-29 17:54:00 +00:00
thorpej 33f953ab85 Need <stdlib.h> for abort() prototype. 2002-12-06 01:54:55 +00:00
wiz c91d8d6b9b Lots of minor fixes resulting from reading these man pages in detail. 2002-09-26 18:31:58 +00:00
wiz 904b6b9402 Mdoc nits -- unneeded ". 2002-09-26 16:33:53 +00:00
christos d9308b55e8 remove spurious ^A's and || 2002-08-20 13:49:11 +00:00
tron 08e919d1e0 Remove unused variable "err". 2002-08-06 11:39:53 +00:00
dbj a7d4c58694 fix regular expression matcher.
the string "xc" was failing to match "x[[a|b]|c]"
2002-08-06 03:39:44 +00:00
wiz f969f104bd Formatting improvements (from OpenBSD) 2001-07-11 16:11:36 +00:00
wiz 25e280d9bf Typo fixes. From OpenBSD. 2001-07-10 16:56:39 +00:00
jwise 06f3cba6d2 The capital of Mordor is _not_ Minas Morgul. 2001-01-12 04:33:51 +00:00
tsarna 793ecee1b1 CNN, BSD declare Bush winner. 2000-12-14 02:38:02 +00:00
mycroft f9eca6973d Use setgid(), not setregid(). 2000-05-08 07:55:59 +00:00
jsm aec3f4964a Correct capital of the Philippines, allow usual spelling of Jakarta
and prefer the usual name of Cambodia to Khmer.

Problems reported by Robert Vollmert <rvollmert@gmx.net>.
2000-04-09 22:37:40 +00:00
jsm b5df0f4b98 Fix capital of Monaco. It should be Monaco rather than Monte Carlo;
checked with CIA World Factbook.

Problem reported by <capo@writeme.com>.
1999-12-16 14:13:23 +00:00
jsm b2d99aa2eb Make quiz use POSIX.2 pager handling. 1999-12-16 13:45:48 +00:00
jsm ba40c8d63d Fix some uses of NULL as non-pointer and 0 for null pointer. 1999-09-17 17:07:11 +00:00
jsm 52c6bf2220 Change quiz `pres' data file to include vice-presidents, and fix some
minor errors.

From OpenBSD.
1999-09-14 20:04:02 +00:00
jsm 5367f3400c Security improvements for games (largely from or inspired by OpenBSD).
Games which run setgid from dm, but don't need to, should drop their
privileges at startup.

Games which have a scorefile should open it at startup, then drop all
privileges leaving just the open writable file descriptor.  If the
game can invoke subprocesses, this should be made close-on-exec.

Games with scorefiles should make sure they do not get a file
descriptor < 3.  (Otherwise, they could get confused and corrupt the
scorefile when using stdin, stdout or stderr.)

Some old setuid revokes from the days of setuid games change into gid
revokes.
1999-09-12 09:02:20 +00:00
jsm 092d313019 Add use of `const' where appropriate to the games.
This merges in all such remaining changes from the Linux port of the
NetBSD games, except in hunt (where substantial changes from OpenBSD
need to be looked at).

Some such changes were previously covered in PRs bin/6041, bin/6146,
bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994,
bin/8039, bin/8057 and bin/8093.
1999-09-08 21:17:44 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
lukem b569ddabe9 don't install in /usr/share if NOSHARE is defined 1998-09-29 07:33:20 +00:00
hubertf 1c9494f62b mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-13 15:27:25 +00:00
hubertf 9c30da9453 Update, from PR bin/5829 by Joseph Myers <jsm28@cam.ac.uk> 1998-07-24 23:13:25 +00:00
hubertf 1705f47464 some more presidents, via tsarna@endicor.com in PR 4957 1998-02-09 07:05:35 +00:00
lukem d829744648 - WARNSify
- deprecate register
- getopts returns -1 not EOF
- last character returned by fgetln() isn't always \n
- cleanup .Nm use
1997-09-20 14:28:16 +00:00
mycroft e9f6264b87 Add missing space between play and act. 1997-07-06 11:20:10 +00:00
mycroft 3353b6d236 Fix parsing error with escaped colons. 1997-07-06 11:19:16 +00:00
christos d59123b39b - Makefile cleanups 1997-03-24 22:15:37 +00:00