summaryrefslogtreecommitdiffstats
path: root/caesar
Commit message (Collapse)AuthorAgeFilesLines
* caesar: WARNS=6, strict bool moderillig2021-05-051-6/+6
| | | | | The rotation is validated to be nonnegative, therefore use unsigned int for it.
* Use PREFIX nowCameron Katri2021-03-281-4/+4
|
* Get all the games compiling for iOSCameron Katri2021-02-221-4/+17
|
* Remove the \n and tabs from the __COPYRIGHT() strings.lukem2008-07-201-4/+4
|
* Make the default WARNS for games 4. The only game that needs to set WARNSdholland2008-01-281-2/+1
| | | to anything else now is rogue, so clear WARNS from the other makefiles.
* Simplify error checking.christos2005-11-191-7/+9
|
* Replaced one instance of err() with errx(), as the value of errno might notrillig2005-11-191-3/+3
| | | be correct at that time.
* Removed the unnecessary #include <ctype.h>.rillig2005-10-181-3/+2
|
* Added an empty line to conform to KNF.rillig2005-10-081-2/+3
|
* 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.
* 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
* Don't assume /usr/games; use the same path as what rot13 was found atatatat2005-04-091-2/+3
| | | to run caesar.
* Remove uses of __P.jsm2004-01-271-4/+4
|
* Make dot and winnerdot of type double. Patch from Jan Vornbergerjsm2004-01-011-3/+4
| | | <jan@uos.de> in Debian bug 197816.
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-072-13/+5
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* Lots of minor fixes resulting from reading these man pages in detail.wiz2002-09-261-3/+2
|
* Ispell.wiz2002-09-261-3/+3
|
* Use setgid(), not setregid().mycroft2000-05-081-3/+3
|
* While everyone's beating up on rot13 - use 'exec' to loose the shellsimonb2000-04-241-2/+2
| | | process.
* $* -> "$@", not that it does anything. yet.perry2000-04-241-2/+2
|
* keep it simple.perry2000-04-241-4/+2
|
* Don't rely upon /usr/games being in PATH, include it explicitly.hubertf2000-04-241-1/+3
| | | Fixes PR 9968 by yyrkoo@imrryr.org.
* Use err(1, NULL) and warn(NULL) for `out of memory' error messages.jsm2000-01-091-3/+3
|
* Add use of `const' where appropriate to the games.jsm1999-09-081-4/+4
| | | | | | | | | 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.
* Drop setgid privs early, via OpenBSDhubertf1999-07-211-2/+5
| | | Reported in PR 5970 by Joseph Myers <jsm@octomino.demon.co.uk>
* mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-131-3/+3
|
* add missing .Nm calls and MLINKS. from spz@serpens.swb.demrg1997-11-121-2/+3
|
* minor KNFifylukem1997-10-111-18/+11
|
* WARNSifylukem1997-10-102-16/+24
|
* - Makefile cleanupschristos1997-03-241-5/+2
|
* Use ${INSTALL}.thorpej1996-10-181-2/+2
|
* Removed "extern int errno"; Added #include <errno.h> if not already present.jtc1996-02-061-3/+3
|
* clean up importcgd1995-03-214-16/+32
|
* from Litecgd1995-03-211-0/+37
|
* specify man pages the new way.cgd1994-12-221-2/+2
|
* Update to use new -mandoc macros.jtc1993-08-051-25/+23
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* Add RCS indentifiers.mycroft1993-08-011-1/+2
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-213-0/+234