]> git.pond.sub.org Git - empserver/log
empserver
20 years agoFix previous rev.
Markus Armbruster [Tue, 10 Feb 2004 18:11:44 +0000 (18:11 +0000)]
Fix previous rev.

20 years agoFix the previous revision.
Markus Armbruster [Tue, 10 Feb 2004 13:57:23 +0000 (13:57 +0000)]
Fix the previous revision.

20 years agoDocument production, feeding and plague for units.
Markus Armbruster [Tue, 10 Feb 2004 13:54:18 +0000 (13:54 +0000)]
Document production, feeding and plague for units.

20 years ago(move_ground): explore() used endsect without initialized in certain
Markus Armbruster [Tue, 10 Feb 2004 10:49:21 +0000 (10:49 +0000)]
(move_ground): explore() used endsect without initialized in certain
cases, e.g. `expl X,Y N X,Y'.  Other callers might have had similar
problems.  Fix: always assign to *END.  Thanks to Marc Olzheim for
help with debugging and fixing this.

20 years agoDo not regenerate mobility faster while it is negative.
Markus Armbruster [Tue, 10 Feb 2004 08:22:13 +0000 (08:22 +0000)]
Do not regenerate mobility faster while it is negative.

20 years agoFix markup.
Markus Armbruster [Tue, 10 Feb 2004 08:17:28 +0000 (08:17 +0000)]
Fix markup.

20 years agoFix .NA and .TH.
Markus Armbruster [Tue, 10 Feb 2004 08:14:34 +0000 (08:14 +0000)]
Fix .NA and .TH.

20 years agoCreate info.text.tar.gz and info.html.tar.gz.
Markus Armbruster [Sat, 7 Feb 2004 02:23:00 +0000 (02:23 +0000)]
Create info.text.tar.gz and info.html.tar.gz.

20 years ago(iom, fdmax, newoutput): Serve no purpose since previous rev., remove
Markus Armbruster [Sat, 7 Feb 2004 02:01:47 +0000 (02:01 +0000)]
(iom, fdmax, newoutput): Serve no purpose since previous rev., remove
along with code to maintain them.  This removes the last uses of
io_mask.c io_mask.h; remove them.

20 years ago(install, ntinstall): Create the data directory.
Markus Armbruster [Sat, 7 Feb 2004 01:49:35 +0000 (01:49 +0000)]
(install, ntinstall): Create the data directory.
(ntinstall): Remove erroneous and superflous mkdir bin.

20 years agoUpdate for 4.2.13.
Markus Armbruster [Sat, 7 Feb 2004 01:22:53 +0000 (01:22 +0000)]
Update for 4.2.13.

20 years agoRemove outdated version information for now. Keeping it up-to-date by
Markus Armbruster [Sat, 7 Feb 2004 01:19:00 +0000 (01:19 +0000)]
Remove outdated version information for now.  Keeping it up-to-date by
hand is too much work; should be automated.

20 years agoNew make target dist, to run new src/scripts/mkdist.
Markus Armbruster [Sat, 7 Feb 2004 01:09:22 +0000 (01:09 +0000)]
New make target dist, to run new src/scripts/mkdist.

20 years agoCreating make include files with make doesn't work with many makes out
Markus Armbruster [Sat, 7 Feb 2004 00:54:35 +0000 (00:54 +0000)]
Creating make include files with make doesn't work with many makes out
there.  Back out for 4.2.13.  You have to create the make include
files by hand if they don't exist.  That's the case for freshly
checked out trees.

20 years ago(show, show_item): No new `show' features without matching machine
Markus Armbruster [Sat, 7 Feb 2004 00:27:45 +0000 (00:27 +0000)]
(show, show_item): No new `show' features without matching machine
readable dumps.  Back out `show item' for 4.2.13.

20 years ago(nuk_add): Failed to call makenotlost() when reusing a `hole' in the
Markus Armbruster [Fri, 6 Feb 2004 23:52:11 +0000 (23:52 +0000)]
(nuk_add): Failed to call makenotlost() when reusing a `hole' in the
nuke file.

