From patchwork Sat Aug 6 09:53:48 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicola Pero X-Patchwork-Id: 108766 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 2E301B6F64 for ; Sat, 6 Aug 2011 19:54:07 +1000 (EST) Received: (qmail 31494 invoked by alias); 6 Aug 2011 09:54:06 -0000 Received: (qmail 31485 invoked by uid 22791); 6 Aug 2011 09:54:06 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 06 Aug 2011 09:53:52 +0000 Received: from eggs.gnu.org ([140.186.70.92]:60642) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1QpdZn-00059S-CA for gcc-patches@gnu.org; Sat, 06 Aug 2011 05:53:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QpdZm-0002Nc-1A for gcc-patches@gnu.org; Sat, 06 Aug 2011 05:53:51 -0400 Received: from smtp191.iad.emailsrvr.com ([207.97.245.191]:39632) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QpdZl-0002NY-TH for gcc-patches@gnu.org; Sat, 06 Aug 2011 05:53:49 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp39.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 8CF68983D9 for ; Sat, 6 Aug 2011 05:53:49 -0400 (EDT) Received: by smtp39.relay.iad1a.emailsrvr.com (Authenticated sender: nicola.pero-AT-meta-innovation.com) with ESMTPSA id 4A598983C3 for ; Sat, 6 Aug 2011 05:53:49 -0400 (EDT) From: Nicola Pero Subject: libobjc: Fix obvious typo in comment Date: Sat, 6 Aug 2011 10:53:48 +0100 Message-Id: <3ABD0A22-D8FD-49EB-BE68-E9EF3D06D23F@meta-innovation.com> To: gcc-patches@gnu.org Mime-Version: 1.0 (Apple Message framework v1084) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 207.97.245.191 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Fixes a typo in a comment in my last patch. Applied to trunk. Thanks Index: ChangeLog =================================================================== --- ChangeLog (revision 177505) +++ ChangeLog (working copy) @@ -1,5 +1,9 @@ 2011-08-06 Nicola Pero + * class.c (class_getSuperclass): Fixed typo in comment. + +2011-08-06 Nicola Pero + PR libobjc/49882 * class.c (class_getSuperclass): Return the superclass if the class is in construction. Index: class.c =================================================================== --- class.c (revision 177505) +++ class.c (working copy) @@ -925,7 +925,7 @@ /* Classes that are in construction are not resolved, and still have the class name (instead of a class pointer) in the - class_->superclass field. In that case we need to lookup the + class_->super_class field. In that case we need to lookup the superclass name to return the superclass. We can not resolve the class until it is registered. */ if (CLS_IS_IN_CONSTRUCTION (class_))