chiark / gitweb /
def: add new constant LONG_LINE_MAX
authorLennart Poettering <lennart@poettering.net>
Fri, 22 Sep 2017 18:23:58 +0000 (20:23 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 22 Sep 2017 18:23:58 +0000 (20:23 +0200)
commitae8534f9ad3030bbbff992c74b48428d449c86e3
treea45db1d15f34aec44c5ef8efb888068dd1ad5035
parente269048bf8b638a5fa8451fdfae104d353a208be
def: add new constant LONG_LINE_MAX

LONG_LINE_MAX is much like LINE_MAX, but longer.

As it turns out LINE_MAX at 4096 is too short for many usecases. Since
the general concept of having a common maximum line length limit makes
sense let's add our own, and make it larger (1MB for now).
src/basic/def.h