]> granicus.if.org Git - mutt/commit
Convert $header_cache_pagesize to type DT_LNUM.
authorKevin McCarthy <kevin@8t8.us>
Thu, 27 Jun 2019 18:06:19 +0000 (11:06 -0700)
committerKevin McCarthy <kevin@8t8.us>
Thu, 27 Jun 2019 18:06:19 +0000 (11:06 -0700)
commit4c728278f5ceb6b9ecf6cec7cf637475e77b4089
tree4992b147f0d5f8bf8248b8f53cdf5db7ee365401
parent793e0fc2c88a168cd551a749fb3dcc6998691f7e
Convert $header_cache_pagesize to type DT_LNUM.

Prior to commit 4bc76c2f there was no LNUM type, and so the workaround
was to store it as a string, converting in the hcache_open_gdbm()
call.

This will not affect the user interface or config file, because DT_NUM
and DT_LNUM read in a string from the config file and convert to a
number.  Quotes are used for escaping style, not passed through to the
variable setter.

So essentially this simply moves the conversion to parse_set(), and
provides feedback for a non-numeric type immediately.
globals.h
hcache.c
init.h