From patchwork Mon Sep 28 22:38:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Marchi X-Patchwork-Id: 8876 Received: (qmail 52864 invoked by alias); 28 Sep 2015 22:38:18 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 52850 invoked by uid 89); 28 Sep 2015 22:38:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, SPF_PASS autolearn=ham version=3.3.2 X-HELO: usevmg20.ericsson.net Received: from usevmg20.ericsson.net (HELO usevmg20.ericsson.net) (198.24.6.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 28 Sep 2015 22:38:16 +0000 Received: from EUSAAHC008.ericsson.se (Unknown_Domain [147.117.188.96]) by usevmg20.ericsson.net (Symantec Mail Security) with SMTP id E4.BB.32596.8E169065; Mon, 28 Sep 2015 17:51:04 +0200 (CEST) Received: from elxcz23q12-y4.dyn.mo.ca.am.ericsson.se (147.117.188.8) by smtps-am.internal.ericsson.com (147.117.188.96) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 28 Sep 2015 18:38:13 -0400 From: Simon Marchi To: CC: Simon Marchi Subject: [PATCH obv] cli-script.c: Fix read_next_line's comment Date: Mon, 28 Sep 2015 18:38:10 -0400 Message-ID: <1443479890-6083-1-git-send-email-simon.marchi@ericsson.com> MIME-Version: 1.0 X-IsSubscribed: yes It seems obvious to me that stdout should in fact be stdin. gdb/ChangeLog: * cli/cli-script.c (read_next_line): Fix stdout -> stdout in comment. --- gdb/ChangeLog | 5 +++++ gdb/cli/cli-script.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3d2c478..54d6054 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-09-28 Simon Marchi + + * cli/cli-script.c (read_next_line): Fix stdout -> stdout in + comment. + 2015-09-28 Doug Evans * MAINTAINERS: Add Iain Buclaw as D language maintainer. diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c index 6a3c068..4d35db9 100644 --- a/gdb/cli/cli-script.c +++ b/gdb/cli/cli-script.c @@ -924,9 +924,9 @@ realloc_body_list (struct command_line *command, int new_length) command->body_count = new_length; } -/* Read next line from stdout. Passed to read_command_line_1 and +/* Read next line from stdin. Passed to read_command_line_1 and recurse_read_control_structure whenever we need to read commands - from stdout. */ + from stdin. */ static char * read_next_line (void)