mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 14:30:50 -08:00
(main, both definitions): Print a newline for normal termination.
This commit is contained in:
parent
f3bfa02569
commit
dc3c30fec0
1 changed files with 4 additions and 1 deletions
|
|
@ -172,6 +172,7 @@ main (argc, argv)
|
|||
|
||||
rewind (out); /* re-read the output */
|
||||
str = fgets (string, BUFSIZ, out);
|
||||
printf ("\n");
|
||||
|
||||
/* Now, wait for an answer and print any messages. */
|
||||
|
||||
|
|
@ -325,7 +326,9 @@ main (argc, argv)
|
|||
msgrcv (s, msgp, BUFSIZ, getpid (), 0); /* wait for anything back */
|
||||
strcpy (buf, msgp->mtext);
|
||||
|
||||
printf ("\n%s\n", buf);
|
||||
printf ("\n");
|
||||
if (*buf)
|
||||
printf ("%s\n", buf);
|
||||
exit (0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue