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);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to