Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 2004 21:20:35 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 63949 for review
Message-ID:  <200410292120.i9TLKZ9k000165@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=63949

Change 63949 by jhb@jhb_slimer on 2004/10/29 21:19:55

	Force whitespaces out before doing a return or newline.  This should
	fix the fact that the extra printf I was doing to clear the
	--More-- prompt wasn't working.

Affected files ...

.. //depot/projects/smpng/sys/ddb/db_output.c#13 edit

Differences ...

==== //depot/projects/smpng/sys/ddb/db_output.c#13 (text+ko) ====

@@ -144,6 +144,7 @@
 	}
 	else if (c == '\n') {
 	    /* Newline */
+	    db_force_whitespace();
 	    cnputc(c);
 	    db_output_position = 0;
 	    db_last_non_space = 0;
@@ -158,6 +159,7 @@
 	}
 	else if (c == '\r') {
 	    /* Return */
+	    db_force_whitespace();
 	    cnputc(c);
 	    db_output_position = 0;
 	    db_last_non_space = 0;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410292120.i9TLKZ9k000165>