]> git.pond.sub.org Git - empserver/commit
(PRI_SMAINT, PRI_PMAINT, PRI_LMAINT, PRI_SBUILD, PRI_PBUILD,
authorMarkus Armbruster <armbru@pond.sub.org>
Thu, 19 Aug 2004 16:59:36 +0000 (16:59 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 19 Aug 2004 16:59:36 +0000 (16:59 +0000)
commit0ebb14c8bec4812cae1267123473fe4a0ec524ba
treedf7f88a96f9676ddb313664706428be28dded005
parentcff2deba4a87739cefb9df843e4d44cda6c8c6cd
(PRI_SMAINT, PRI_PMAINT, PRI_LMAINT, PRI_SBUILD, PRI_PBUILD,
PRI_LBUILD): Turn macros into enumeration constants.  Value
SCT_MAXDEF+1 was previously unused; use it.
(PRI_MAX): New; replacing the horrible SCT_MAXDEF+8.

(show_sect_build): Simply examine all sector types, don't skip the
first five.  The code ignores them just fine.

(show_sect_build, show_sect_stats, show_sect_capab): Don't try to show
sector types beyond SCT_MAXDEF.  The table has some empty extra slots,
for whatever reasons; no use examining them.
include/nat.h
src/lib/commands/add.c
src/lib/commands/budg.c
src/lib/subs/show.c
src/lib/update/main.c
src/util/files.c