1
Fork 0
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:
Karl Heuer 1996-02-21 20:53:01 +00:00
parent f3bfa02569
commit dc3c30fec0

View file

@ -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);
}