Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2005 17:26:29 +0000 (UTC)
From:      Maxim Konovalov <maxim@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/bin/sh jobs.c
Message-ID:  <200512141726.jBEHQTEv079079@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
maxim       2005-12-14 17:26:29 UTC

  FreeBSD src repository

  Modified files:
    bin/sh               jobs.c 
  Log:
  o Now when SIG_IGN signal action for SIGCHLD reap zombies
  automatically it is possible wait4(2) returns -1 and sets
  errno = ECHILD if there were forked children.  A user can
  set such signal handler e.g. via ``trap "" 20'', see a PR
  for the test case.  Deal with this case and mark a job as
  JOBDONE.
  
  PR:             bin/90334
  Submitted by:   bde
  MFC after:      4 weeks
  
  Revision  Changes    Path
  1.70      +2 -0      src/bin/sh/jobs.c



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