Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2012 21:19:50 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r233012 - head/lib/libc/compat-43
Message-ID:  <201203152119.q2FLJpUR083806@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Thu Mar 15 21:19:50 2012
New Revision: 233012
URL: http://svn.freebsd.org/changeset/base/233012

Log:
  Remove non-existing error condition.
  
  Just like kill(2), it is impossible for killpg(0, ...) to fail with
  ESRCH, as a process always has a process group.
  
  Discussed on:	arch@
  MFC after:	1 week

Modified:
  head/lib/libc/compat-43/killpg.2

Modified: head/lib/libc/compat-43/killpg.2
==============================================================================
--- head/lib/libc/compat-43/killpg.2	Thu Mar 15 19:36:52 2012	(r233011)
+++ head/lib/libc/compat-43/killpg.2	Thu Mar 15 21:19:50 2012	(r233012)
@@ -28,7 +28,7 @@
 .\"     @(#)killpg.2	8.1 (Berkeley) 6/2/93
 .\" $FreeBSD$
 .\"
-.Dd October 10, 2006
+.Dd March 15, 2012
 .Dt KILLPG 2
 .Os
 .Sh NAME
@@ -79,9 +79,6 @@ is not a valid signal number.
 .It Bq Er ESRCH
 No process can be found in the process group specified by
 .Fa pgrp .
-.It Bq Er ESRCH
-The process group was given as 0
-but the sending process does not have a process group.
 .It Bq Er EPERM
 The sending process is not the super-user and one or more
 of the target processes has an effective user ID different from that



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