Module Name:    src
Committed By:   martin
Date:           Sat Feb  3 14:31:38 UTC 2024

Modified Files:
        src/bin/sh [netbsd-10]: jobs.c

Log Message:
Pull up following revision(s) (requested by kre in ticket #577):

        bin/sh/jobs.c: revision 1.119

PR bin/57894

For jobs -p for a non-job-control job, avoid just printing 0 (as
there is no process group pid) and instead output what we used to,
the pid of one of the processes in the job (usually the right one!)


To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.117.2.1 src/bin/sh/jobs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to