From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31964 invoked by alias); 13 Mar 2013 10:51:23 -0000 Received: (qmail 31955 invoked by uid 22791); 13 Mar 2013 10:51:22 -0000 X-SWARE-Spam-Status: No, hits=-3.8 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,TW_CP X-Spam-Check-By: sourceware.org Received: from smtp1.uu.se (HELO smtp1.uu.se) (130.238.7.54) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 13 Mar 2013 10:51:17 +0000 X-Spam-Score: -3.835 Received: from pilspetsen.it.uu.se (pilspetsen.it.uu.se [130.238.18.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by bornea.its.uu.se (Postfix) with ESMTPS id 11D2B8825E; Wed, 13 Mar 2013 11:49:46 +0100 (CET) Received: (from mikpe@localhost) by pilspetsen.it.uu.se (8.14.5+Sun/8.14.5) id r2DAnafp029928; Wed, 13 Mar 2013 11:49:36 +0100 (MET) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20800.22976.774464.607006@pilspetsen.it.uu.se> Date: Wed, 13 Mar 2013 10:51:00 -0000 From: Mikael Pettersson To: Alexander Monakov Cc: Mikael Pettersson , Benjamin De Kosnik , gcc-patches@gcc.gnu.org Subject: Re: [wwwdocs] gcc-4.8/porting_to.html In-Reply-To: References: <20130313022916.0728c82e@oakwood> <20800.21519.527393.196910@pilspetsen.it.uu.se> Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2013-03/txt/msg00454.txt.bz2 Alexander Monakov writes: > > > On Wed, 13 Mar 2013, Mikael Pettersson wrote: > > > Benjamin De Kosnik writes: > > > > > > Hey! Here is the first pass at the 4.8 porting documentation. > > .. > > > + memset(p1, 0, sizeof(p1)); // error, use memcopy > > > > s/memcopy/memcpy/ > > It doesn't make sense. memcpy from NULL src pointer? I was only referring to the spelling of memcpy(), whether the examples make sense or not is another issue (I didn't read the text very carefully). /Mikael