Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Dec 2010 19:39:51 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/bin/sh histedit.c
Message-ID:  <201012291940.oBTJeIXo053770@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

jilles      2010-12-29 19:39:51 UTC

  FreeBSD src repository

  Modified files:
    bin/sh               histedit.c 
  Log:
  SVN rev 216806 on 2010-12-29 19:39:51Z by jilles
  
  sh: Properly restore exception handler in fc.
  
  If SIGINT arrived at exactly the right moment (unlikely), an exception
  handler in a no longer active stack frame would be called.
  
  Because the old handler was not used in the normal path, clang thought it
  was a dead value and if an exception happened it would longjmp() to garbage.
  This caused builtins/fc1.0 to fail if histedit.c was compiled with clang.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.42      +2 -1      src/bin/sh/histedit.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012291940.oBTJeIXo053770>