Author: pstef Date: Mon Aug 3 06:54:04 2020 New Revision: 363788 URL: https://svnweb.freebsd.org/changeset/base/363788
Log: MFC 363621: sh(1): print a newline when ^D quits sh Modified: stable/12/bin/sh/main.c Directory Properties: stable/12/ (props changed) Modified: stable/12/bin/sh/main.c ============================================================================== --- stable/12/bin/sh/main.c Mon Aug 3 06:10:13 2020 (r363787) +++ stable/12/bin/sh/main.c Mon Aug 3 06:54:04 2020 (r363788) @@ -241,6 +241,10 @@ cmdloop(int top) } } popstackmark(&smark); + if (top && iflag) { + out2c('\n'); + flushout(out2); + } } _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"