jb
94fc2dabae
Back out the last two hacks. I've added games to the (correct) build
...
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.
1998-09-21 09:01:53 +00:00
phk
95c16b0895
Remove bogus dependencies.
...
Submitted by: bde
1998-09-19 06:58:14 +00:00
phk
c644c0ae4c
Reverse the sense of the test looking for caesar & strfile.
1998-09-19 06:14:11 +00:00
phk
491bbc1427
Don't expect /usr/games in the path.
...
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>
1998-09-17 08:52:40 +00:00
bde
d251b2c548
Don't do anything special to prevent access to created files - honour
...
the default umask. World unreadable files broke installing over nfs.
1998-09-05 15:56:10 +00:00
bde
9e5e52d9b8
Keep build-tools objects separate from `all' objects so that my
...
cross-builds work.
1998-09-02 15:22:11 +00:00
gpalmer
4138d6e994
Split lines into one subdir per line.
1998-08-30 20:58:16 +00:00
jb
2c3408bd6d
Make the build tools static to avoid trying to use the shared loader
...
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.
1998-08-20 21:45:46 +00:00
jb
72446d9a3a
Build the makedefs program static to avoid trying to use the shared
...
loader before it has been installed in an aout to elf transition build.
1998-08-15 07:56:07 +00:00
jb
d1c349611f
Build the setup program static so that we don't try to use the shared
...
loader before it has been installed in a transition build from aout to elf.
1998-08-15 07:46:35 +00:00
phk
07b6ec539f
Revert the last commit, it made the Bruce filter flip:
...
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
1998-08-09 10:36:25 +00:00
phk
d343436f26
Games primes and factor don't understand hexadecimals.
...
This would make these `games' somewhat useful tools.
PR: 7402
Reviewed by: phk
Submitted by: Timo J. Rinne <tri@iki.fi>
1998-08-07 06:32:45 +00:00
phk
ba66039864
Wrong filename for dictionary in manpage.
...
PR: 7467
Reviewed by: phk
Submitted by: Ben Walter <bwalter@itachi.swcp.com>
1998-08-04 09:41:09 +00:00
imp
685645c4eb
Remove comment relevant to 16bit integers only.
1998-07-26 16:49:20 +00:00
imp
c9bfb10fa5
o Fix Y2K buffer overflow.
...
o Fix zero filling bug in all years % 100 < 10.
1998-07-26 16:00:16 +00:00
imp
1336d33aa2
Y2K fix. Fix by jsm28@cam.ac.uk via OpenBSD
1998-07-26 15:30:48 +00:00
jkoshy
f9b168cc92
Fix discrepancy between sources and manual page for the 'c' command.
...
PR: docs/6003
1998-07-20 02:07:49 +00:00
phk
dc65231abc
Buffer overflow.
...
PR: 7195
Reviewed by: phk
Submitted by: Anders Thulin <Anders.x.thulin@telia.se>
1998-07-09 06:09:56 +00:00
bde
7f513d9ef1
Use the installed versions of caesar and strfile. They are now
...
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.
1998-07-07 06:22:23 +00:00
bde
8e1f3205b7
Added a `build-tools' target for internal tools.
...
Honor LDFLAGS for building internal tools.
1998-07-07 01:43:54 +00:00
bde
78764e3ba6
Added a `build-tools' target for internal tools.
...
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.
1998-07-07 01:41:58 +00:00
bde
1e950b5e64
Added a `build-tools' target for internal tools.
...
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.
1998-07-07 01:25:37 +00:00
bde
cb8e733b14
Fixed printf format errors.
1998-06-30 19:10:49 +00:00
bde
de8d2e8573
Fixed (1970's style) missing declaration of a function that doesn't
...
return int.
1998-06-30 19:08:19 +00:00
bde
a4cb9e4f6a
Fixed printf format errors. Didn't fix gross homemade varargs function
...
Write(). Pointers are passed to it as longs, but it expects them to
be passed as ints. The alpha non-fixes made this worse.
1998-06-30 18:58:28 +00:00
bde
7c17533fed
Fixed the type of yyerror() (1970's style).
1998-06-30 18:31:17 +00:00
jb
966bd98970
Cast pointers to longs, not ints.
...
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.
1998-05-09 11:33:22 +00:00
jb
48392a0789
Change long variable to time_t where it is passed to time() by reference.
1998-05-09 11:31:20 +00:00
jb
6f0053bd9d
Add #include string.h to get prototypes.
1998-05-09 11:06:46 +00:00
jb
eee6720ad6
Add #include string.h to get prototypes and change variables from long
...
to time_t where they are passed to time() and localtime() by reference.
1998-05-09 11:03:03 +00:00
jb
0c487350e5
Remove bogus time() prototype and let the one in time.h rule.
1998-05-09 11:00:50 +00:00
jb
a0da8cd034
Add #include string.h to get prototypes.
1998-05-09 10:59:57 +00:00
jb
05e443dab4
Cast pointers to long instead of int.
1998-05-09 10:51:27 +00:00
jb
0b8d784850
Add #include string.h to get prototypes.
1998-05-09 10:50:29 +00:00
jb
7689e1e466
Change casts of function pointers from int to long. This makes the
...
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.
1998-05-09 10:39:48 +00:00
jb
87514388e9
Add #include string.h to get prototypes.
1998-05-09 10:23:10 +00:00
jb
c3b3696dc5
Change long variable to time_t because it passed to time() and ctime().
1998-05-09 10:21:24 +00:00
jb
6206cfafdc
Change long variables to time_t if they are passed to time() or localtime()
...
be reference.
1998-05-09 10:15:15 +00:00
jb
2228191bb8
Add #include string.h to get prototypes.
1998-05-09 10:10:52 +00:00
jb
50ed7e732d
Change variable types from long to time_t if they are passed to time()
...
by reference.
1998-05-09 10:09:00 +00:00
jb
6ad82c9881
Remove #define NULL because stdio.h does that.
1998-05-09 10:03:01 +00:00
jb
2316af12a3
Add #include string.h to get prototypes.
1998-05-09 09:54:17 +00:00
jb
7aa4e853f4
Add #include string.h to get prototypes.
1998-05-09 09:48:23 +00:00
jb
ae8864f6a2
tv_sec in timeval is a long, and a time_t is not necessarily a long.
1998-05-09 09:41:30 +00:00
jb
88c50b200a
Add #include string.h to get prototypes.
1998-05-09 09:39:46 +00:00
jb
85a011c31a
Add 'extern' to arrays that are declared and initialised elsewhere.
1998-05-09 09:38:11 +00:00
jb
9e9eb5452f
Add 'extern' to arrays that are declared and initialised in other files.
1998-05-09 09:27:33 +00:00
jb
936a497f2c
Add 'extern' to arrays that are declared and initialised in other files.
...
Who writes code like this?!
1998-05-09 09:25:26 +00:00
jb
f21cd75f30
Add #include stdlib.h to get prototypes.
1998-05-09 09:24:12 +00:00
jb
005dd2f7a4
Change prototype for addbuf to make it compatible with tputs now that
...
there is a prototype to check it against.
1998-05-09 09:22:33 +00:00