- add a config-time range check for IPC_SYSLOG_BUFFER_SIZE

The upper-bound doesn't look like it is working since it accepts LONG_MAX as input. I suspect that this is an lxdialog feature or something like that ;)
This commit is contained in:
Bernhard Reutner-Fischer 2007-06-07 13:22:56 +00:00
parent e16e6e79e4
commit bb4b9f1fc9

View File

@ -59,6 +59,7 @@ config FEATURE_IPC_SYSLOG
config FEATURE_IPC_SYSLOG_BUFFER_SIZE config FEATURE_IPC_SYSLOG_BUFFER_SIZE
int " Circular buffer size in Kbytes (minimum 4KB)" int " Circular buffer size in Kbytes (minimum 4KB)"
default 16 default 16
range 4 2147483647
depends on FEATURE_IPC_SYSLOG depends on FEATURE_IPC_SYSLOG
help help
This option sets the size of the circular buffer This option sets the size of the circular buffer