Home | History | Annotate | Download | only in morse
History log of /src/games/morse/morse.c
RevisionDateAuthorComments
 1.23  12-Oct-2024  rillig morse: clean up

No binary change on amd64.
 1.22  16-Jun-2024  rillig branches: 1.22.2;
games/morse: fix out-of-bounds memory read

Could be triggered by running 'morse äöü', caused by the typical
<ctype.h> usage mistake.
 1.21  16-Jun-2024  rillig games/morse: reduce runtime relocations, to save disk space
 1.20  01-Jun-2023  mrg add 2004's "@" definition.
 1.19  02-May-2021  rillig games: remove trailing whitespace in *.c and *.h
 1.18  16-Jan-2018  maya Add _, from Eitan Adler in PR bin/52897
 1.17  19-Jun-2012  dholland WARNS=5, and make WARNS=5 the default for src/games.
 1.16  12-Aug-2009  dholland branches: 1.16.6;
sprinkle static
 1.15  20-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
 1.14  28-Jan-2008  dholland branches: 1.14.6;
Make this build with WARNS=4 by not reusing names from ctype.h.
 1.13  13-Feb-2004  jsm branches: 1.13.22;
Encode and decode more characters. Don't put commas after every
character. Don't encode whitespace as "...". Don't fail decoding
across a 1024-byte boundary. Mark end of message appropriately. From
OpenBSD but with punctuation taken from ITU-T Recommendation F.1
(03/98).
 1.12  27-Jan-2004  jsm Remove uses of __P.
 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  03-Jul-2000  matt More include additions for exit, abs, strcmp, etc.
 1.9  08-May-2000  mycroft Use setgid(), not setregid().
 1.8  12-Sep-1999  jsm 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.
 1.7  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.6  18-Nov-1998  hubertf Add support for decoding of morse code.
 1.5  18-Nov-1998  hubertf fix usage
 1.4  10-Oct-1997  lukem WARNSify
 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.13.22.1  23-Mar-2008  matt sync with HEAD
 1.14.6.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.16.6.1  30-Oct-2012  yamt sync with head
 1.22.2.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed