From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8427 invoked by alias); 11 Aug 2007 20:09:26 -0000 Received: (qmail 8256 invoked by uid 22791); 11 Aug 2007 20:09:25 -0000 X-Spam-Check-By: sourceware.org Received: from a.mail.sonic.net (HELO a.mail.sonic.net) (64.142.16.245) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 11 Aug 2007 20:09:23 +0000 Received: from webmail.sonic.net (b.webmail.sonic.net [64.142.100.148]) by a.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id l7BK9JaX030940; Sat, 11 Aug 2007 13:09:19 -0700 Received: from 12.7.175.2 (SquirrelMail authenticated user msnyder) by webmail.sonic.net with HTTP; Sat, 11 Aug 2007 13:09:19 -0700 (PDT) Message-ID: <6581.12.7.175.2.1186862959.squirrel@webmail.sonic.net> In-Reply-To: References: <24702.12.7.175.2.1186778718.squirrel@webmail.sonic.net> Date: Sat, 11 Aug 2007 20:09:00 -0000 Subject: Re: [OB] whitespace cleanup, completer.c From: msnyder@sonic.net To: "Eli Zaretskii" Cc: msnyder@sonic.net, gdb-patches@sourceware.org User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: multipart/mixed;boundary="----=_20070811130919_36914" Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-08/txt/msg00242.txt.bz2 ------=_20070811130919_36914 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-length: 309 >> Date: Fri, 10 Aug 2007 13:45:18 -0700 (PDT) >> From: msnyder@sonic.net >> >> Spaces, caps, that sort of thing... > > Thanks. > >> ! /* Insure that readline does the right thing > ^^^^^^ > Actually, this should be "Ensure". Okey dokey (four times, no less!) Committed as attached. ------=_20070811130919_36914 Content-Type: text/plain; name="ensure.txt" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="ensure.txt" Content-length: 3037 2007-08-11 Michael Snyder * completer.c: Spelling fix in comments. Index: completer.c =================================================================== RCS file: /cvs/src/src/gdb/completer.c,v retrieving revision 1.19 diff -p -r1.19 completer.c *** completer.c 10 Aug 2007 20:35:09 -0000 1.19 --- completer.c 11 Aug 2007 20:07:29 -0000 *************** filename_completer (char *text, char *wo *** 182,188 **** /* There is no way to do this just long enough to affect quote inserting without also affecting the next completion. This should be fixed in readline. FIXME. */ ! /* Insure that readline does the right thing with respect to inserting quotes. */ rl_completer_word_break_characters = ""; #endif --- 182,188 ---- /* There is no way to do this just long enough to affect quote inserting without also affecting the next completion. This should be fixed in readline. FIXME. */ ! /* Ensure that readline does the right thing with respect to inserting quotes. */ rl_completer_word_break_characters = ""; #endif *************** complete_line (const char *text, char *l *** 461,467 **** { list = complete_on_cmdlist (cmdlist, p, word); } ! /* Insure that readline does the right thing with respect to inserting quotes. */ rl_completer_word_break_characters = gdb_completer_command_word_break_characters; --- 461,467 ---- { list = complete_on_cmdlist (cmdlist, p, word); } ! /* Ensure that readline does the right thing with respect to inserting quotes. */ rl_completer_word_break_characters = gdb_completer_command_word_break_characters; *************** complete_line (const char *text, char *l *** 485,491 **** a subcommand (e.g. "info "). */ list = complete_on_cmdlist (*c->prefixlist, p, word); ! /* Insure that readline does the right thing with respect to inserting quotes. */ rl_completer_word_break_characters = gdb_completer_command_word_break_characters; --- 485,491 ---- a subcommand (e.g. "info "). */ list = complete_on_cmdlist (*c->prefixlist, p, word); ! /* Ensure that readline does the right thing with respect to inserting quotes. */ rl_completer_word_break_characters = gdb_completer_command_word_break_characters; *************** complete_line (const char *text, char *l *** 551,557 **** list = complete_on_cmdlist (result_list, q, word); ! /* Insure that readline does the right thing with respect to inserting quotes. */ rl_completer_word_break_characters = gdb_completer_command_word_break_characters; --- 551,557 ---- list = complete_on_cmdlist (result_list, q, word); ! /* Ensure that readline does the right thing with respect to inserting quotes. */ rl_completer_word_break_characters = gdb_completer_command_word_break_characters; ------=_20070811130919_36914--