Re: BUG + Fix

"John E. Davis" <[email protected]> Mon, 9 Apr 2012 13:18:19 -0400
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
M G Berberich <[email protected]> wrote:
> sometimes rline_update in misc.c gets called with prompt = 0 (if slrn
> is startet from konsole via the profile-mechanism) and than slrn
> segfaults.

This has been fixed in the pre1.0 series since last summer.  The
latest version is pre1.0.0-39, which is available from
<http://www.jedsoft.org/snapshots/>.  Also
<http://slrn.sourceforge.net/download.html> was recently updated to
reflect the change from svn to git.  The changes since pre1.0.0-26,
which had that bug that you wrote about are appended below.  The
multipart mime support mentioned in the changes is described a bit on
news.software.readers in Message-ID
<[email protected]>.

Thanks, --John

27. src/misc.c: The rline_update callback function was not handling
    the case where no prompt (prompt==NULL) was associated with the
    readline object.  (M. G. Berberich)
28. src/vfile.c: Add explicit void* to char* cast for better C++
    compliance.
29. doc/tm/: Updated the Makefile and rebuilt the docs
30. src/interp.c, art.c: Added support for an optional argument to the
    replace_article function that dictates if the article should be
    mime processed.
31. src/*: Updated copyright year and trimmed extra whitespace.
32. macros/mime.sl: Added initial support for multipart mime messages.
    See macros/mime.sl for additional information.
33. macros/mime.sl;src/*.c: More support for processing multipart mime
    messages, including the ability to save/view the various parts of
    a message.
34. src/misc.c:generic_read_input: If point is negative, regard it as
    an offset from the end of the string.  Changes were also made to
    the callers of this function accordingly.
35. macros/mailcap.sl: If an executable does not exist on the search
    path, skip the mailcap entry.
36. src/interp.c: Added "replace_cooked_article", which is like
    to "replace_article", but does not affect the raw lines.  mime.sl
    was updated to use this.
37. macros/mime.sl: Added an option to the browse menu that permits
    the full raw article to be viewed.
38. macros/mime.sl: Added a more informative message when a mime
    article is encountered.
39. src/mime.c: A couple of strncmp calls used the wrong length (Patched
    by Thomas Wiegner).

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2