Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jan 2011 22:10:18 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/bin/sh histedit.c
Message-ID:  <201101162210.p0GMAZMH049651@repoman.freebsd.org>

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

jilles      2011-01-16 22:10:18 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    bin/sh               histedit.c 
  Log:
  SVN rev 217485 on 2011-01-16 22:10:18Z by jilles
  
  MFC r216806: 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.
  (Note: not tested on stable/8 with clang.)
  
  Revision  Changes    Path
  1.31.2.7  +2 -1      src/bin/sh/histedit.c



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