Re: NMH mail package utility "inc" aborts before incorporating first new email into an NMH folder
"Andy Bradford" <[email protected]>
| Newsgroups | gmane.mail.nmh.devel |
|---|---|
| Message-ID | <[email protected]> |
Thus said Robert Elz on Sun, 16 Aug 2026 00:35:07 +0700: > What makes you think that is what it is doing? The "aborted" in > question I believe means it issues an error, and ceases processing, > not that it calls abort(3) which truly would be bad (that's useful > only for cases Well, the original poster (Howard) did state: > > inc: abortcpy: would overflow, aborting: 1024 "X-AVAS-Report: FREEM" > > Aborted And sbr/utils.c has this comment for abortcpy(): /* abortcpy copies the NUL-terminated string from non-NULL src to dest * if it, including its terminator fits in given size. Otherwise, * it abort(3)s after printing a message on stderr. So it does appear to be calling abort(3). In my case I was seeing a different error for lines that were too long because inc couldn't find the line terminator: https://lists.nongnu.org/archive/html/nmh-workers/2019-09/msg00007.html And to Philipp's credit, I mentioned the same thing (that inc should have better error handling): https://lists.nongnu.org/archive/html/nmh-workers/2019-09/msg00013.html Andy