20 years ago(RESOLVE_IPADDRESS): gethostbyaddr() uses a lot of stack space on some
Markus Armbruster [Fri, 6 Feb 2004 23:42:36 +0000 (23:42 +0000)]
(RESOLVE_IPADDRESS): gethostbyaddr() uses a lot of stack space on some
versions of GNU libc, which can lead to nasty heap smashes (observed
with 2.2.93).  Don't define RESOLVE_IPADDRESS for now, until we
readjust thread stack sizes.

20 years agoDocument help command. Closes #804550.
Markus Armbruster [Fri, 6 Feb 2004 23:39:59 +0000 (23:39 +0000)]
Document help command.  Closes #804550.

20 years agoUseless copy of an old version of Makefile, remove.
Markus Armbruster [Fri, 6 Feb 2004 23:34:21 +0000 (23:34 +0000)]
Useless copy of an old version of Makefile, remove.

20 years agoWhitespace fix.
Markus Armbruster [Fri, 6 Feb 2004 23:32:15 +0000 (23:32 +0000)]
Whitespace fix.

20 years agoNo need to pass -nsob, it's implied by -kr.
Markus Armbruster [Fri, 6 Feb 2004 23:30:47 +0000 (23:30 +0000)]
No need to pass -nsob, it's implied by -kr.

20 years agoIndentation fix.
Markus Armbruster [Fri, 6 Feb 2004 23:26:25 +0000 (23:26 +0000)]
Indentation fix.

20 years ago(fly): Fix confusing line break.
Markus Armbruster [Fri, 6 Feb 2004 23:17:50 +0000 (23:17 +0000)]
(fly): Fix confusing line break.

20 years ago(doland): Fix output (run-away replace?).
Markus Armbruster [Fri, 6 Feb 2004 23:15:07 +0000 (23:15 +0000)]
(doland): Fix output (run-away replace?).

20 years agoFix previous rev.
Markus Armbruster [Fri, 6 Feb 2004 23:07:18 +0000 (23:07 +0000)]
Fix previous rev.

20 years ago(ca): Unused, remove.
Markus Armbruster [Fri, 6 Feb 2004 23:02:05 +0000 (23:02 +0000)]
(ca): Unused, remove.

20 years ago(LINUXPTHCFLAGS): Really don't define __USE_BSD_SIGNAL.
Markus Armbruster [Fri, 6 Feb 2004 22:57:31 +0000 (22:57 +0000)]
(LINUXPTHCFLAGS): Really don't define __USE_BSD_SIGNAL.

20 years ago(LINUXCFLAGS, LINUXPTHCFLAGS): Don't define lint and __USE_BSD_SIGNAL.
Markus Armbruster [Fri, 6 Feb 2004 22:53:41 +0000 (22:53 +0000)]
(LINUXCFLAGS, LINUXPTHCFLAGS): Don't define lint and __USE_BSD_SIGNAL.
The latter can't be found anywhere in source or system headers.

20 years ago(OSXCFLAGS): Don't switch gcc to cruft mode.
Markus Armbruster [Fri, 6 Feb 2004 22:43:35 +0000 (22:43 +0000)]
(OSXCFLAGS): Don't switch gcc to cruft mode.
(OSXLFLAGS): Don't sweep undefined references under the carpet; link
with the right libraries instead.
(LINUXCFLAGS, LINUXPTHCFLAGS): Compile with symbols.

20 years agoCorrect info on mining harbors. Closes #827442.
Markus Armbruster [Fri, 6 Feb 2004 22:31:05 +0000 (22:31 +0000)]
Correct info on mining harbors.  Closes #827442.

20 years agoFix BTU cost. Closes #782956.
Markus Armbruster [Fri, 6 Feb 2004 22:22:51 +0000 (22:22 +0000)]
Fix BTU cost.  Closes #782956.

20 years agoDelete lie about give without arguments. Closes #804709.
Markus Armbruster [Fri, 6 Feb 2004 22:14:47 +0000 (22:14 +0000)]
Delete lie about give without arguments.  Closes #804709.

20 years agoDocument effect of BLITZ. Delete lies about the total number of
Markus Armbruster [Fri, 6 Feb 2004 22:11:13 +0000 (22:11 +0000)]
Document effect of BLITZ.  Delete lies about the total number of
players display.  Closes #809867.

20 years ago.SA starts a paragraph.
Markus Armbruster [Fri, 6 Feb 2004 21:30:08 +0000 (21:30 +0000)]
.SA starts a paragraph.

