Subject: CVS commit: src/bin/sh
To: None <source-changes@NetBSD.org>
From: Todd Vierling <tv@netbsd.org>
List: source-changes
Date: 09/30/2005 18:57:55
Module Name: src
Committed By: tv
Date: Fri Sep 30 18:57:55 UTC 2005
Modified Files:
src/bin/sh: jobs.c
Log Message:
Make slightly more portable without extra conditionals needed:
- Use getpgrp() rather than getpgid(0).
(getpgrp() is already used elsewhere in this same file.)
- Use waitpid(-1, a, b) rather than wait3(a, b, NULL).
To generate a diff of this commit:
cvs rdiff -r1.63 -r1.64 src/bin/sh/jobs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.