]> git.pond.sub.org Git - empserver/commit
(ef_byname_from): New.
authorMarkus Armbruster <armbru@pond.sub.org>
Thu, 27 Oct 2005 21:33:17 +0000 (21:33 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 27 Oct 2005 21:33:17 +0000 (21:33 +0000)
commit2fc1e74a72df92098bb4cffb074862b29da97652
tree5669d79a8d5fd2de5296a3382606539433e8b6f0
parent2df98825e9e1f89ea5007c06348c75826d54ca1e
(ef_byname_from): New.
(set, mission, multifire, fuel, cons_choose, cede): Use it instead of
ef_byname().  Remove the hacks to map unwanted results to wanted
results.  The hacks in set() were broken: bad input made the code cast
arbitrary items to union trdgenstr, with potentially disastrous
consequences.  Closes #906483 and #906486.

(set): Less cryptic prompt and diagnostics.
include/file.h
src/lib/commands/cede.c
src/lib/commands/cons.c
src/lib/commands/fuel.c
src/lib/commands/mfir.c
src/lib/commands/miss.c
src/lib/commands/set.c
src/lib/common/file.c