20 years agoSpelling fix.
Markus Armbruster [Fri, 6 Feb 2004 21:28:55 +0000 (21:28 +0000)]
Spelling fix.

20 years agoProperly escape `\'. Fix info on sector capabilities. Closes
Markus Armbruster [Fri, 6 Feb 2004 21:27:15 +0000 (21:27 +0000)]
Properly escape `\'.  Fix info on sector capabilities.  Closes
#861874.

20 years agoFix off-by-one in arguments of substr() that ate first letter of .SY,
Markus Armbruster [Fri, 6 Feb 2004 19:31:41 +0000 (19:31 +0000)]
Fix off-by-one in arguments of substr() that ate first letter of .SY,
.EX and .L text.

20 years agoGarbage collection to side-step sparse file descriptor problem.
Markus Armbruster [Fri, 6 Feb 2004 12:35:51 +0000 (12:35 +0000)]
Garbage collection to side-step sparse file descriptor problem.
(io_select, io_flush, io_iopfromfd): Unused, remove.
(io_open): Allow more than one open for the same file descriptor.
The check is the last remaining use of io_list[], and it's
unimportant.
(io_list, niop, io_init): io_list[] no longer serves any purpose,
remove.  Sparse allocation of file descriptors (deplorable misfeature
of Winsock, at least some versions) is no longer a problem.
(getfdtablesize): Unused, remove.  Was broken for Windows anyway.

20 years ago(io_open, io_iopfromfd): Properly check argument FD to protect
Markus Armbruster [Fri, 6 Feb 2004 12:12:58 +0000 (12:12 +0000)]
(io_open, io_iopfromfd): Properly check argument FD to protect
io_list[] indexing.
(niop, io_init): Store length of io_list[] in new niop.
(player_accept): Checking the socket file descriptor here is now
redundant.  Remove.

20 years ago(msl_hit): Tell victim coordinates of incoming missile. Closes
Markus Armbruster [Thu, 5 Feb 2004 16:29:32 +0000 (16:29 +0000)]
(msl_hit): Tell victim coordinates of incoming missile.  Closes
#799873.  From Marc Olzheim.

20 years ago(rpt): Fix rpt[N_NUKE_SSTOP]; not every sub-launched missile is
Markus Armbruster [Thu, 5 Feb 2004 16:15:13 +0000 (16:15 +0000)]
(rpt): Fix rpt[N_NUKE_SSTOP]; not every sub-launched missile is
nuclear.  Closes #797330.  From Marc Olzheim.

20 years ago(landmine): Add a missing call of putland(). Closes #682570. Don't
Markus Armbruster [Thu, 5 Feb 2004 16:03:59 +0000 (16:03 +0000)]
(landmine): Add a missing call of putland().  Closes #682570.  Don't
complain about running out of things when the job actually completed
fine.  From Marc Olzheim.

20 years ago(player_coms): Fix flag argument of map commands in c_form. From Marc
Markus Armbruster [Tue, 3 Feb 2004 17:27:51 +0000 (17:27 +0000)]
(player_coms): Fix flag argument of map commands in c_form.  From Marc
Olzheim.

20 years ago(map): Reject flags `t' and `r' unless it's a bmap command. Both used
Markus Armbruster [Tue, 3 Feb 2004 17:24:05 +0000 (17:24 +0000)]
(map): Reject flags `t' and `r' unless it's a bmap command.  Both used
to change the map command into the corresponding bmap command, which
was undocumented and didn't make sense.  From Marc Olzheim.

20 years ago(wripglob): Don't emit unnecessary includes.
Markus Armbruster [Tue, 3 Feb 2004 17:16:06 +0000 (17:16 +0000)]
(wripglob): Don't emit unnecessary includes.

20 years ago(wrgamesdef): Generate EMPDIR instead of EMPPATH(). Change callers of
Markus Armbruster [Sat, 31 Jan 2004 19:33:00 +0000 (19:33 +0000)]
(wrgamesdef): Generate EMPDIR instead of EMPPATH().  Change callers of
EMPPATH() to use EMPDIR.  This avoids triggering MSVC bugs, and drops
support for traditional, pre-ISO cpp.  Closes #753935.
(gamedir, lostfil, playerbin, updatebin): Unused, remove.

