cvs commit: src/bin/sh jobs.c

Maxim Konovalov maxim at FreeBSD.org
Wed Dec 14 09:26:30 PST 2005


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


More information about the cvs-src mailing list