pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/editors/emacs20

Module Name:    pkgsrc
Committed By:   dholland
Date:           Thu Dec  1 05:07:23 UTC 2011

Modified Files:
        pkgsrc/editors/emacs20: distinfo
        pkgsrc/editors/emacs20/patches: patch-bm

Log Message:
Add __asm __volatile("":::"memory") at a critical point in alloc.c.

gcc thinks it knows the semantics of malloc and so it thinks it can
optimize out the manipulation of __malloc_hook; however, doing so causes
the subsequent malloc call to come back to itself, leading to an infinite
recursion and SIGSEGV in temacs.

This fixes the remaining part of PR 45669.

Someone(TM) should check if this issue affects other Emacs versions
and/or XEmacs.

To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/editors/emacs20/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/editors/emacs20/patches/patch-bm

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index