The NetBSD Project

CVS log for src/games/fortune/strfile/strfile.c

[BACK] Up to [cvs.NetBSD.org] / src / games / fortune / strfile

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.44 / (download) - annotate - [select for diffs], Sun Aug 7 11:06:18 2022 UTC (20 months, 1 week ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

fix various typos in comments, documentation and messages.
mainly s/paramater/parameter/ and s/reduntant/redundant/.

Revision 1.43 / (download) - annotate - [select for diffs], Sun May 2 12:50:44 2021 UTC (2 years, 11 months ago) by rillig
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

games: remove trailing whitespace in *.c and *.h

Revision 1.42 / (download) - annotate - [select for diffs], Sun Jul 26 15:14:09 2020 UTC (3 years, 8 months ago) by nia
Branch: MAIN
Changes since 1.41: +3 -1 lines
Diff to previous 1.41 (colored)

Revert arc4random usage for now

this is a host tool and needs to be portable

future plans: add arc4random to libnbcompat

Revision 1.41 / (download) - annotate - [select for diffs], Tue Jul 21 03:05:40 2020 UTC (3 years, 8 months ago) by nia
Branch: MAIN
Changes since 1.40: +3 -5 lines
Diff to previous 1.40 (colored)

fortune: arc4random_uniform for better uniform values than random() % ...

Revision 1.38.6.1 / (download) - annotate - [select for diffs], Thu Apr 30 21:24:25 2020 UTC (3 years, 11 months ago) by martin
Branch: netbsd-7-0
Changes since 1.38: +16 -4 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Pull up following revision(s) (requested by nia in ticket #1729):

	games/fortune/strfile/strfile.c: revision 1.39
	games/fortune/unstr/unstr.c: revision 1.15

strfile: Check that input/output filenames don't exceed the buffer size
unstr: Check that the input filename fits in the buffer.

Revision 1.38.14.1 / (download) - annotate - [select for diffs], Thu Apr 30 16:24:03 2020 UTC (3 years, 11 months ago) by martin
Branch: netbsd-7-1
Changes since 1.38: +16 -4 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Pull up following revision(s) (requested by nia in ticket #1729):

	games/fortune/strfile/strfile.c: revision 1.39
	games/fortune/unstr/unstr.c: revision 1.15

strfile: Check that input/output filenames don't exceed the buffer size
unstr: Check that the input filename fits in the buffer.

Revision 1.38.4.1 / (download) - annotate - [select for diffs], Thu Apr 30 16:22:59 2020 UTC (3 years, 11 months ago) by martin
Branch: netbsd-7
Changes since 1.38: +16 -4 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Pull up following revision(s) (requested by nia in ticket #1729):

	games/fortune/strfile/strfile.c: revision 1.39
	games/fortune/unstr/unstr.c: revision 1.15

strfile: Check that input/output filenames don't exceed the buffer size
unstr: Check that the input filename fits in the buffer.

Revision 1.38.18.1 / (download) - annotate - [select for diffs], Thu Apr 30 16:21:14 2020 UTC (3 years, 11 months ago) by martin
Branch: netbsd-8
Changes since 1.38: +16 -4 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Pull up following revision(s) (requested by nia in ticket #1544):

	games/fortune/strfile/strfile.c: revision 1.39
	games/fortune/unstr/unstr.c: revision 1.15

strfile: Check that input/output filenames don't exceed the buffer size
unstr: Check that the input filename fits in the buffer.

Revision 1.38.28.1 / (download) - annotate - [select for diffs], Thu Apr 30 16:19:29 2020 UTC (3 years, 11 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.38: +16 -4 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Pull up following revision(s) (requested by nia in ticket #879):

	games/fortune/strfile/strfile.c: revision 1.39
	games/fortune/unstr/unstr.c: revision 1.15

strfile: Check that input/output filenames don't exceed the buffer size
unstr: Check that the input filename fits in the buffer.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Apr 30 12:32:26 2020 UTC (3 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.39: +18 -17 lines
Diff to previous 1.39 (colored)

Simplify, errors to stderr.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Apr 29 20:45:05 2020 UTC (3 years, 11 months ago) by nia
Branch: MAIN
Changes since 1.38: +16 -4 lines
Diff to previous 1.38 (colored)

strfile: Check that input/output filenames don't exceed the buffer size

Revision 1.34.8.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:00:22 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.34.8.1: +15 -24 lines
Diff to previous 1.34.8.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:36:22 2014 UTC (9 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.34.2.1: +15 -24 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.38 / (download) - annotate - [select for diffs], Thu Sep 19 00:34:00 2013 UTC (10 years, 7 months ago) by uwe
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, is-mlppp-base, is-mlppp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-9, netbsd-8, netbsd-7-1, netbsd-7-0, netbsd-7
Changes since 1.37: +3 -13 lines
Diff to previous 1.37 (colored)

Now that we use "nbtool_config.h" we can use __dead again and drop
local attempts to define its equivalent.

Also drop the comment that warns this file is a tool; use of
"nbtool_config.h" makes it evident.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Sep 19 00:18:52 2013 UTC (10 years, 7 months ago) by uwe
Branch: MAIN
Changes since 1.36: +10 -13 lines
Diff to previous 1.36 (colored)

Don't define TRUE/FALSE, which may conflict with host headers.
TRUE is unused anyway.  Replace all instances of FALSE with 0.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Sep 18 23:18:14 2013 UTC (10 years, 7 months ago) by uwe
Branch: MAIN
Changes since 1.35: +6 -2 lines
Diff to previous 1.35 (colored)

#include "nbtool_config.h" to pull in getprogname() declaration.

Revision 1.34.8.1 / (download) - annotate - [select for diffs], Tue Nov 20 02:58:47 2012 UTC (11 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.34: +7 -6 lines
Diff to previous 1.34 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Tue Oct 30 18:58:22 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.34: +7 -6 lines
Diff to previous 1.34 (colored)

sync with head

Revision 1.35 / (download) - annotate - [select for diffs], Sat Oct 13 20:42:56 2012 UTC (11 years, 6 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, agc-symver-base, agc-symver
Changes since 1.34: +7 -6 lines
Diff to previous 1.34 (colored)

Pass -Wstrict-overflow.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Aug 31 16:24:55 2011 UTC (12 years, 7 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

NULL does not need a cast

Revision 1.33 / (download) - annotate - [select for diffs], Wed Aug 17 18:17:40 2011 UTC (12 years, 8 months ago) by dholland
Branch: MAIN
Changes since 1.32: +2 -11 lines
Diff to previous 1.32 (colored)

Remove redundant set of prototypes for local functions, exposed by
previous.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Aug 17 18:16:51 2011 UTC (12 years, 8 months ago) by dholland
Branch: MAIN
Changes since 1.31: +32 -33 lines
Diff to previous 1.31 (colored)

Move some things around so declarations appear in a reasonable order.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Aug 16 19:53:03 2011 UTC (12 years, 8 months ago) by dholland
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

Use __dead instead of __attribute__((__noreturn__)).

Revision 1.30 / (download) - annotate - [select for diffs], Tue Aug 16 11:06:34 2011 UTC (12 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.29: +26 -45 lines
Diff to previous 1.29 (colored)

kill homebrew error functions

Revision 1.29 / (download) - annotate - [select for diffs], Wed Aug 12 06:06:28 2009 UTC (14 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: matt-premerge-20091211, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.28: +15 -15 lines
Diff to previous 1.28 (colored)

sprinkle static

Revision 1.28 / (download) - annotate - [select for diffs], Mon Sep 29 12:30:12 2008 UTC (15 years, 6 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Changes since 1.27: +3 -2 lines
Diff to previous 1.27 (colored)

Make this build on Mac OS X.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Sep 26 13:46:48 2008 UTC (15 years, 6 months ago) by apb
Branch: MAIN
Changes since 1.26: +37 -41 lines
Diff to previous 1.26 (colored)

Make this pass WARNS=4:
* u_int32_t -> uint32_t, and remove ifdef test.
* add function prototypes.

Revision 1.25.6.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:39:57 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jul 20 01:03:21 2008 UTC (15 years, 9 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

Remove the \n and tabs from the __COPYRIGHT() strings.

Revision 1.23.10.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:30:49 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.23: +9 -3 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

sync with HEAD

Revision 1.25 / (download) - annotate - [select for diffs], Tue Dec 18 08:45:03 2007 UTC (16 years, 4 months ago) by dogcow
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-1, wrstuden-revivesa-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base
Branch point for: wrstuden-revivesa
Changes since 1.24: +8 -2 lines
Diff to previous 1.24 (colored)

more __dead fallout: these two files are built for the native host, not
for the target host - and thus do not necessarily have __dead defined in
<sys/cdefs.h>.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Dec 15 19:44:40 2007 UTC (16 years, 4 months ago) by perry
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

convert __attribute__s to applicable cdefs.h macros

Revision 1.23 / (download) - annotate - [select for diffs], Tue Apr 19 20:16:19 2005 UTC (19 years ago) by rillig
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: matt-armv6
Changes since 1.22: +5 -5 lines
Diff to previous 1.22 (colored)

Fixed wrong use of the <ctype.h> functions by adding an explicit conversion
to unsigned char. Approved by christos.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Aug 7 09:37:14 2003 UTC (20 years, 8 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.21: +3 -7 lines
Diff to previous 1.21 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Jul 22 13:34:00 2001 UTC (22 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, fvdl_fs64_base
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

seperate -> separate

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jul 31 11:32:33 2000 UTC (23 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.19: +22 -7 lines
Diff to previous 1.19 (colored)

Use a local implementation of htonl() called h2nl().  htonl() is not
available in all cross-compile environments.

Patches from Chris Demetriou.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Jan 13 16:22:10 2000 UTC (24 years, 3 months ago) by jsm
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.18: +6 -6 lines
Diff to previous 1.18 (colored)

Remove unnecessary casts, and add necessary ones for printf arguments.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jan 13 16:20:27 2000 UTC (24 years, 3 months ago) by jsm
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Change __GCC__ to __GNUC__.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jan 13 16:19:36 2000 UTC (24 years, 3 months ago) by jsm
Branch: MAIN
Changes since 1.16: +2 -6 lines
Diff to previous 1.16 (colored)

Remove obsolete NO_VOID conditional.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Dec 30 01:32:33 1999 UTC (24 years, 3 months ago) by simonb
Branch: MAIN
Changes since 1.15: +82 -51 lines
Diff to previous 1.15 (colored)

Don't use any NetBSD specific features (<err.h> and friends mainly
- replaiced with local die() and dieperror() routines).  Use ANSI
prototypes (no dependance on the __P() macro).  Add new fwrite_be_offt()
function which writes out a big-endian 64bit number regards of the size
of off_t on the host machine.  Remove unused unctrl() function.

Now builds correct fortune .dat files on non-NetBSD machines as well
- tested on Ultrix and Solaris (but Solaris needs -lsocket to get
htonl()).

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:29:01 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.14: +4 -9 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Pull up to last week's -current.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Dec 7 23:07:39 1999 UTC (24 years, 4 months ago) by jsm
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.14: +4 -9 lines
Diff to previous 1.14 (colored)

Fix a gcc -W warning (empty body in an else-statement).

Revision 1.14 / (download) - annotate - [select for diffs], Sat Sep 18 19:38:50 1999 UTC (24 years, 7 months ago) by jsm
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

Fix -Wsign-compare warnings.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Sep 10 00:18:21 1999 UTC (24 years, 7 months ago) by jsm
Branch: MAIN
Changes since 1.12: +5 -2 lines
Diff to previous 1.12 (colored)

Check for write errors in auxiliary programs used during build of games.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Sep 9 17:30:19 1999 UTC (24 years, 7 months ago) by jsm
Branch: MAIN
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored)

Include <time.h> in various places in the games where time() or time_t
are used.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Sep 8 21:57:17 1999 UTC (24 years, 7 months ago) by jsm
Branch: MAIN
Changes since 1.10: +6 -6 lines
Diff to previous 1.10 (colored)

Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in
the games.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Sep 8 21:17:49 1999 UTC (24 years, 7 months ago) by jsm
Branch: MAIN
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored)

Add use of `const' 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).

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.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Aug 21 07:02:46 1999 UTC (24 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.8: +9 -9 lines
Diff to previous 1.8 (colored)

Use new endian-specific conversion macros - 64-bit off_t's are now
the stored the same regardess of the byte order of the generating
host.

Note in the strfile(8) man page that all fields are big-endian, not
in network byte order.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Sep 13 15:27:28 1998 UTC (25 years, 7 months ago) by hubertf
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)

Revision 1.7 / (download) - annotate - [select for diffs], Sat Oct 11 07:48:58 1997 UTC (26 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.6: +60 -50 lines
Diff to previous 1.6 (colored)

WARNSify, deprecate register

Revision 1.6 / (download) - annotate - [select for diffs], Fri Oct 10 13:04:42 1997 UTC (26 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

WARNSify

Revision 1.5 / (download) - annotate - [select for diffs], Sun Oct 13 00:01:05 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

<machine/endian.h> -> <sys/types.h>

Revision 1.4 / (download) - annotate - [select for diffs], Mon Apr 24 12:23:09 1995 UTC (29 years ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored)

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.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Mar 23 08:28:47 1995 UTC (29 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.2: +12 -7 lines
Diff to previous 1.2 (colored)

merge with Lite, new RCS id conventions, etc.

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Tue Mar 21 15:51:30 1995 UTC (29 years, 1 month ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: lite-2, lite-1
Changes since 1.1.1.1: +6 -6 lines
Diff to previous 1.1.1.1 (colored)

from Lite

Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 1 18:54:43 1993 UTC (30 years, 8 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

Add RCS identifiers.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (31 years, 1 month ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (31 years, 1 month ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>