20 years ago(payo, scuttle_tradeship, sdump): Disclose construction site only to
Markus Armbruster [Sat, 31 Jan 2004 10:03:49 +0000 (10:03 +0000)]
(payo, scuttle_tradeship, sdump): Disclose construction site only to
original owner and deities.  Closes #815197.

20 years ago(KILL): Off by one in fnlist[]. This is why client option -k didn't
Markus Armbruster [Sat, 31 Jan 2004 09:42:34 +0000 (09:42 +0000)]
(KILL): Off by one in fnlist[].  This is why client option -k didn't
work.
(WAT, GKILL): Unused, remove.

20 years agoRemove outdated version information for now. Keeping it up-to-date by
Markus Armbruster [Fri, 30 Jan 2004 21:49:54 +0000 (21:49 +0000)]
Remove outdated version information for now.  Keeping it up-to-date by
hand is too much work; should be automated.

20 years agoProtect space between option and option arg, so that typesetting doesn't
Markus Armbruster [Fri, 30 Jan 2004 21:11:11 +0000 (21:11 +0000)]
Protect space between option and option arg, so that typesetting doesn't
swallow it.

20 years ago(do_mob_land): Do not regenerate mobility faster while it is negative.
Markus Armbruster [Fri, 30 Jan 2004 16:20:45 +0000 (16:20 +0000)]
(do_mob_land): Do not regenerate mobility faster while it is negative.

20 years agoAdd missing pages on sbmap, pbmap, lbmap. Document flags * and h
Markus Armbruster [Fri, 30 Jan 2004 15:38:48 +0000 (15:38 +0000)]
Add missing pages on sbmap, pbmap, lbmap.  Document flags * and h
where that was missing.  Make all pages fully consistent.  Form Marc
Olzheim.

20 years ago(file_lock, file_unlock, ef_lock, ef_unlock, commlock, communlock):
Markus Armbruster [Thu, 29 Jan 2004 17:07:26 +0000 (17:07 +0000)]
(file_lock, file_unlock, ef_lock, ef_unlock, commlock, communlock):
File locking doesn't make sense, must be a leftover from the distant
past.  Remove.  Callers changed.

20 years ago(fort): Refuse to fortify land units embarked on land units. Properly
Markus Armbruster [Thu, 29 Jan 2004 13:36:25 +0000 (13:36 +0000)]
(fort): Refuse to fortify land units embarked on land units.  Properly
report failure to fortify.

20 years ago(lnd_fortify): Do not fortify units embarked on ships or land units.
Markus Armbruster [Thu, 29 Jan 2004 13:34:15 +0000 (13:34 +0000)]
(lnd_fortify): Do not fortify units embarked on ships or land units.

20 years ago(take_move_in_mob): Automatic fortification on excess mobility may
Markus Armbruster [Thu, 29 Jan 2004 11:55:26 +0000 (11:55 +0000)]
(take_move_in_mob): Automatic fortification on excess mobility may
fortify units while they are `at the prompt'.  That's okay.  But
action that consumes mobility must zap the fortification again.

20 years ago(player_coms): Fix c_form for upgrade. From Marc Olzheim.
Markus Armbruster [Wed, 28 Jan 2004 22:12:27 +0000 (22:12 +0000)]
(player_coms): Fix c_form for upgrade.  From Marc Olzheim.

20 years agoUse strict & warnings. Fix several minor bugs uncovered by it.
Markus Armbruster [Wed, 28 Jan 2004 21:21:48 +0000 (21:21 +0000)]
Use strict & warnings.  Fix several minor bugs uncovered by it.

Semantics of assigning to $[ changed in Perl 5, and its use is `highly
discouraged'.  Programs obviously assumed $[ affects all arrays, but
it doesn't in Perl 5.  If these programs ever worked, then certainly
not with Perl 5.  Remove the assignments and shift indexes
accordingly.

20 years agoDocument automatic fortification. Clarify engineer bonus.
Markus Armbruster [Wed, 28 Jan 2004 21:14:50 +0000 (21:14 +0000)]
Document automatic fortification.  Clarify engineer bonus.

