Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/bin/sh

Module Name:    src
Committed By:   kre
Date:           Sat Jun 15 05:18:48 UTC 2024

Modified Files:
        src/bin/sh: eval.c jobs.c jobs.h

Log Message:
POSIX.1-2024 requires that when an async (background) job is started
at the top level (ie: not in any kind of subshell environment) of an
interactive shell, that the shell print the job number assigned, and
the process id of the lead (or only) process in the job, in the form:

        [JN] pid

Make that happen.   (Other shells have been doing this for ages).

To generate a diff of this commit:
cvs rdiff -u -r1.191 -r1.192 src/bin/sh/eval.c
cvs rdiff -u -r1.119 -r1.120 src/bin/sh/jobs.c
cvs rdiff -u -r1.26 -r1.27 src/bin/sh/jobs.h

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

Home | Main Index | Thread Index | Old Index