Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Dec 2009 20:21:35 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/bin/sh jobs.c main.c main.h src/tools/regression/bin/sh/builtins fc2.0
Message-ID:  <200912252025.nBPKPJuY049918@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jilles      2009-12-25 20:21:35 UTC

  FreeBSD src repository

  Modified files:
    bin/sh               jobs.c main.c main.h 
  Added files:
    tools/regression/bin/sh/builtins fc2.0 
  Log:
  SVN rev 200998 on 2009-12-25 20:21:35Z by jilles
  
  sh: Do not run callers' exception handlers in subshells.
  
  Reset the exception handler in the child to main's.
  
  This avoids inappropriate double cleanups or shell duplication when the
  exception is caught, such as 'fc' and future 'command eval' and 'command .'.
  
  Revision  Changes    Path
  1.74      +1 -0      src/bin/sh/jobs.c
  1.35      +3 -3      src/bin/sh/main.c
  1.10      +1 -0      src/bin/sh/main.h
  1.1       +34 -0     src/tools/regression/bin/sh/builtins/fc2.0 (new)



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