Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 2020 14:46:24 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r361384 - head/bin/sh
Message-ID:  <202005221446.04MEkO7f033249@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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'



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