Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2010 22:47:34 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/bin/kill kill.1 kill.c src/bin/sh Makefile builtins.def jobs.c sh.1 src/bin/sh/bltin bltin.h src/share/man/man1 builtin.1
Message-ID:  <201012212249.oBLMnFx7088958@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jilles      2010-12-21 22:47:34 UTC

  FreeBSD src repository

  Modified files:
    bin/kill             kill.1 kill.c 
    bin/sh               Makefile builtins.def jobs.c sh.1 
    bin/sh/bltin         bltin.h 
    share/man/man1       builtin.1 
  Log:
  SVN rev 216629 on 2010-12-21 22:47:34Z by jilles
  
  sh: Add kill builtin.
  
  This allows specifying a %job (which is equivalent to the corresponding
  process group).
  
  Additionally, it improves reliability of kill from sh in high-load
  situations and ensures "kill" finds the correct utility regardless of PATH,
  as required by POSIX (unless the undocumented %builtin mechanism is used).
  
  Side effect: fatal errors (any error other than kill(2) failure) now return
  exit status 2 instead of 1. (This is consistent with other sh builtins, but
  not in NetBSD.)
  
  Code size increases about 1K on i386.
  
  Obtained from:  NetBSD
  
  Revision  Changes    Path
  1.22      +1 -0      src/bin/kill/kill.1
  1.23      +32 -11    src/bin/kill/kill.c
  1.55      +2 -1      src/bin/sh/Makefile
  1.18      +5 -0      src/bin/sh/bltin/bltin.h
  1.21      +1 -0      src/bin/sh/builtins.def
  1.89      +8 -0      src/bin/sh/jobs.c
  1.153     +6 -1      src/bin/sh/sh.1
  1.35      +2 -2      src/share/man/man1/builtin.1



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