Author: jilles
Date: Fri May 22 14:46:23 2020
New Revision: 361384
URL: https://svnweb.freebsd.org/changeset/base/361384

Log:
  sh: Remove a comment that was obsoleted by r358152
  
  Since r358152, the read builtin has used a buffer.
  
  Also, remove a space at the end of the line in a comment.
  
  No functional change is intended.

Modified:
  head/bin/sh/miscbltin.c

Modified: head/bin/sh/miscbltin.c
==============================================================================
--- head/bin/sh/miscbltin.c     Fri May 22 13:27:02 2020        (r361383)
+++ head/bin/sh/miscbltin.c     Fri May 22 14:46:23 2020        (r361384)
@@ -124,7 +124,7 @@ fdctx_destroy(struct fdctx *fdc)
         * Reposition the file offset.  Here is the layout of buf:
         *
         *     | off
-        *     v 
+        *     v
         * |*****************|-------|
         * buf               ep   buf+buflen
         *     |<- residue ->|
@@ -142,8 +142,6 @@ fdctx_destroy(struct fdctx *fdc)
 /*
  * The read builtin.  The -r option causes backslashes to be treated like
  * ordinary characters.
- *
- * This uses unbuffered input, which may be avoidable in some cases.
  *
  * Note that if IFS=' :' then read x y should work so that:
  * 'a b'       x='a', y='b'
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to