svn commit: r216220 - head/bin/sh
Jilles Tjoelker
jilles at FreeBSD.org
Sun Dec 5 22:56:46 UTC 2010
Author: jilles
Date: Sun Dec 5 22:56:46 2010
New Revision: 216220
URL: http://svn.freebsd.org/changeset/base/216220
Log:
sh: POSIX says there should not be a space between Done and (exitstatus).
(On the other hand, (core dumped) does need a space and so does [1] +.)
Modified:
head/bin/sh/jobs.c
Modified: head/bin/sh/jobs.c
==============================================================================
--- head/bin/sh/jobs.c Sun Dec 5 22:47:08 2010 (r216219)
+++ head/bin/sh/jobs.c Sun Dec 5 22:56:46 2010 (r216220)
@@ -354,7 +354,7 @@ showjob(struct job *jp, int mode)
if (WEXITSTATUS(ps->status) == 0)
strcpy(statestr, "Done");
else
- fmtstr(statestr, 64, "Done (%d)",
+ fmtstr(statestr, 64, "Done(%d)",
WEXITSTATUS(ps->status));
} else {
i = WTERMSIG(ps->status);
More information about the svn-src-head
mailing list