20 years ago(guerrilla): Give wandering che inexact, somewhat randomized
Markus Armbruster [Wed, 28 Jan 2004 19:30:15 +0000 (19:30 +0000)]
(guerrilla): Give wandering che inexact, somewhat randomized
information on military.  Closes #750533.  Why?  Wandering che pick a
sector with minimal military from the adjacent sectors that can get
che.  Ties are broken in favour of the first sector examined.  Since
sectors are examined in the order given by by diroff[], che prefer
directions with low index in diroff[].  This tends to channel che
towards the northeast.  But the change makes ties very unlikely.

20 years ago(lnd_sweep, lnd_mar_one_sector): Automatic fortification on excess
Markus Armbruster [Wed, 28 Jan 2004 19:02:29 +0000 (19:02 +0000)]
(lnd_sweep, lnd_mar_one_sector): Automatic fortification on excess
mobility may fortify units while they are `at the march prompt'.
That's okay.  But action that consumes mobility must zap the
fortification again.

20 years ago(do_mob_land): Use excess mobility to fortify. Note that units
Markus Armbruster [Wed, 28 Jan 2004 17:00:29 +0000 (17:00 +0000)]
(do_mob_land): Use excess mobility to fortify.  Note that units
requiring fuel to gain mobility never get excess mobility.  Adapted
patch from from Marc Olzheim.  Closes #725457.

20 years ago(is_engineer, has_helpful_engineer): Rename. Require allied
Markus Armbruster [Wed, 28 Jan 2004 10:46:57 +0000 (10:46 +0000)]
(is_engineer, has_helpful_engineer): Rename.  Require allied
engineers.  This affecs command `fortify'.

20 years ago(lnd_fortify): New, factored out of fort().
Markus Armbruster [Wed, 28 Jan 2004 09:31:22 +0000 (09:31 +0000)]
(lnd_fortify): New, factored out of fort().
(fort): Use it; no functional changes.
(is_engineer): Move to logical place, external linkage.

20 years agoRemove declarations of stuff that doesn't exist.
Markus Armbruster [Wed, 28 Jan 2004 09:27:28 +0000 (09:27 +0000)]
Remove declarations of stuff that doesn't exist.

20 years agoFix typo. Closes #824252.
Markus Armbruster [Fri, 23 Jan 2004 16:48:23 +0000 (16:48 +0000)]
Fix typo.  Closes #824252.

20 years ago(player_new): Proper error checking. Oops, now it may return NULL.
Markus Armbruster [Fri, 23 Jan 2004 13:44:19 +0000 (13:44 +0000)]
(player_new): Proper error checking.  Oops, now it may return NULL.
Proper error checking in callers required.
(update_wait, market_update): If player_new() returns null pointer,
skip update.
(player_accept): If player_new() returns null pointer, close
connection.

20 years ago(map, draw_map, MAP_HIGH): New map command flag `h' to highlight own
Markus Armbruster [Wed, 21 Jan 2004 14:54:56 +0000 (14:54 +0000)]
(map, draw_map, MAP_HIGH): New map command flag `h' to highlight own
sectors; from Marc Olzheim.

20 years ago(sabo): Damage report to player was in deity coordinates, fix. Closes
Markus Armbruster [Wed, 21 Jan 2004 10:37:56 +0000 (10:37 +0000)]
(sabo): Damage report to player was in deity coordinates, fix.  Closes
#856856.

20 years agoDon't explain sector production twice; replace one copy by a
Markus Armbruster [Tue, 20 Jan 2004 21:37:17 +0000 (21:37 +0000)]
Don't explain sector production twice; replace one copy by a
reference.  Document execution of ship orders and sail paths.

20 years ago(ROLLOVER_AVAIL, opt_ROLLOVER_AVAIL, Options, do_feed, prod, newe):
Markus Armbruster [Tue, 20 Jan 2004 16:51:43 +0000 (16:51 +0000)]
(ROLLOVER_AVAIL, opt_ROLLOVER_AVAIL, Options, do_feed, prod, newe):
New option ROLLOVER_AVAIL; from Drake Diedrich.

20 years ago[apollo]: Tables were gutted for unknown reasons. Don't.
Markus Armbruster [Tue, 20 Jan 2004 15:50:11 +0000 (15:50 +0000)]
[apollo]: Tables were gutted for unknown reasons.  Don't.

