pkgsrc-Bugs archive

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

PR/45669 CVS commit: pkgsrc/editors/emacs20



The following reply was made to PR pkg/45669; it has been noted by GNATS.

From: "David A. Holland" <dholland%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/45669 CVS commit: pkgsrc/editors/emacs20
Date: Thu, 1 Dec 2011 05:07:23 +0000

 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