summaryrefslogtreecommitdiff
path: root/bin/sh
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2020-05-22 14:46:23 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2020-05-22 14:46:23 +0000
commit40b12a0b780ce34d0872a62aff8c12ffdc52b75b (patch)
treebe09ceced370130f3016beb9f8d8418a4eef7163 /bin/sh
parent2c13efdf1c3a8906a6b882923a071d9100ec1d32 (diff)
downloadsrc-test-40b12a0b780ce34d0872a62aff8c12ffdc52b75b.tar.gz
src-test-40b12a0b780ce34d0872a62aff8c12ffdc52b75b.zip
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.
Notes
Notes: svn path=/head/; revision=361384
Diffstat (limited to 'bin/sh')
-rw-r--r--bin/sh/miscbltin.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/sh/miscbltin.c b/bin/sh/miscbltin.c
index 8424f3c6852c8..faccfa92d2213 100644
--- a/bin/sh/miscbltin.c
+++ b/bin/sh/miscbltin.c
@@ -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 ->|
@@ -143,8 +143,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'
* ' a b ' x='a', y='b'