| History log of /src/games/fortune/strfile |
| Revision | Date | Author | Comments |
| 1.10 | 26-Sep-2008 |
apb | Install unstr: * in games/fortune/Makefile, add unstr to SUBDIR; * in games/fortune/unstr/Makefile, include ../../Makefile.inc; * in games/fortune/strfile/Makefile, add MLINKS for unstr man page; * in distrib/sets/lists/games/mi, add new files.
|
| 1.9 | 26-Sep-2008 |
apb | Build strfile both as a host tool and as an installed program: * in games/fortune/strfile/Makefile, build strfile as a regular program instead of as a host tool; * add tools/strfile directory to build strfile as a host tool; * in tools/Makefile, add strfile to SUBDIR list; * in BSD.*.mk, define TOOL_STRFILE variable; * in games/fortune/datfiles/Makefile, use TOOL_STRFILE when creating databases at build time; * in distrib/sets/lists/games/mi, mention usr/games/strfile.
|
| 1.8 | 14-Apr-2000 |
simonb | Greatly simplify these by using <bsd.hostprog.mk>. Should do the same for games/hack and games/monop and a few other places, but that requires making subdirs for the tools. One day...
|
| 1.7 | 07-May-1997 |
mycroft | Use proginstall:: to disable installing PROG.
|
| 1.6 | 28-Apr-1997 |
thorpej | Allow this to be cross-compiled (in a manner consistent with boggle's host-only helper programs).
|
| 1.5 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.4 | 22-Dec-1994 |
cgd | specify man pages the new way.
|
| 1.3 | 03-Aug-1993 |
mycroft | Shouldn't use NOMAN here. We have a man page, even if we don't bother to install the program anyway.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.16 | 19-Sep-2013 |
uwe | Untabify the header definition to avoid misaligned comment on str_delim in PostScript output.
|
| 1.15 | 19-Sep-2013 |
uwe | Use .Fa instead of .Ar to refer to header fields.
|
| 1.14 | 04-Aug-2012 |
jdf | branches: 1.14.2; src/games/fortune/fortune/fortune.6: * reference strfile(8) in `SEE ALSO' section.
src/games/fortune/strfile/strfile.8: * remove redundant argument to (successive) `.Nm' macros.
src/games/fortune/datfiles/fortunes2: * remove (the least complete variant of a) double fortune.
Patch submitted by Bug Hunting.
|
| 1.13 | 17-Jan-2010 |
mbalmer | branches: 1.13.6; The default output file extension is '.dat', not '.out'. From Lars Nooden via OpenBSD.
|
| 1.12 | 09-Sep-2004 |
wiz | branches: 1.12.32; 1.12.38; Indent header description (from jmc@openbsd). Sort sections and remove a trailing space.
|
| 1.11 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.10 | 26-Sep-2002 |
wiz | Lots of minor fixes resulting from reading these man pages in detail.
|
| 1.9 | 26-Sep-2002 |
wiz | Ispell.
|
| 1.8 | 07-Nov-2000 |
lukem | remove unnecessary command name after .Nm
|
| 1.7 | 09-Sep-1999 |
simonb | Remove extra blank line in copyright.
|
| 1.6 | 21-Aug-1999 |
simonb | 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.
|
| 1.5 | 22-Mar-1999 |
garbled | More and more .Os cleanups. .Os is defined in the tmac.doc-common file, so we shouldn't override it with versions in the manpages. Many more to come.
|
| 1.4 | 03-Feb-1998 |
perry | 4.4BSD -> .Bx 4.4
|
| 1.3 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS indentifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.12.38.1 | 21-Apr-2010 |
matt | sync to netbsd-5
|
| 1.12.32.1 | 23-Jan-2010 |
bouyer | Pull up following revision(s) (requested by mbalmer in ticket #1250): games/fortune/strfile/strfile.8: revision 1.13 The default output file extension is '.dat', not '.out'. From Lars Nooden via OpenBSD.
|
| 1.13.6.2 | 22-May-2014 |
yamt | 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")
|
| 1.13.6.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.14.2.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.44 | 07-Aug-2022 |
andvar | fix various typos in comments, documentation and messages. mainly s/paramater/parameter/ and s/reduntant/redundant/.
|
| 1.43 | 02-May-2021 |
rillig | games: remove trailing whitespace in *.c and *.h
|
| 1.42 | 26-Jul-2020 |
nia | Revert arc4random usage for now
this is a host tool and needs to be portable
future plans: add arc4random to libnbcompat
|
| 1.41 | 21-Jul-2020 |
nia | fortune: arc4random_uniform for better uniform values than random() % ...
|
| 1.40 | 30-Apr-2020 |
christos | Simplify, errors to stderr.
|
| 1.39 | 29-Apr-2020 |
nia | strfile: Check that input/output filenames don't exceed the buffer size
|
| 1.38 | 19-Sep-2013 |
uwe | branches: 1.38.4; 1.38.6; 1.38.14; 1.38.18; 1.38.28; 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.
|
| 1.37 | 19-Sep-2013 |
uwe | Don't define TRUE/FALSE, which may conflict with host headers. TRUE is unused anyway. Replace all instances of FALSE with 0.
|
| 1.36 | 18-Sep-2013 |
uwe | #include "nbtool_config.h" to pull in getprogname() declaration.
|
| 1.35 | 13-Oct-2012 |
dholland | Pass -Wstrict-overflow.
|
| 1.34 | 31-Aug-2011 |
plunky | branches: 1.34.2; 1.34.8; NULL does not need a cast
|
| 1.33 | 17-Aug-2011 |
dholland | Remove redundant set of prototypes for local functions, exposed by previous.
|
| 1.32 | 17-Aug-2011 |
dholland | Move some things around so declarations appear in a reasonable order.
|
| 1.31 | 16-Aug-2011 |
dholland | Use __dead instead of __attribute__((__noreturn__)).
|
| 1.30 | 16-Aug-2011 |
christos | kill homebrew error functions
|
| 1.29 | 12-Aug-2009 |
dholland | sprinkle static
|
| 1.28 | 29-Sep-2008 |
agc | Make this build on Mac OS X.
|
| 1.27 | 26-Sep-2008 |
apb | Make this pass WARNS=4: * u_int32_t -> uint32_t, and remove ifdef test. * add function prototypes.
|
| 1.26 | 20-Jul-2008 |
lukem | Remove the \n and tabs from the __COPYRIGHT() strings.
|
| 1.25 | 18-Dec-2007 |
dogcow | branches: 1.25.6; 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>.
|
| 1.24 | 15-Dec-2007 |
perry | convert __attribute__s to applicable cdefs.h macros
|
| 1.23 | 19-Apr-2005 |
rillig | branches: 1.23.10; Fixed wrong use of the <ctype.h> functions by adding an explicit conversion to unsigned char. Approved by christos.
|
| 1.22 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.21 | 22-Jul-2001 |
wiz | seperate -> separate
|
| 1.20 | 31-Jul-2000 |
simonb | Use a local implementation of htonl() called h2nl(). htonl() is not available in all cross-compile environments.
Patches from Chris Demetriou.
|
| 1.19 | 13-Jan-2000 |
jsm | Remove unnecessary casts, and add necessary ones for printf arguments.
|
| 1.18 | 13-Jan-2000 |
jsm | Change __GCC__ to __GNUC__.
|
| 1.17 | 13-Jan-2000 |
jsm | Remove obsolete NO_VOID conditional.
|
| 1.16 | 30-Dec-1999 |
simonb | 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()).
|
| 1.15 | 07-Dec-1999 |
jsm | Fix a gcc -W warning (empty body in an else-statement).
|
| 1.14 | 18-Sep-1999 |
jsm | branches: 1.14.4; Fix -Wsign-compare warnings.
|
| 1.13 | 10-Sep-1999 |
jsm | Check for write errors in auxiliary programs used during build of games.
|
| 1.12 | 09-Sep-1999 |
jsm | Include <time.h> in various places in the games where time() or time_t are used.
|
| 1.11 | 08-Sep-1999 |
jsm | Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in the games.
|
| 1.10 | 08-Sep-1999 |
jsm | 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.
|
| 1.9 | 21-Aug-1999 |
simonb | 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.
|
| 1.8 | 13-Sep-1998 |
hubertf | mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)
|
| 1.7 | 11-Oct-1997 |
lukem | WARNSify, deprecate register
|
| 1.6 | 10-Oct-1997 |
lukem | WARNSify
|
| 1.5 | 13-Oct-1996 |
christos | <machine/endian.h> -> <sys/types.h>
|
| 1.4 | 24-Apr-1995 |
cgd | 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.
|
| 1.3 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.14.4.1 | 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
| 1.23.10.1 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.25.6.1 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.34.8.2 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.34.8.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.34.2.2 | 22-May-2014 |
yamt | 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")
|
| 1.34.2.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.38.28.1 | 30-Apr-2020 |
martin | 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.
|
| 1.38.18.1 | 30-Apr-2020 |
martin | 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.
|
| 1.38.14.1 | 30-Apr-2020 |
martin | 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.
|
| 1.38.6.1 | 30-Apr-2020 |
martin | 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.
|
| 1.38.4.1 | 30-Apr-2020 |
martin | 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.
|
| 1.7 | 19-Oct-2008 |
apb | Use uint32_t and include <stdint.h>, instead of using u_int32_t and including <sys/types.h>.
|
| 1.6 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.5 | 30-Dec-1999 |
simonb | No need to include <sys/endian.h> here - <sys/types.h> includes <machine/endian.h> which DTRT.
|
| 1.4 | 21-Aug-1999 |
simonb | 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.
|
| 1.3 | 23-Mar-1995 |
cgd | merge with Lite, new RCS id conventions, etc.
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|