]> git.cworth.org Git - notmuch/commit
lib: add better diagnostics for over long filenames.
authorDavid Bremner <david@tethera.net>
Tue, 27 Dec 2022 17:08:47 +0000 (13:08 -0400)
committerDavid Bremner <david@tethera.net>
Mon, 20 Feb 2023 13:22:32 +0000 (09:22 -0400)
commit09f2ad8e853375930c63bca847f623bc722b9cc0
treec83851be016bd5ea542ac8b36f507b8068d5e83e
parent4e6c6c8aac7f581448df525abd09b85c08358dd3
lib: add better diagnostics for over long filenames.

Previously we just crashed with an internal error. With this change,
the caller can handle it better. Update notmuch-new so that it doesn't
crash with "unknown error code" because of this change.
lib/message.cc
lib/notmuch.h
notmuch-new.c
test/T050-new.sh