summaryrefslogtreecommitdiffstats
path: root/games
Commit message (Collapse)AuthorAgeFilesLines
* Fixed CLEANFILES.bde1998-12-272-2/+2
|
* Fix typo (if it's not a typo, then it doesn't make sense IMHO)peter1998-11-092-2/+2
|
* Allow building games w/o an existing /usr/games.obrien1998-10-181-3/+6
|
* Allow ``make BINDIR=/foo/games'' to work.obrien1998-10-182-3/+7
|
* Fixed building without /usr/games in $PATH. Just add /usr/gamesbde1998-10-171-11/+13
| | | | | | | | | | | | | | | | | | | | to the _end_ of $PATH before using tools that are normally in /usr/games. I broke this in rev.1.9 by assuming that these tools are in $PATH (as they are for `make world' unless NOTOOLS is set). Revs.1.10-1.13 of this file had various wrong fixes. Rev.1.18 of src/Makefile.inc1 has an incomplete fix. PR: 7936 Fixed comments about what to comment out to [not] install the potentially offensive fortunes. This should be configured using an ifdef. Fixed missing dependencies of fortunes.dat on fortunes, etc. Removed bogus dependency of `all' on source files. Fixed some style bugs.
* Back out the last two hacks. I've added games to the (correct) buildjb1998-09-211-16/+3
| | | | | | | path in src/Makefile.inc. The code that I'm backing out didn't work anyway since exists() checks for a file in .PATH (and /usr/games/strfile doesn't exist there), so the test was always defaulting to ../strfile/strfile which breaks cross-compiled builds.
* Remove bogus dependencies.phk1998-09-191-3/+3
| | | | Submitted by: bde
* Reverse the sense of the test looking for caesar & strfile.phk1998-09-191-6/+6
|
* Don't expect /usr/games in the path.phk1998-09-171-6/+19
| | | | | | | | Avoid using /usr/games versions if we can find what we need (caesar & strfile) in the buildtree. PR: 7936 Submitted by: Achim Patzner <ap@noses.com>
* Don't do anything special to prevent access to created files - honourbde1998-09-051-1/+3
| | | | the default umask. World unreadable files broke installing over nfs.
* Keep build-tools objects separate from `all' objects so that mybde1998-09-021-3/+6
| | | | cross-builds work.
* Split lines into one subdir per line.gpalmer1998-08-301-5/+39
|
* Make the build tools static to avoid trying to use the shared loaderjb1998-08-201-2/+2
| | | | | | | | | before it is installed. This upsets Bruce because the host boostrap build forces tools to be static anyway. He says I'm abusing NOTOOLS in src/Makefile by using it to do a aout->elf transition build. One day I'll find a place to install host tools like these to allow a true cross build.
* Build the makedefs program static to avoid trying to use the sharedjb1998-08-151-1/+1
| | | | loader before it has been installed in an aout to elf transition build.
* Build the setup program static so that we don't try to use the sharedjb1998-08-151-1/+1
| | | | loader before it has been installed in a transition build from aout to elf.
* Revert the last commit, it made the Bruce filter flip:phk1998-08-091-18/+13
| | | | | | | | | | | | | | | | PR7402 was even less suitable for committing almost verbatim than at first appearance. Rev.1.9 of primes.c has at least the following defects. - no update for man page. - no update for usage string. - blowing away of a previous commit to change EOF to -1 in getopt() test. - blowing away of a previous commit to fix printf format errors. - new printf format errors. - one gratuitous ANSIism. - two style bugs. - ... and a partition in a pear tree. PR: 7402
* Games primes and factor don't understand hexadecimals.phk1998-08-071-13/+18
| | | | | | | | This would make these `games' somewhat useful tools. PR: 7402 Reviewed by: phk Submitted by: Timo J. Rinne <tri@iki.fi>
* Wrong filename for dictionary in manpage.phk1998-08-041-1/+1
| | | | | | PR: 7467 Reviewed by: phk Submitted by: Ben Walter <bwalter@itachi.swcp.com>
* Remove comment relevant to 16bit integers only.imp1998-07-261-2/+0
|
* o Fix Y2K buffer overflow.imp1998-07-261-4/+2
| | | | o Fix zero filling bug in all years % 100 < 10.
* Y2K fix. Fix by jsm28@cam.ac.uk via OpenBSDimp1998-07-261-1/+1
|
* Fix discrepancy between sources and manual page for the 'c' command.jkoshy1998-07-201-11/+1
| | | | PR: docs/6003
* Buffer overflow.phk1998-07-091-1/+1
| | | | | | PR: 7195 Reviewed by: phk Submitted by: Anders Thulin <Anders.x.thulin@telia.se>
* Use the installed versions of caesar and strfile. They are nowbde1998-07-071-19/+3
| | | | | | bootstrapped by `make world', and the installed versions are just as likely to work as the installed version of cc if `make' is run directly.
* Added a `build-tools' target for internal tools.bde1998-07-071-1/+3
| | | | Honor LDFLAGS for building internal tools.
* Added a `build-tools' target for internal tools.bde1998-07-071-5/+7
| | | | | | | | | Honor LDFLAGS for building internal tools. Always build intermediate object files explicitly so that binaries don't change when they are rebuilt. Fixed some style bugs.
* Added a `build-tools' target for internal tools.bde1998-07-071-0/+5
| | | | | | Restored a variant of explicit rule for `setup', with modifications to always build setup.o so that `setup' doesn't change every time it is rebuilt because it has a temporary file name in it.
* Fixed printf format errors.bde1998-06-308-21/+22
|
* Fixed (1970's style) missing declaration of a function that doesn'tbde1998-06-301-0/+2
| | | | return int.
* Fixed printf format errors. Didn't fix gross homemade varargs functionbde1998-06-301-1/+1
| | | | | Write(). Pointers are passed to it as longs, but it expects them to be passed as ints. The alpha non-fixes made this worse.
* Fixed the type of yyerror() (1970's style).bde1998-06-301-0/+1
|
* Cast pointers to longs, not ints.jb1998-05-091-3/+3
| | | | | Hopefully that's the last of the 64-bit cleaning of src/games. That is, without adding -Wall to the compiler flags. That's not a pretty sight.
* Change long variable to time_t where it is passed to time() by reference.jb1998-05-091-1/+1
|
* Add #include string.h to get prototypes.jb1998-05-092-0/+2
|
* Add #include string.h to get prototypes and change variables from longjb1998-05-092-3/+5
| | | | to time_t where they are passed to time() and localtime() by reference.
* Remove bogus time() prototype and let the one in time.h rule.jb1998-05-091-1/+0
|
* Add #include string.h to get prototypes.jb1998-05-093-0/+3
|
* Cast pointers to long instead of int.jb1998-05-094-9/+9
|
* Add #include string.h to get prototypes.jb1998-05-093-0/+3
|
* Change casts of function pointers from int to long. This makes thejb1998-05-096-7/+7
| | | | | | compiler warnings go away, but the compiler is throwing away 32-bits as the long value is silently truncated to an int on alpha. But the program works, so that must not matter.
* Add #include string.h to get prototypes.jb1998-05-093-0/+3
|
* Change long variable to time_t because it passed to time() and ctime().jb1998-05-091-1/+1
|
* Change long variables to time_t if they are passed to time() or localtime()jb1998-05-091-3/+3
| | | | be reference.
* Add #include string.h to get prototypes.jb1998-05-092-0/+2
|
* Change variable types from long to time_t if they are passed to time()jb1998-05-094-6/+7
| | | | by reference.
* Remove #define NULL because stdio.h does that.jb1998-05-091-1/+0
|
* Add #include string.h to get prototypes.jb1998-05-091-0/+1
|
* Add #include string.h to get prototypes.jb1998-05-092-0/+2
|
* tv_sec in timeval is a long, and a time_t is not necessarily a long.jb1998-05-091-2/+4
|
* Add #include string.h to get prototypes.jb1998-05-093-0/+3
|
OpenPOWER on IntegriCloud