1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
|
commit 9ef359aa55bee2bbd7a6ddbd64a1c80d3bc003bd
Author: hgutch <hgutch@NetBSD.org>
Date: Mon Apr 7 14:36:28 2025 +0000
Fix loading save files
Both monster and weapon damage are represented as strings like "1d1", and
internally the game keeps track of them as pointers to static strings
in memory. When saving, the game saves these pointers and when loading
them the pointers end up being identical to before - which now points to
undefined memory.
So when loading a save game, reset the damage strings based on the type
of monster or weapon.
Pointed out and fix suggested by Anthony C Howe <achowe@snert.com>
(committed with a small modification of said patch).
commit 1c4c66da51a951328d87647c76be4f15b176c974
Author: hgutch <hgutch@NetBSD.org>
Date: Sun Apr 6 18:30:24 2025 +0000
Fix segfault when canceling "Quit" operation
When pressing 'Q' followed by anything other than 'y', make sure not to
end up calling __unreachable().
Pointed out by Anthony C Howe <achowe@snert.com>
commit b44101216dc12a015f6c5db656b82406ce8f1b90
Author: mrg <mrg@NetBSD.org>
Date: Tue Aug 1 07:55:57 2023 +0000
fix new GCC 12 warning that can't happen by forcing unsigned context for
values that are always positive by this point.
commit c4b7a9e7940c62d92a81ee31e05e281e6035fadc
Author: lukem <lukem@NetBSD.org>
Date: Sat Jun 3 09:09:01 2023 +0000
bsd.own.mk: rename GCC_NO_* to CC_WNO_*
Rename compiler-warning-disable variables from
GCC_NO_warning
to
CC_WNO_warning
where warning is the full warning name as used by the compiler.
GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH
Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
commit a136e22ab6ba5a9235cc6e146564a827fea16209
Author: andvar <andvar@NetBSD.org>
Date: Sun Sep 19 10:34:06 2021 +0000
fix various typos in comments, messages and documentation.
commit 1182a44c59cae4d586117d55eca24b4b8b173211
Author: rillig <rillig@NetBSD.org>
Date: Sun May 2 12:50:43 2021 +0000
games: remove trailing whitespace in *.c and *.h
commit de11d876419df3570c2418468613aebcebafe6ae
Author: mrg <mrg@NetBSD.org>
Date: Sun Oct 13 07:28:04 2019 +0000
introduce some common variables for use in GCC warning disables:
GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)
use these to turn off warnings for most GCC-8 complaints. many
of these are false positives, most of the real bugs are already
commited, or are yet to come.
we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
commit fbffadb9f864c0324fb295860ab0faeb187269cc
Author: mrg <mrg@NetBSD.org>
Date: Sun Feb 3 03:19:25 2019 +0000
- add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
this case, and thus can't be marked __dead easily
commit 1c426e1841f37075ac1e5a2f93e5e6d28e8c6cf5
Author: kamil <kamil@NetBSD.org>
Date: Mon Jun 11 14:18:16 2018 +0000
Restore the MKGROFF=bo MKCXX=yes build
Mark the documentation in dc(1), gprof(1), rogue(6) and fsck_ffs(8) with
the .roff flag in SUBDIR.
Sponsored by <The NetBSD Foundation>
commit b7b7574d3bf8eeb51a1fa3977b59142ec6434a55
Author: dholland <dholland@NetBSD.org>
Date: Sat Jul 5 19:22:41 2014 +0000
Reorg docs, part 1:
Move all the reference manuals to subdirs of /usr/share/doc/reference.
We have subdirs ref1-ref9, corresponding to man page sections 1-9.
Everything that's the reference manual for a program (sections 1, 6,
8), C interface (sections 2, 3), driver or file system (section 4),
format or configuration (section 5), or kernel internal interface
(section 9) belongs in here.
Section 7 is a little less clear: some things that might go in section
7 if they were a man page aren't really reference manuals. So I'm only
putting things in reference section 7 that are (to me) clearly
reference material, rather than e.g. tutorials, guides, FAQs, etc.
This obviously leaves some room for debate, especially without first
editing the docs with this distinction in mind, but if people hate
what I've done things can always be moved again.
Note also that while roff macro man pages traditionally go in section
7, I have put all the roff documentation (macros, tools, etc.) in one
place in reference/ref1/roff. This will make it easier to find and
also easier to edit it into some kind of coherent form.
commit c3ab26950fe8540fb553d1d1dcae454bc98e5a25
Author: dholland <dholland@NetBSD.org>
Date: Sat Jul 5 19:22:02 2014 +0000
Rework /usr/share/doc.
Update the <bsd.doc.mk> infrastructure, and update the docs to match
the new infrastructure.
- Build and install text, ps, pdf, and/or html, not roff sources.
- Don't wire the chapter numbers into the build system, or use them in
the installed pathnames. This didn't matter much when the docs were a
museum, but now that we're theoretically going to start maintaining
them again, we're going to add and remove documents periodically and
having the chapter numbers baked in creates a lot of thrashing for no
purpose.
- Specify the document name explicitly, rather than implicitly in a
path. Use this name (instead of other random strings) as the name
of the installed files.
- Specify the document section, which is the subdirectory of
/usr/share/doc to install into.
- Allow multiple subdocuments. (That is, multiple documents in one
output directory.)
- Enumerate the .png files groff emits along with html so they can be
installed.
- Remove assorted hand-rolled rules for running roff and roff widgetry
and add enough variable settings to make these unnecessary. This
includes support for
- explicit use of soelim
- refer
- tbl
- pic
- eqn
- Forcibly apply at least minimal amounts of sanity to certain
autogenerated roff files.
- Don't exclude USD.doc, SMM.doc, and PSD.doc directories from the
build, as they now actually do stuff.
Note: currently we can't generate pdf. This turns out to be a
nontrivial problem with no immediate solution forthcoming. So for now,
as a workaround, install compressed .ps as the printable form.
commit a72799bb86f54f7f93105113b865a67d3853b065
Author: dholland <dholland@NetBSD.org>
Date: Sun Aug 11 03:44:27 2013 +0000
WARNS=5
commit 09e313dddd54dac392a5d91f1400f183c4f93055
Author: dholland <dholland@NetBSD.org>
Date: Sun Aug 11 03:34:48 2013 +0000
typo in comment
commit 8d90f8a8ba671929c028357b3d27077ae383f4f8
Author: jmcneill <jmcneill@NetBSD.org>
Date: Sun Feb 17 12:17:40 2013 +0000
rename target paper.${PRINTER} to paper.ps -- PRINTER isnt defined anywhere!
commit 2913016879ded43d97d31eac1aa16ee560c19e72
Author: mbalmer <mbalmer@NetBSD.org>
Date: Sat Dec 1 11:37:26 2012 +0000
Fix misspelling of acceptible (it's only acceptable with an 'a', not an 'i').
commit acae68523ef8a8a415c9a13083ae0c636fb61bcd
Author: plunky <plunky@NetBSD.org>
Date: Thu Sep 1 07:18:50 2011 +0000
reinstate NULL cast by request, where the NULL was being passed as a vararg
commit 9f61b80465425a3cc94c6438ccec8497c7340a45
Author: plunky <plunky@NetBSD.org>
Date: Wed Aug 31 16:24:54 2011 +0000
NULL does not need a cast
commit ae56ae8f3ffa9be15ac12d1ce1aa8e70488d1a3d
Author: dholland <dholland@NetBSD.org>
Date: Fri Aug 26 06:18:16 2011 +0000
Use __dead and __printflike instead of __attribute__.
commit 6dee362ea84d3351ab0e2ecf71e9450dd661bd40
Author: joerg <joerg@NetBSD.org>
Date: Mon May 23 23:01:17 2011 +0000
Kill some pointer indirections. Don't use variables as format strings.
commit 76d4444c78baad11b1499e8b18c9101e0b19b627
Author: he <he@NetBSD.org>
Date: Sat Feb 6 23:45:24 2010 +0000
When using -lcurses, you also need -lterminfo.
This fixes the build for sun2, and also builds with LDSTATIC=-static,
since archive libraries don't record inter-library dependencies.
commit 420cf14d384b0de0279acff45f5541995db79757
Author: dholland <dholland@NetBSD.org>
Date: Mon Oct 19 02:34:40 2009 +0000
Fix '=' for '==' in a test. From NAKAJIMA Yoshihiro in PR 42177.
commit 1e99780e5d6f60bcebbb7875a731d5c5f70e5f89
Author: dholland <dholland@NetBSD.org>
Date: Wed Aug 12 08:44:45 2009 +0000
sprinkle static
commit 432ec04420e36d6dc6d2629157aeed54d795ea21
Author: drochner <drochner@NetBSD.org>
Date: Fri Aug 8 16:10:47 2008 +0000
if initscr() fails, exit with a message rather than crash in the
next curses call
commit 2fe2731d3f09bdee8be0c69d144b60d0da6f22d5
Author: lukem <lukem@NetBSD.org>
Date: Sun Jul 20 00:52:39 2008 +0000
Remove the \n and tabs from the __COPYRIGHT() strings.
commit 130a8172b6b2e819ad3ce174e6422f80f2d127b6
Author: dholland <dholland@NetBSD.org>
Date: Mon Jan 14 03:50:01 2008 +0000
ANSIfy. Remove unnecessary casts. Clean up for -Wsign-compare. Make more
things file-static. Other minor tidyups, and fix a couple minor bugs found
along the way.
commit 23c02a454f3e55020de719378cd0e23f8e3ec49b
Author: dholland <dholland@NetBSD.org>
Date: Mon Jan 14 00:23:51 2008 +0000
Whitespace/KNF nits.
commit e94a5bc9f912f9a98bdee291b98da709ab46476d
Author: dholland <dholland@NetBSD.org>
Date: Thu Dec 27 23:52:59 2007 +0000
Comprehensive (or at least extensive) string handling cleanup for rogue.
This patch dates (mostly) back to 2002; the critical parts of it were
handled back then by security-officer. As far as I know, there's
nothing exploitable fixed herein.
A slightly earlier version of this patch was reviewed by Christian Biere
when I filed it as PR 34750.
commit 8b0f9554ff8762542c4defc4f70e1eb76fb508fa
Author: perry <perry@NetBSD.org>
Date: Sat Dec 15 19:44:37 2007 +0000
convert __attribute__s to applicable cdefs.h macros
commit 47169552b3a2a43beea25c95568b9d740d055448
Author: christos <christos@NetBSD.org>
Date: Sun May 14 03:15:50 2006 +0000
XXX: GCC uninitialized
commit a640fe8c436f2c60212900e82ed1c95b22798222
Author: snj <snj@NetBSD.org>
Date: Mon Apr 24 19:00:29 2006 +0000
It's "its."
commit a7a74df4fa4f9c9df2c682a824aa7b26459c6bc7
Author: christos <christos@NetBSD.org>
Date: Sun Apr 2 00:13:29 2006 +0000
Coverity CID 2788: If no room gets returned, don't try to place a monster.
commit e61c7de467a802a265e96e61b0c931c9d4cd477e
Author: jnemeth <jnemeth@NetBSD.org>
Date: Thu Mar 30 05:04:22 2006 +0000
Coverity CID 2452: possible negative array index; CID 1518 and CID 1517: possible overrun of static array
commit 1c3223f0730f2a1d517c94aa20cd073ea00646a6
Author: jnemeth <jnemeth@NetBSD.org>
Date: Thu Mar 30 04:41:15 2006 +0000
Coverity CID 1288: possible negative array index
commit 67f465476e7366fcda24327716567381fbae366c
Author: jnemeth <jnemeth@NetBSD.org>
Date: Thu Mar 30 04:27:24 2006 +0000
Coverity CID 993: dereference of NULL pointer
commit cc2349eefc7a81732742116bda96da2df828abf5
Author: jnemeth <jnemeth@NetBSD.org>
Date: Thu Mar 30 04:19:38 2006 +0000
Coverity CID 1293: not checking for an error return
commit fa4599a2113c4a0af075f5e376cfee39331b182e
Author: jnemeth <jnemeth@NetBSD.org>
Date: Thu Mar 30 04:10:04 2006 +0000
Coverity CID 1287: not checking for error return
commit f4f2f41178f0b3108d7d21fce9aca2ffe0b52f78
Author: abs <abs@NetBSD.org>
Date: Fri Mar 17 23:04:01 2006 +0000
Call fclose() appropriately if there is a problem with the save file.
Coverty CID 2063
commit d9f5a9df018fb8d9164898191a0b1bf2fdf31e1f
Author: wiz <wiz@NetBSD.org>
Date: Thu Sep 15 02:09:41 2005 +0000
Use standard AUTHORS section header. From YOMURA Masanori in private mail
Sort sections if necessary. Use more/better markup.
commit bd52bf6180d5e54303af1b12b58befeb74d42d1d
Author: tron <tron@NetBSD.org>
Date: Thu Jun 9 12:20:12 2005 +0000
Change marker from "pmppc" to "powerpc" because a NetBSD-macppc build
is also affected.
commit 1ce7c753b3ee23d95a6a418e07c9c282ca9aebfc
Author: he <he@NetBSD.org>
Date: Thu Jun 9 09:36:19 2005 +0000
Add an initialization to placate -Wuninitialized.
Marked with XXXGCC for pmppc (found while compiling for it).
commit b91a81ab9fdb1756bae25073c2fc8c30e5fa8506
Author: jsm <jsm@NetBSD.org>
Date: Tue Feb 15 12:56:20 2005 +0000
Cast last argument of execl to (char *).
Reviewed by <hubertf>.
commit 2773e864bba6c3d3b8049da99bb399380ec0cfcd
Author: jsm <jsm@NetBSD.org>
Date: Tue Feb 15 12:54:50 2005 +0000
Avoid arrays of incomplete types (required to build with GCC 4).
Reviewed by <hubertf>.
commit d20841bb642898112fe68f0ad3f7b26dddf56f07
Author: wiz <wiz@NetBSD.org>
Date: Fri Feb 13 11:36:08 2004 +0000
Uppercase CPU, plural is CPUs.
commit cb5fd8342e4a94da7acebde32e35174819d5cac7
Author: jsm <jsm@NetBSD.org>
Date: Tue Jan 27 20:30:28 2004 +0000
Remove uses of __P.
commit 5a753461bfa976369f153abb212f3bc7bfa5c2f6
Author: jsm <jsm@NetBSD.org>
Date: Thu Jan 1 16:05:12 2004 +0000
Don't use -fwritable-strings. Add one more const.
commit e5aeb4ea46bbe6a0522c39af347be4ddcd733a80
Author: agc <agc@NetBSD.org>
Date: Thu Aug 7 09:36:50 2003 +0000
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
commit 001c68bd94f75ce9270b69227c4199fbf34ee396
Author: lukem <lukem@NetBSD.org>
Date: Thu Jul 10 10:33:58 2003 +0000
Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO". The new variables are:
TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET
TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN
TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT
TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS
TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB
TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE
TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER
TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS
TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL
TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC
For each, provide default in <bsd.sys.mk> of the form:
TOOL_FOO?= foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo
Document all of these in bsd.README.
This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
commit 7bd171e1c02669538340980fe69e9da1521441c9
Author: wiz <wiz@NetBSD.org>
Date: Sat Apr 26 21:30:51 2003 +0000
Drop a trailing dot. From jmc@openbsd.
commit 276fd1665c2ffb48e7411e6232a1b2e82b083e13
Author: simonb <simonb@NetBSD.org>
Date: Mon Jan 20 05:29:53 2003 +0000
The Double-Semi-Colon Police.
commit b99251db1018d7e201c350d89cd951acbb74e669
Author: pooka <pooka@NetBSD.org>
Date: Sun Jan 5 12:34:26 2003 +0000
Add ${MACROS} to ${ROFF} usage to make output readable
from jbernard@mines.edu in misc/19685
commit 4a05361ffaa5854ba678090990ef655307fd5a89
Author: mrg <mrg@NetBSD.org>
Date: Tue Oct 1 14:18:57 2002 +0000
- use correctly bounded strings when reloading a saved game. in particular,
do not let the save game file "string length" exceed the amount of space
supplied. as noted by <stanojr@iserver.sk> on bugtraq.
- minor KNF.
tested by simonb.
commit c91d8d6b9b96cb8ac42bd209c50229bb94665d11
Author: wiz <wiz@NetBSD.org>
Date: Thu Sep 26 18:31:58 2002 +0000
Lots of minor fixes resulting from reading these man pages in detail.
commit 0d22e30cd0ee7192a745ecdb806fe8f37de11def
Author: wiz <wiz@NetBSD.org>
Date: Thu Sep 26 16:12:39 2002 +0000
New sentences begin on new lines.
Patch from Richard Elz, slightly improved by yours truly.
commit 10f663ea7a13dd23eaad6265fffe15a84e2518fb
Author: tron <tron@NetBSD.org>
Date: Sun Jul 7 09:35:07 2002 +0000
Make "rogue" build with "WARNS=2". The necessary patches were supplied
by David A. Holland in PR bin/17498.
commit 7147df1ef52c721b6e05e0b56270362dab6aeca2
Author: blymn <blymn@NetBSD.org>
Date: Thu Dec 6 12:19:44 2001 +0000
Change deprecated curses call to new equivalent.
commit e7a85c433d7b3bb5008984e86d1086ba933d0e99
Author: wiz <wiz@NetBSD.org>
Date: Thu Aug 9 13:09:59 2001 +0000
Fix pasto. From FreeBSD.
commit e65cad56b979dba40f262e185e3207128b46120f
Author: wiz <wiz@NetBSD.org>
Date: Thu Aug 9 13:02:49 2001 +0000
Fix for FreeBSD/13278, from FreeBSD:
When a game ends that makes the top 10, the function insert_score in
score.c is called to make the new score file. But the case for KFIRE
(killed by fire) incorrectly uses strcpy instead of strcat (all the
other cases use strcat). This puts the string in the wrong place and
corrupts the score file.
commit 16263c885df32efc08b19faf80a53280c972dd4d
Author: christos <christos@NetBSD.org>
Date: Mon Feb 5 01:04:25 2001 +0000
remove duplicate decls
commit d303927592a3949fb34456d56315153a78a6a3e5
Author: itojun <itojun@NetBSD.org>
Date: Mon Jul 10 10:19:25 2000 +0000
printf() pedant - do not pass variable alone, use %s.
idea from openbsd. after looking at freebsd commit msgs from kris@freebsd.
commit 32330650358312d7adbfbc1f1709cc0a9e930b03
Author: matt <matt@NetBSD.org>
Date: Mon Jul 3 03:57:39 2000 +0000
More include additions for exit, abs, strcmp, etc.
commit 3872dc30f7c2e5e67fa8c65e08ea48171ebaaf1a
Author: soren <soren@NetBSD.org>
Date: Mon Mar 13 22:53:22 2000 +0000
Fix doubled 'the'.
commit 20e33050065d88234596483d220dd6f94ed34d44
Author: jsm <jsm@NetBSD.org>
Date: Sat Sep 18 19:38:46 1999 +0000
Fix -Wsign-compare warnings.
commit 34d9941aa73ac4972cd6a2f203a3cabbb928f874
Author: jsm <jsm@NetBSD.org>
Date: Mon Sep 13 17:19:55 1999 +0000
Fix buffer overrun in rogue.
commit 50ab22237fc62f82aa264e65a20231a5a5bedfc5
Author: jsm <jsm@NetBSD.org>
Date: Mon Sep 13 17:14:07 1999 +0000
Remove rogue's old and bit-rotten cut-down version of curses.
commit 5367f3400cd7167fff914feec6a76b2c74931c3f
Author: jsm <jsm@NetBSD.org>
Date: Sun Sep 12 09:02:20 1999 +0000
Security improvements for games (largely from or inspired by OpenBSD).
Games which run setgid from dm, but don't need to, should drop their
privileges at startup.
Games which have a scorefile should open it at startup, then drop all
privileges leaving just the open writable file descriptor. If the
game can invoke subprocesses, this should be made close-on-exec.
Games with scorefiles should make sure they do not get a file
descriptor < 3. (Otherwise, they could get confused and corrupt the
scorefile when using stdin, stdout or stderr.)
Some old setuid revokes from the days of setuid games change into gid
revokes.
commit a9c7f9b0969d9c4ed79821d541ba406c7d8fcd90
Author: jsm <jsm@NetBSD.org>
Date: Thu Sep 9 17:27:58 1999 +0000
Check for failure of malloc() and calloc() at various places in the games.
commit b03d4fa8823053a33c191fdfca1d6d356ba917f0
Author: jsm <jsm@NetBSD.org>
Date: Wed Sep 8 21:45:25 1999 +0000
Add `__noreturn__' and `__unused__' attributes where appropriate to
the games.
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).
Most noreturn attributes were previously added in bin/6144, with some
others that were missed then in bin/8082. Previous `unused'
attributes were covered in bin/6557, bin/8058 and other PRs (all these
PRs have already been handled and closed).
commit 190c71aa6730aa9809153a6f3b0602007ccc40bc
Author: abs <abs@NetBSD.org>
Date: Mon Apr 5 08:04:48 1999 +0000
s/SETUIDGAME/SETGIDGAME/ - catch up with the rest of the world.
commit 6d265b3268a8a509db976e1e17e6907f32680f29
Author: hubertf <hubertf@NetBSD.org>
Date: Tue Nov 10 13:01:31 1998 +0000
constify, per PR 6148
commit 1c9494f62ba00343a6a84eda8de135f183beb31d
Author: hubertf <hubertf@NetBSD.org>
Date: Sun Sep 13 15:27:25 1998 +0000
mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)
commit eb2507ecb2638d29633dfdf249cb1fd701c41b01
Author: hubertf <hubertf@NetBSD.org>
Date: Fri Sep 11 14:11:57 1998 +0000
fix prototype, per PR#5867
commit 3fd99e163171cca1982bbcdb102bd251d42775ef
Author: hubertf <hubertf@NetBSD.org>
Date: Fri Sep 11 14:09:27 1998 +0000
fix prototypes, per PR#5867
commit 0ef663b102406848beabd378a52111289a3cfcce
Author: hubertf <hubertf@NetBSD.org>
Date: Fri Sep 11 14:07:51 1998 +0000
fix prototype of mon_sees(), per PR#5867
commit a6bb9f4ef15020c245099d00c341a1d2f69363e0
Author: mycroft <mycroft@NetBSD.org>
Date: Mon Jul 27 01:12:35 1998 +0000
const poisoning.
commit d6a8a3d395c14e36b575d28ad14985dc6e934764
Author: hubertf <hubertf@NetBSD.org>
Date: Tue Jul 21 07:01:54 1998 +0000
As per PR bin/5806 by Joseph Myers <jsm28@cam.ac.uk>/lash@tellabs.com:
- Init Random by time, not by pid
- Fix lossage with fire-spitting, monster-killing dragons
commit 2065ddb3dac2a6310bb2cf3c51e7b694968ac2b2
Author: jtc <jtc@NetBSD.org>
Date: Wed Feb 18 22:37:30 1998 +0000
Simply include -lcurses instead of -lcurses -ltermcap
commit 85bf72e14e2ea9f4d3d7772d6d437811817dbc1b
Author: christos <christos@NetBSD.org>
Date: Wed Feb 4 10:21:50 1998 +0000
Remove -lcompat; not needed
commit 6074e1b47654ff2c113ed2dc1f990d459a705dfc
Author: mrg <mrg@NetBSD.org>
Date: Thu Nov 20 00:12:30 1997 +0000
install games that need it setgid.
commit 009fbbc1265b6708b96319acfd21be37a42bc215
Author: lukem <lukem@NetBSD.org>
Date: Wed Oct 22 05:05:21 1997 +0000
use CPPFLAGS instead of CFLAGS
commit 71b1a377983828935b958cfb0efb4652b73bada0
Author: mycroft <mycroft@NetBSD.org>
Date: Wed Oct 15 12:43:35 1997 +0000
Better fix for the previous.
commit adbd0f4b08250abcc9dd9bcc2bfd65d7c6fec5ab
Author: is <is@NetBSD.org>
Date: Wed Oct 15 09:27:06 1997 +0000
make gcc happy on Sparc
commit 2736b51163f2ded03d28581b282a462fc5f91963
Author: lukem <lukem@NetBSD.org>
Date: Sun Oct 12 11:45:01 1997 +0000
WARNSify (not an insignificant task...)
commit e96e918e60f80e3791002802bc950e6fa6264c9f
Author: mycroft <mycroft@NetBSD.org>
Date: Sat Oct 11 09:34:07 1997 +0000
Use bsd.subdir.mk as appropriate.
commit 58efb9d20c4829df42e7736923c3a0ea01261cfc
Author: pk <pk@NetBSD.org>
Date: Sat May 17 19:24:44 1997 +0000
NULL => 0 (Arne Juul; PR#3629)
commit 2ea7b8f11adf6379cdd25285a96ecef1bfcaee81
Author: tls <tls@NetBSD.org>
Date: Tue Jan 7 12:24:57 1997 +0000
Sync to 4.4BSD-Lite2
commit c35b410216072361990a57e931597b72f3ece5c8
Author: mycroft <mycroft@NetBSD.org>
Date: Fri Apr 28 23:49:19 1995 +0000
Use POSIX tty semantics.
commit c4816c32b3ea8d79cb99051b0fb84cec01308e12
Author: cgd <cgd@NetBSD.org>
Date: Mon Apr 24 12:21:37 1995 +0000
Various changes to make games compile w/o warnings on the alpha:
Include appropriate includes, delete bogus function declarations,
change sizes of variables and casts.
commit 75fd9356aebd2a5c0c27d576faffe0a03ffd8207
Author: cgd <cgd@NetBSD.org>
Date: Sat Apr 22 11:18:35 1995 +0000
don't forget to install the docs.
commit 7ee35daafdaf9901fe48d8fe2ca3f387cead3f25
Author: cgd <cgd@NetBSD.org>
Date: Sat Apr 22 10:27:22 1995 +0000
clean up import, NetBSD RCS Ids
commit 4dfcb6d743815b7d7d706f014d78c7770a572689
Author: cgd <cgd@NetBSD.org>
Date: Sat Apr 22 10:20:57 1995 +0000
src/games/rogue from Lite
commit c4c01d75b2798c0b0d9625eb189ac07296c7d013
Author: cgd <cgd@NetBSD.org>
Date: Thu Dec 22 09:31:26 1994 +0000
specify man pages the new way.
commit 74dd75c26794ae377d0963d7e5d55964b7582b92
Author: cgd <cgd@NetBSD.org>
Date: Fri Apr 1 08:31:22 1994 +0000
don't -g by default
commit 02357d57aa0236870ec578b261598dbbe10d4f67
Author: cgd <cgd@NetBSD.org>
Date: Wed Nov 10 10:02:16 1993 +0000
new curses update
commit e6923339bf700769ebbdac62e3281b7fefd4ceef
Author: mycroft <mycroft@NetBSD.org>
Date: Thu Sep 23 22:28:42 1993 +0000
Use `r+' rather than `a+' when opening score file.
commit 3e1e16397efbba05150c104d09f1e7012511c581
Author: mycroft <mycroft@NetBSD.org>
Date: Tue Aug 10 16:33:14 1993 +0000
Rewrite special character handling.
commit d7631ce14a0d64bdf06b6c4f84617faeeef94af0
Author: jtc <jtc@NetBSD.org>
Date: Mon Aug 9 22:20:37 1993 +0000
Rogue stores scores in /var/games/rogue.scores, not .../rogue_roll.
commit 999a901e2b6df9e835b921d8b736c80ea81b48c0
Author: jtc <jtc@NetBSD.org>
Date: Thu Aug 5 03:28:31 1993 +0000
Convert to -mandoc macros.
commit 8542364e07b9d6aac635591de348e4db556b33c9
Author: mycroft <mycroft@NetBSD.org>
Date: Sun Aug 1 18:49:50 1993 +0000
Add RCS identifiers.
commit b1bd4afedcfe77e63f8da447a41937ab16966255
Author: mycroft <mycroft@NetBSD.org>
Date: Sun Aug 1 07:42:49 1993 +0000
Add RCS indentifiers.
commit cda4f8f6ee55684e8d311b86c99ea59191e6b74f
Author: mycroft <mycroft@NetBSD.org>
Date: Sun Aug 1 05:37:30 1993 +0000
Add RCS identifiers.
commit 61f282557f0bc41c0b762c629a2f4c14be8b7591
Author: cgd <cgd@NetBSD.org>
Date: Sun Mar 21 09:45:37 1993 +0000
initial import of 386bsd-0.1 sources
|