1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00
Commit Graph

1379 Commits

Author SHA1 Message Date
deraadt
41a8198549 the the 1997-04-09 01:59:00 +00:00
mickey
5ddb40453e depend on DPADD, not only one lib 1997-04-01 19:54:26 +00:00
rahnds
cf2fcc31c8 Changes from NetBSD to compile games without warnings due to short being
unsigned on some archs, PowerPC, ROMP.
1997-04-01 16:00:52 +00:00
tholo
a7a85d61af Set umask so save files are writeable by hack 1997-03-28 18:56:20 +00:00
tholo
d71d731e24 Log and score file needs to be group writeable 1997-03-28 18:51:47 +00:00
downsj
e97b7ed338 phantasia.6 -> phantasia.6tbl 1997-02-28 10:18:41 +00:00
niklas
f7d92492fd Use standard header files instead of declaring system funcs explicitly 1997-02-14 10:28:17 +00:00
deraadt
06f1ba87d9 CC=${HOSTCC} for these; tv@slack.iag.net, PR#86 1997-02-09 13:52:40 +00:00
deraadt
bdcd13e050 CC=${HOSTCC} for these; tv@slack.iag.net, PR#89 1997-02-09 13:51:24 +00:00
kstailey
c6ebfc57c5 add tags to changed files 1997-02-05 18:28:35 +00:00
kstailey
5f463f5740 fix highscore without breaking security 1997-02-05 18:26:07 +00:00
deraadt
b8557ef829 buf oflow, felix@mamba.pond.sub.org 1997-01-30 21:55:27 +00:00
millert
408bb4f53f Fallout from signal.h's inclusion of sys/time.h... 1997-01-27 07:32:33 +00:00
downsj
74471cb56c Check malloc() return value. 1997-01-26 08:00:52 +00:00
deraadt
54c4722bd3 documentation errors; from max@freebsd 1997-01-23 20:01:41 +00:00
millert
de0815e06e more r?index -> strr?chr changes 1997-01-17 07:51:41 +00:00
millert
d734527c68 no need to link with -lcompat 1997-01-17 07:51:06 +00:00
millert
dbd11d1e77 nuke rindex decl 1997-01-17 07:49:22 +00:00
millert
180acc8f08 r?index -> strr?chr 1997-01-17 07:10:42 +00:00
millert
72799b18e5 getopt(3) returns -1 when out of args, not EOF, whee! 1997-01-15 23:40:20 +00:00
niklas
3486df8b7a Fix PR#2 in a simplistic way. Handle EOF on all getchar()s 1997-01-11 10:01:27 +00:00
etheisen
6c12f5fb1a root NOT games. 1997-01-03 03:03:59 +00:00
rahnds
b02fb5a165 getc returns int not char.
This matters on some ports, such as powerpc. (signed vs unsigned issue).
1997-01-02 02:25:56 +00:00
tholo
d8d8a16515 Fix typo 1996-12-29 23:58:43 +00:00
deraadt
161033a189 proper gid revoke 1996-12-22 20:00:41 +00:00
tholo
d859f7056b Deal correctly with being SGID 1996-12-21 22:06:21 +00:00
tholo
75b7a26749 Relinguish SGID games, restore it only when opening the score file 1996-12-21 21:43:54 +00:00
tholo
40aa9d5f31 Clean up lint and -Wall output 1996-12-21 21:17:49 +00:00
tholo
b2fbc8095c Don't reset group here, we won't be able to execute games that way 1996-12-21 21:11:53 +00:00
downsj
295a019d1b Nevermind, curses problem was caused by a busted lib on threadway. 1996-12-20 00:22:18 +00:00
deraadt
120cb3ac2d gid games 1996-12-19 23:08:50 +00:00
deraadt
893fd100f3 setgid games, not setuid games. closes a neat set of holes 1996-12-19 22:19:48 +00:00
deraadt
f30ed81a6a toast shell escape code 1996-12-19 21:02:35 +00:00
downsj
37ee587b0b add gomoku 1996-12-16 07:02:50 +00:00
downsj
02e921727a Import of gomoku from 4.4BSD Lite2. Uses ocurses. 1996-12-16 06:56:07 +00:00
deraadt
3aa33c149c some cleanup from bde@freebsd 1996-12-14 15:21:26 +00:00
deraadt
59ac8258be typo, jmg@nike.efn.org 1996-12-10 16:04:37 +00:00
deraadt
92623de05d "the the" purge 1996-12-10 09:05:56 +00:00
downsj
a591a1b6e6 install -> ${INSTALL}, -c -> ${COPY} 1996-12-08 15:36:11 +00:00
niklas
b676453d35 Reorder includes for htons et al. 1996-11-25 13:34:22 +00:00
millert
6605bc43bc rindex -> strrchr
add some void casts
safe strcpy
1996-11-25 00:08:03 +00:00
millert
33ad206ce0 Safe $HOME handling. 1996-10-28 00:12:44 +00:00
millert
886e22598d Safe $HOME handling. 1996-10-28 00:07:17 +00:00
millert
f3e8bc01cf Don't make size assumptions wrt $HOME 1996-10-27 23:51:36 +00:00
millert
02dbeb04ba prefer $LOGNAME to $USER. Fix strncpy() usage. 1996-10-26 20:02:56 +00:00
millert
c7b2accb0f prefer $LOGNAME over $USER. fix strncpy() usage. 1996-10-26 19:59:27 +00:00
deraadt
e612da3172 deal with files as euid; based on code by alex@freebsd.org 1996-10-15 09:35:58 +00:00
michaels
cad86ecd9d vital fixes. From Kenneth Stailey (kstailey@dol-esa.gov) 1996-10-14 22:14:37 +00:00
niklas
a4831564e5 clean better 1996-10-12 21:27:50 +00:00
tholo
48a09da338 Store the fortune data files with fixed data types, and document this.
Bump database version to 2.
1996-10-06 03:22:18 +00:00
tholo
6160caa11a Store the card deck using fixed sizes and network byte order 1996-10-06 03:20:44 +00:00
downsj
f3f2f7a1d6 Bug fix from Kenneth Stailey <kstailey@dol-esa.gov>, PR#20. 1996-09-20 01:01:35 +00:00
downsj
c96331cf63 this is a real game, hide it. 1996-08-21 08:27:24 +00:00
downsj
385ee28385 +bs 1996-08-21 08:19:25 +00:00
downsj
7f4826009c battleships, from FreeBSD 1996-08-21 08:18:33 +00:00
downsj
b23da7515f +grdc 1996-08-21 07:59:22 +00:00
downsj
4acc410cbf From FreeBSD. 1996-08-21 07:58:07 +00:00
deraadt
28a51b9461 termcap path; explorer@netbsd.org 1996-08-18 18:48:13 +00:00
downsj
23dccfe411 NetBSD PR#2699: delay revoke of privs until after log file is opened,
and print better diagnostics.  Kenneth Stailey <kstailey@dol-esa.gov>
1996-08-15 01:54:19 +00:00
deraadt
cf32984646 LOCK_UN before close, not after 1996-06-18 11:29:03 +00:00
downsj
b3f83f7663 ncurses: ERR -> NULL 1996-06-16 05:06:56 +00:00
deraadt
0a65da79df security fixes 1996-06-10 04:45:28 +00:00
tholo
15eabdf8fd Update for modern curses implementation 1996-06-02 19:47:04 +00:00
tholo
49980a6d34 Always use -ltermlib when linking with -lcurses
Be comsistent in use of LIBTERMCAP and LIBTERMLIB when depending
1996-06-02 05:47:49 +00:00
tholo
7b3630a478 Always use -ltermlib when linking with -lcurses
Depend on LIBTERMCAP and LIBTERMLIB as appropriate
1996-06-02 05:44:14 +00:00
deraadt
5db21cc01a pull signal.h 1996-05-28 12:39:18 +00:00
fn
db69080045 fixed the "/* in comments" problem. 1996-05-26 07:23:02 +00:00
deraadt
d077aa933e sync 0521 1996-05-26 01:04:36 +00:00
deraadt
01a2f85a8c do make right 1996-04-24 08:13:32 +00:00
deraadt
69a3ff958e sync with netbsd 960418 1996-04-23 03:00:16 +00:00
niklas
86f1648042 From NetBSD: Use tr instead of caesar to generate fortunes-o 1996-03-28 13:51:06 +00:00
niklas
aa50f5df95 Make building with ${HOSTCC} work in obj-dirs 1996-03-09 09:16:46 +00:00
niklas
da34e3c3d4 Rudimentary support for compilation in a cross environment
Host tools will be compiled with HOSTCC instead of CC.
Note, these are not complete in *any* way\!
1996-03-09 01:33:25 +00:00
niklas
e023223753 From netbsd:
Removed "extern int errno"; Added #include <errno.h> if not already present.
1996-02-17 23:54:37 +00:00
etheisen
99c5df51cf Command line arguments were not being handled correctly. Modified for
proper funtionality and for compliance with manpage.
1996-02-14 07:06:41 +00:00
etheisen
44a0153a90 Added check for null pointer while processing cmdline options. Pointer
overrun was causing SEGV if any cmdline options were specified.
1996-02-12 07:42:26 +00:00
deraadt
9614130b9e from netbsd; use sys_signame[] where possible 1995-12-21 14:32:35 +00:00
deraadt
79321df035 from netbsd: fix a few typos 1995-12-14 01:27:27 +00:00
deraadt
df930be708 initial import of NetBSD tree 1995-10-18 08:37:01 +00:00