Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Feb 2011 20:25:17 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/bin/sh jobs.c src/tools/regression/bin/sh/execution killed1.0
Message-ID:  <201102052026.p15KQHqv050157@repoman.freebsd.org>

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

jilles      2011-02-05 20:25:17 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    bin/sh               jobs.c 
  Added files:           (Branch: RELENG_8)
    tools/regression/bin/sh/execution killed1.0 
  Log:
  SVN rev 218337 on 2011-02-05 20:25:17Z by jilles
  
  MFC r217557: sh: Fix signal messages being sent to the wrong file sometimes.
  
  When a foreground job exits on a signal, a message is printed to stdout
  about this. The buffer was not flushed after this which could result in the
  message being written to the wrong file if the next command was a builtin
  and had stdout redirected.
  
  Example:
    sh -c 'kill -9 $$'; : > foo; echo FOO:; cat foo
  
  Revision   Changes    Path
  1.72.10.7  +1 -0      src/bin/sh/jobs.c
  1.1.2.2    +8 -0      src/tools/regression/bin/sh/execution/killed1.0 (new)



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