summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed an output bug where a new-line was added due the usage of puts(3).rpaulo2005-08-101-4/+4
|
* Pass lint(1).rpaulo2005-08-101-3/+5
|
* Enable WARNS=3.rpaulo2005-08-101-1/+2
|
* add a new style cast to memcpy.christos2005-08-091-3/+3
|
* Enable WARNS=3 and pass lint(1).rpaulo2005-08-092-24/+26
| | | ok christos@
* Pass WARNS=3christos2005-08-096-28/+29
|
* Comment from Al.cjs2005-07-231-0/+2
|
* Aligned the usage message from the program with the one mentioned in therillig2005-07-221-3/+3
| | | man page.
* - caesar(6) is not a SETGIDGAME, so we don't need to revoke any privileges.rillig2005-07-221-56/+71
| | | | | | | | - replaced direct POSIX read/write with stdio, which made the code simpler. - added even more error checking. - restructured the code to make each function fit on one screen (well, except one). - now the code reflects the intended purpose of the program. - return 0 instead of EXIT_FAILURE on success.
* Quote macro.wiz2005-07-051-2/+2
|
* Tidy up curses state when we quit, instead of just doing exit().jdc2005-07-022-5/+12
|
* Sort sections. Use mdoc macros. Reformat.wiz2005-07-021-22/+23
|
* Removing trailing spaces.wiz2005-07-021-9/+9
|
* KNF conversionjmc2005-07-022-56/+34
|
* KNF and WARNS=3jmc2005-07-028-166/+87
|
* KNF and WARNS=3jmc2005-07-012-98/+67
|
* KNF and WARNS=3jmc2005-07-019-126/+81
|
* Remove the -t flag from the usage.peter2005-07-011-2/+2
|
* KNF and WARNS=3jmc2005-07-0118-402/+671
|
* Whitespace fixjmc2005-07-011-9/+8
|
* KNF and WARNS=3 fixesjmc2005-07-0118-222/+192
|
* KNF and WARNS=3 fixesjmc2005-07-019-244/+185
|
* KNF and WARNS=3jmc2005-07-0111-252/+236
|
* add ching, and also break up the SUBDIR line a bit more to make futureperry2005-06-301-7/+10
| | | | | additions easier. now if we could only get "dungeon"...
* Initialize lnum and unum to avoid a "might be used uninitialized"martin2005-06-301-3/+3
| | | warning.
* missing paragraph break from the originalperry2005-06-301-1/+2
|
* ching(6) -- The Book of Changes, not seen in BSD since 4.4BSD.perry2005-06-3013-0/+3271
| | | | | | | | | | | | | | | | | | | The C code is a complete rewrite done by Guy Harris for 4.4BSD and is not the original from v7 at all. Unfortunately, the data file itself, without which the rest isn't useful, was not freed until Caldera released all of 32v a few years ago, so it was not in 4.4lite. The data file, the ching nroff macros, and the driver script are under Caldera or Caldera+Berkeley copyright. I've partially redone the driver script from 4.4 (there was no point in using a temporary file for the hexagram), which was already partially redone from 32v. (As an aside, it is nutty that the script needs a copyright so many times longer than the code.) I've renamed "cno" to "castching", "phx" to "printching", (the traditional names were opaque), and put them in /usr/libexec/ching instead of the v7 /usr/games/ching.d. The data file and nroff macros are in /usr/share/games/ching
* Fixed error on a nonexistent mail spool file, when countmail can't find ↵symka2005-06-301-2/+2
| | | | it\n\nCloses PR misc/29526\n\n\(Code submitted in PR misc/29526 by Andreas Eder)
* Fixed a comment that said the factors in the output would be strictlyrillig2005-06-271-3/+3
| | | ascending.
* Changed the type of data_table to be unsigned char[] instead of char[],rillig2005-06-271-6/+6
| | | | | | because it is initialized with values >= SCHAR_MAX. Also removed two unnecessary bit mask operations. These changes do not affect the actual behavior. Also replaced an "#ifdef notdef" with "#if 0". All these changes are mainly for reducing lint(1) warnings.
* Fixed buffer overflow with long command line arguments.rillig2005-06-271-5/+15
|
* Drop trailing space.wiz2005-06-261-2/+2
|
* * Change program logic to not nest needlesslyhubertf2005-06-222-34/+44
| | | | | | | | | * Search all acronyms databases, and don't force the user to know in which category to look (-t is gone) * If an acronym is not found in the database or by whatis(1), also check pkg_info(1). Per PR bin/30539 by Geert Hendrickx (geert.hendrickx@ua.ac.be) OK'd by Julio M. Merino Vidal <jmmv>
* Change marker from "pmppc" to "powerpc" because a NetBSD-macppc buildtron2005-06-091-3/+3
| | | is also affected.
* Add an initialization to placate -Wuninitialized.he2005-06-091-2/+4
| | | Marked with XXXGCC for pmppc (found while compiling for it).
* Raised WARNS to 4.rillig2005-05-231-1/+2
|
* * fixed <ctype> bugsrillig2005-05-231-66/+106
| | | | | | | | | * removed ASCII dependency * added input data validation * added bounds checking * added error checking * handle short reads (from pipes or sockets) correctly when trying to decode an encoded stream * added lint(1) directives
* Otto Von Bismarck -> Otto von Bismarck.kleink2005-05-101-2/+2
|
* It is Bismarck not Bismark.bad2005-05-101-1/+1
|
* Sort list, and add Nunavut, which has been a Canadian province since 1999.jwise2005-05-021-8/+9
|
* Cyprus is part of Europe, not Asia. Turkey is currently listed in bothjwise2005-05-022-1/+1
| | | Europe and Asia, I'm leaving it that way.
* The current President of the United States is George Walker Bush, not Georgejwise2005-05-021-2/+2
| | | Walker Bush, Jr. (his father was George Herbert Walker Bush).
* Fixed wrong use of the <ctype.h> functions by adding an explicit conversionrillig2005-04-193-11/+11
| | | to unsigned char. Approved by christos.
* Fixed wrong use of datatypes. In wait_for(), a char was used togetherrillig2005-04-191-8/+5
| | | | | | with getchar(), in readchar(), a char was used to read input, which in getuchar() is used as an argument to islower() and toupper(). Also removed a condition which terminated the process if the user typed in character 255. Approved by christos.
* Don't assume /usr/games; use the same path as what rot13 was found atatatat2005-04-091-2/+3
| | | to run caesar.
* A few minor spelling, grammar, and formatting fixes.atatat2005-04-092-7/+7
|
* Fix a long-standing bug in wump(6) whereby hitting ^d to exit would firstjwise2005-03-211-6/+8
| | | | print ``Care to play another game? (y-n)'' (but then exit anyway without waiting for an answer).
* Add -lcrypt where -lcrypto is specified.christos2005-03-091-3/+3
|
* Remove a incorrect semicolon at the end of an if().simonb2005-02-251-4/+4
| | | Magic levels now appear after extensive play testing!
* Don't presume phantasia's internal bool (char) is the same as that injsm2005-02-155-11/+13
| | | | | | curses.h: define phbool and use it where necessary to avoid declaring functions with one bool and defining them with the other. Reviewed by <hubertf>.