From patchwork Thu Jan 24 18:12:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Lance Taylor X-Patchwork-Id: 215465 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 5F9B32C009C for ; Fri, 25 Jan 2013 05:13:11 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1359655991; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: From:To:Subject:Date:Message-ID:User-Agent:MIME-Version: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=etcjgyY lzkwihSBjbAj6yfNj1sg=; b=y0eCgEOUiJGEpXK1hW26nLr8RfCcEyIPi44xp1q Wdv5rwT/Ei9+sAiIjxyNQxqHnbBgq+tRfsBSgjp/6DsLcYyh44bZMzimL5wiqj3T yGnOVthpY8j2F+6eV3RQ3mE4K6QRsfgfeE9q3HiWC9yyhrCL00m8hrRf9feaFyof /2mI= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:X-Google-DKIM-Signature:X-Received:Received:From:To:Subject:Date:Message-ID:User-Agent:MIME-Version:Content-Type:X-Gm-Message-State:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=xLoiEB740QgYC+IEXl0lLfQD5tWhxUFMtToDWr07ftu+DadRe+QsbhGZ1Ce1os teP1Oi454qIyUA5eTlxnFuzGYS/AeT5+JYKmz7UF1ciq26RvZrCj225yePLoVzlT rlyppMVc/Ef05IwfRG3D5kf40JR75wYKophHV5had+K6s=; Received: (qmail 1794 invoked by alias); 24 Jan 2013 18:12:44 -0000 Received: (qmail 1777 invoked by uid 22791); 24 Jan 2013 18:12:41 -0000 X-SWARE-Spam-Status: No, hits=-5.2 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, KHOP_RCVD_TRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE, RP_MATCHES_RCVD, TW_CB, T_TVD_MIME_NO_HEADERS X-Spam-Check-By: sourceware.org Received: from mail-pa0-f41.google.com (HELO mail-pa0-f41.google.com) (209.85.220.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 24 Jan 2013 18:12:35 +0000 Received: by mail-pa0-f41.google.com with SMTP id bj3so5654799pad.14 for ; Thu, 24 Jan 2013 10:12:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:subject:date:message-id:user-agent:mime-version :content-type:x-gm-message-state; bh=dtzZfrizUfA/brETglqWgYVN8RWhDzO0eRtJd4buUtw=; b=C5+qrUIOuuI7DK/plZSVRSQTnLQ4riIgrVVqnDFss4X8GodgXx7Yyq3jzAYqI1XZLJ KFs8Mz3dlhfVskIX9Or+GWhpvbJy7qj8zSIM7FP4TzSsdo+zLEoYHxsKviLjcMZhFLtE AO+UUhSHbGHW5DQXIFy718vQqtaud4bz7S+k2wvBxPEL+Wtpq3Fng8pQLI705BcRMyuK FwlXd8hrwzJt+9NSbmtzsUFKHN0yIWIp4jxGAFSq8QDQE2bxn6TOSlOzk+DXICkMT9Ff EjGJXf6X2zT8JmjruaklJMTFMJRWL2/pSaGm5mBcy4gHug+dCbfKI74lw6uzTqOHQnzB OKhA== X-Received: by 10.66.52.102 with SMTP id s6mr6970488pao.6.1359051155153; Thu, 24 Jan 2013 10:12:35 -0800 (PST) Received: from iant-glaptop.google.com ([172.19.253.223]) by mx.google.com with ESMTPS id gl5sm15265725pbc.51.2013.01.24.10.12.33 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 24 Jan 2013 10:12:34 -0800 (PST) From: Ian Lance Taylor To: gcc-patches@gcc.gnu.org, gofrontend-dev@googlegroups.com Subject: libgo patch committed: Fix typos Date: Thu, 24 Jan 2013 10:12:31 -0800 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 X-Gm-Message-State: ALoCoQmXzNP25q6U1p1U78ACozuybwdsSIKbvtB0oNanfmM9D4omFG+kagq+9cb6lS4Ct4ohyuBly+1T0L4M/Xlvy4vZ33J2NXM0049A4zg88GeV4ve/2EnptsR9O5xIP5/+I4p7eVmMURNtaeDb6v4e+OKrMf+8B9EzKcONS9zoZsdC0bAatPblJogVolxeF8YhcHNacjlb 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 I've committed this patch from minux to libgo to fix some typos in code that is only used on non-GNU/Linux systems: https://codereview.appspot.com/7158043 Bootstrapped on x86_64-unknown-gnu-linux, although that proves little. Committed to mainline. Ian diff -r cbf555d07453 libgo/Makefile.am --- a/libgo/Makefile.am Wed Jan 16 17:46:39 2013 -0800 +++ b/libgo/Makefile.am Thu Jan 24 10:10:28 2013 -0800 @@ -840,13 +840,13 @@ go_os_stat_file = go/os/stat_atim.go else if LIBGO_IS_DARWIN -go_os_stat_file = go/os/stat_atimspec.go +go_os_stat_file = go/os/stat_atimespec.go else if LIBGO_IS_FREEBSD -go_os_stat_file = go/os/stat_atimspec.go +go_os_stat_file = go/os/stat_atimespec.go else if LIBGO_IS_NETBSD -go_os_stat_file = go/os/stat_atimspec.go +go_os_stat_file = go/os/stat_atimespec.go else go_os_stat_file = go/os/stat.go endif diff -r cbf555d07453 libgo/go/os/stat_atimespec.go --- a/libgo/go/os/stat_atimespec.go Wed Jan 16 17:46:39 2013 -0800 +++ b/libgo/go/os/stat_atimespec.go Thu Jan 24 10:10:28 2013 -0800 @@ -19,7 +19,7 @@ fs := &fileStat{ name: basename(name), size: int64(st.Size), - modTime: timespecToTime(st.Mtimspec), + modTime: timespecToTime(st.Mtimespec), sys: st, } fs.mode = FileMode(st.Mode & 0777) @@ -57,5 +57,5 @@ // For testing. func atime(fi FileInfo) time.Time { - return timespecToTime(fi.Sys().(*syscall.Stat_t).Atimspec) + return timespecToTime(fi.Sys().(*syscall.Stat_t).Atimespec) }