20 years ago[_WIN32] Fix previous rev.
Markus Armbruster [Tue, 20 Jan 2004 15:43:44 +0000 (15:43 +0000)]
[_WIN32] Fix previous rev.

20 years ago(empth_exit): Fix shutdown on reading "quit" from stdin (crash bug,
Markus Armbruster [Thu, 15 Jan 2004 16:29:53 +0000 (16:29 +0000)]
(empth_exit): Fix shutdown on reading "quit" from stdin (crash bug,
reportedly).

20 years agoFix previous rev.
Markus Armbruster [Thu, 15 Jan 2004 14:39:24 +0000 (14:39 +0000)]
Fix previous rev.

20 years ago(io_select, io_init, io_open, io_close, io_output, io_flush, io_write,
Markus Armbruster [Thu, 15 Jan 2004 14:32:00 +0000 (14:32 +0000)]
(io_select, io_init, io_open, io_close, io_output, io_flush, io_write,
io_puts, iom_create, iom_getmask, iom_set, iom_clear, iom_zero):
Portability bug: io_select() passed bit_fdmask to select().  This
breaks the fd_set abstraction, and works only with the traditional
Unix implementation of fd_set.  Use fd_set and its operations instead.
Remove unused source files.  Note: the offending code is currently
unsued.  But it's a time bomb, and fixing it also replaces a bunch of
code by standard library services.

20 years agoUnused, remove.
Markus Armbruster [Thu, 15 Jan 2004 14:07:15 +0000 (14:07 +0000)]
Unused, remove.

20 years agoMerge Makefile rev. 1.5. Update dependencies.
Markus Armbruster [Thu, 15 Jan 2004 13:49:40 +0000 (13:49 +0000)]
Merge Makefile rev. 1.5.  Update dependencies.

20 years agoPortability fixes: don't declare library functions, include
Markus Armbruster [Thu, 15 Jan 2004 13:43:50 +0000 (13:43 +0000)]
Portability fixes: don't declare library functions, include
appropriate headers.  Also remove some unused declarations.

20 years ago(main): Portability bug: code passed bit_fdmask to select(). This
Markus Armbruster [Thu, 15 Jan 2004 09:39:51 +0000 (09:39 +0000)]
(main): Portability bug: code passed bit_fdmask to select().  This
breaks the fd_set abstraction, and works only with the traditional
Unix implementation of fd_set.  Use fd_set and its operations instead.
Remove unused source files.

20 years agoFix previous rev.
Markus Armbruster [Thu, 15 Jan 2004 09:37:06 +0000 (09:37 +0000)]
Fix previous rev.

20 years agoRegenerated. Should be automatically generated by make and removed
Markus Armbruster [Tue, 13 Jan 2004 18:48:00 +0000 (18:48 +0000)]
Regenerated.  Should be automatically generated by make and removed
from the repository.

20 years ago(player_coms, lstats, lsta): Rename command `lstats' to `lstat' to
Markus Armbruster [Tue, 13 Jan 2004 18:46:48 +0000 (18:46 +0000)]
(player_coms, lstats, lsta): Rename command `lstats' to `lstat' to
match info as well as related commands `sstat' and `pstat'.  Rename
lstats() to lsta() to uphold the convention that functions
implementing commands are named like the command or its four character
prefix.  Closes #804587.

20 years ago(player_coms, best): `bestdistpath' and `bestpath' violate the rule
Markus Armbruster [Tue, 13 Jan 2004 18:23:26 +0000 (18:23 +0000)]
(player_coms, best): `bestdistpath' and `bestpath' violate the rule
that commands must be unique within the first four letters.  best()
implements both.  It calls BestDistPath() for the former, and
BestLandPath() for the latter.  However, BestDistPath() is just a
wrapper around BestLandPath(); it does exactly the same.  Drop
`bestdistpath'.

20 years ago(mineq): Rewrite. mineq("dumpcrap", "dump ") now yields ME_MISMATCH
Markus Armbruster [Tue, 13 Jan 2004 17:23:02 +0000 (17:23 +0000)]
(mineq): Rewrite.  mineq("dumpcrap", "dump ") now yields ME_MISMATCH
instead of ME_PARTIAL.  Closes #804611.

20 years ago(index, rindex): Obsolete BSDisms; remove. Use standard strchr() and
Markus Armbruster [Tue, 13 Jan 2004 10:32:35 +0000 (10:32 +0000)]
(index, rindex): Obsolete BSDisms; remove.  Use standard strchr() and
strrchr() instead.

20 years ago(ask_olist): Fix reporting of mobility required for attack. Closes
Markus Armbruster [Mon, 12 Jan 2004 20:13:28 +0000 (20:13 +0000)]
(ask_olist): Fix reporting of mobility required for attack.  Closes
#798045.

20 years ago(do_desi): Move check for redesignated capital behind the actual
Markus Armbruster [Mon, 12 Jan 2004 17:28:22 +0000 (17:28 +0000)]
(do_desi): Move check for redesignated capital behind the actual
redesignation.  Closes #803768.

20 years ago(index, rindex): Obsolete BSDisms; remove. Use standard strchr() and
Markus Armbruster [Thu, 8 Jan 2004 18:15:13 +0000 (18:15 +0000)]
(index, rindex): Obsolete BSDisms; remove.  Use standard strchr() and
strrchr() instead.
(setbuffer): Obsolete BSDism, unused; remove.

20 years ago(bzero, bcopy): Obsolete BSDisms; remove. Remove some calls without
Markus Armbruster [Thu, 8 Jan 2004 17:54:28 +0000 (17:54 +0000)]
(bzero, bcopy): Obsolete BSDisms; remove.  Remove some calls without
effect.  Replace calls by struct assignment where possible.  Replace
clear buffer, copy string to buffer by strncpy().  Use assignment to
clear when that's clearer.  Replace overlapping copy through bounce
buffer by memmove().  Replace rest by standard memset() and memcpy().
Also use sizeof() instead of literal array sizes for robustness, and
instead of symbolic array sizes for clarity.

20 years agoFix missing include <string.h>.
Markus Armbruster [Thu, 8 Jan 2004 17:26:18 +0000 (17:26 +0000)]
Fix missing include <string.h>.

20 years ago(copy, atopi, same): Remove, use strcpy(), atoi(), strcmp(). Callers
Markus Armbruster [Thu, 8 Jan 2004 10:20:44 +0000 (10:20 +0000)]
(copy, atopi, same): Remove, use strcpy(), atoi(), strcmp().  Callers
changed.  Remove empty source files.

20 years agoRemove superflous include.
Markus Armbruster [Thu, 8 Jan 2004 10:11:38 +0000 (10:11 +0000)]
Remove superflous include.

20 years ago(ffs): Unused, remove.
Markus Armbruster [Thu, 8 Jan 2004 10:10:19 +0000 (10:10 +0000)]
(ffs): Unused, remove.

20 years ago(login): Fix reading of country name and, if we lack getpass(),
Markus Armbruster [Thu, 8 Jan 2004 05:57:38 +0000 (05:57 +0000)]
(login): Fix reading of country name and, if we lack getpass(),
password.  Used to strip \r from country name (superflous), and not to
strip \n from password (required).

20 years agoFix previous rev.
Markus Armbruster [Tue, 6 Jan 2004 20:19:37 +0000 (20:19 +0000)]
Fix previous rev.

20 years ago(wrauth): Emit example `nowhereman@nowhere.land.edu' commented out.
Markus Armbruster [Tue, 6 Jan 2004 20:18:46 +0000 (20:18 +0000)]
(wrauth): Emit example `nowhereman@nowhere.land.edu' commented out.
nowhere.land.edu doesn't exist right now, but it might pop up any
time.

20 years ago(info): Use ANSI strerror() instead of non-portable sys_errlist[].
Markus Armbruster [Tue, 6 Jan 2004 20:08:53 +0000 (20:08 +0000)]
(info): Use ANSI strerror() instead of non-portable sys_errlist[].

20 years ago(logerror): Remove unused cruft.
Markus Armbruster [Tue, 6 Jan 2004 20:07:03 +0000 (20:07 +0000)]
(logerror): Remove unused cruft.

20 years agoFix title.
Markus Armbruster [Thu, 18 Dec 2003 09:17:07 +0000 (09:17 +0000)]
Fix title.