From patchwork Wed Sep 18 19:50:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Kreimer X-Patchwork-Id: 1986967 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=aH6ADoVA; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4X88Rn31zbz1y2j for ; Thu, 19 Sep 2024 05:51:48 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AAF48385B503 for ; Wed, 18 Sep 2024 19:51:46 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by sourceware.org (Postfix) with ESMTPS id 5828A3858C78 for ; Wed, 18 Sep 2024 19:51:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5828A3858C78 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5828A3858C78 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::12e ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1726689088; cv=none; b=hmY2rp6yx1/KvlCXVneMm29yJJ2MYFyLuG0urdKTS4rwo2J8WkmbGLzKmokFeztcMFRLYZ2NPHmvW4ME0RnDGMGe8apgNCzvmtFg9L2mqH11VZlCPJgtClbezE9FJnSiRe1qTt2WGNUUudeBv453Ffiijf7Rp0+9aVAzLUbMWa0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1726689088; c=relaxed/simple; bh=j3cLI++gSv6YVvsgzm9jRMo2oBx5As1yRCRQgEAd4LU=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=KJ3t3sa6qwtKrpoYrsoqohGNOLvkOmH/nNJBfkKecvI2+mj6DgHpInNTyWwDSg/TkqWijTODzLznrlxnhuqXM3IuMORSjWDIiSGL+DnGw+VUeAiV4oIa4QFm2BA5XEj2WOHh6NiK5B9cgN8i5ezgnJy5UJK3qyfB2Q+UUk/5wv0= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-535dc4ec181so58927e87.3 for ; Wed, 18 Sep 2024 12:51:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726689083; x=1727293883; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=DHHPs99hnbr4mxtUPPFhUhMyZFuVcMlrpgHrk6FMak8=; b=aH6ADoVAyoz7UbDZ4U1wxDPHF06RDBgLsMQm1HvCgVPrMGaY1qJpb3ep9a10fJbziL IhbnZiRHyeXYB60iIYVsp8UKG6xULVIaZ/18EnIuYDW+sJqq9j6HfRWDea++jrXoat4f J5NpHpphWj8bFt6T3siSEIja+ne6sNL04oThHhu1QNmri08R685MM3qvRMozc7olX3zI zRD8PAshlzSjuL+F/3fy1cIbxqcmusmtpHYTsd0ARoUr+AfbZn6ILbu9ZtoQma8FAQvW Ti96I57D5ufS/9aQ4U7UqbaibCjZSR5x6Aav+I8j1QqZjbWtN+MbpGCo6peXLgpQMrMh NTMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726689083; x=1727293883; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DHHPs99hnbr4mxtUPPFhUhMyZFuVcMlrpgHrk6FMak8=; b=kdcw7P4sAHHUqhV1ejZFaYndmIiZeTvNiwGOEdTSbeQT1NDcvaLObPA+3+5URfKqax Ziz0CpDC8uP8gVUdXVR9W0uq3U1sWj4dczIuqm4Wo3d6xE4F6U0slWkmL1qexeWrdVyQ JAKpQ+l8epDYEMajJlRUz/altTz3D9xJ0ZBO+PCTLfzuLA/ibRYvgOOduZK+rsNiFp8m LeobYzCQI3of8opXk/ILJ/WE9z9xkt3XW3CjbOTsUwv2j5lK/iHY7njrRNf6wOE1hDUD 3Uw7a9J/B32BSMTf/n+I/wrJtk8BJlfI+GxoEifsZvbfE93kZwJkuRoiIH6e+SIh6BoM K02w== X-Gm-Message-State: AOJu0YweQ/0d1rQVsu3/7x3FTqoPe3xgptXLpdJWTh9SM4NBTtXUVw1D ggZjuNR3SCzRnKTTkTUs4qzqkaMQaLYmIUmcw5MGc6h9XHGlcsGGpVxePITJ X-Google-Smtp-Source: AGHT+IHznYSTmvOEct9amJLyc2nz+39l28+I/9EexSsMBo3k/IyXpgR7k+3pSqz86dFmzPEIwZGdng== X-Received: by 2002:a05:6512:1154:b0:533:901:e441 with SMTP id 2adb3069b0e04-53678fa9fcbmr13316529e87.10.1726689082649; Wed, 18 Sep 2024 12:51:22 -0700 (PDT) Received: from void.void ([37.46.46.21]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9061096a3fsm634887466b.15.2024.09.18.12.51.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Sep 2024 12:51:22 -0700 (PDT) From: Andrew Kreimer To: gcc-patches@gcc.gnu.org Cc: Andrew Kreimer Subject: [PATCH] libcody: Fix typos Date: Wed, 18 Sep 2024 22:50:56 +0300 Message-Id: <20240918195056.11485-1-algonell@gmail.com> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org Fix typos in comments. Signed-off-by: Andrew Kreimer --- libcody/README.md | 2 +- libcody/cody.hh | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libcody/README.md b/libcody/README.md index a95085eac7a..4530db95d28 100644 --- a/libcody/README.md +++ b/libcody/README.md @@ -181,7 +181,7 @@ omitted the value 0 is implied. The following flags are available: * `1<<0`, `NameOnly`: The request is for the name only, and not the CMI contents. -The `NameOnly` flag may be provded in a handshake response, and +The `NameOnly` flag may be provided in a handshake response, and indicates that the server is interested in requests only for their implied dependency information. It may be provided on a request to indicate that only the CMI name is required, not its contents (for diff --git a/libcody/cody.hh b/libcody/cody.hh index 789ce9e70b7..5473b3fe3c1 100644 --- a/libcody/cody.hh +++ b/libcody/cody.hh @@ -60,7 +60,7 @@ class MessageBuffer { std::vector buffer; ///< buffer holding the message size_t lastBol = 0; ///< location of the most recent Beginning Of - ///< Line, or position we've readed when writing + ///< Line, or position we've read when writing public: MessageBuffer () = default; @@ -382,7 +382,7 @@ private: Server *server; ///< Directly connected server }; bool is_direct = false; ///< Discriminator - bool is_connected = false; /// Connection handshake succesful + bool is_connected = false; /// Connection handshake successful private: Client (); @@ -448,8 +448,8 @@ public: public: /// - /// Perform connection handshake. All othe requests will result in - /// errors, until handshake is succesful. + /// Perform connection handshake. All other requests will result in + /// errors, until handshake is successful. /// @param agent compiler identification /// @param ident compilation identifiation (maybe nullptr) /// @param alen length of agent string, if known @@ -507,7 +507,7 @@ public: public: /// Successful compilation of a module interface, partition or - /// header-unit. Must have been preceeded by a ModuleExport + /// header-unit. Must have been preceded by a ModuleExport /// request. /// @param str module or header-unit /// @param len name length, if known @@ -698,7 +698,7 @@ public: public: /// Process requests from a directly-connected client. This is a /// small wrapper around ProcessRequests, with some buffer swapping - /// for communication. It is expected that such processessing is + /// for communication. It is expected that such processing is /// immediate. /// @param from message block from client /// @param to message block to client @@ -756,7 +756,7 @@ public: return write.Write (fd.to); } /// Initialize for writing a message block. All responses to the - /// incomping message block must be complete Enters WRITING state. + /// incoming message block must be complete Enters WRITING state. void PrepareToWrite () { write.PrepareToWrite ();